[ 20.821833][ T44] audit: type=1305 audit(1787913959.304:64): op=set audit_enabled=0 old=1 auid=4294967295 ses=4294967295 res=1 [ 20.821849][ T44] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 20.821851][ T44] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 44, name: kauditd [ 20.821853][ T44] preempt_count: 1, expected: 0 [ 20.821854][ T44] RCU nest depth: 0, expected: 0 [ 20.821855][ T44] locks held by kauditd/44: 4, last CPU#0: [ 20.821857][ T44] #0: ffffffffb5b6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 20.821869][ T44] #1: ffffffffb5b6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 20.821873][ T44] #2: ffffffffb5a89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 20.821876][ T44] #3: ffffffffb5a89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 20.821880][ T44] irq event stamp: 20526 [ 20.821881][ T44] hardirqs last enabled at (20525): [] __down_trylock_console_sem+0x86/0xa0 [ 20.821884][ T44] hardirqs last disabled at (20526): [] console_emit_next_record+0x3d4/0x4c0 [ 20.821886][ T44] softirqs last enabled at (19060): [] handle_softirqs+0x67c/0x900 [ 20.821889][ T44] softirqs last disabled at (19053): [] __irq_exit_rcu+0x145/0x1c0 [ 20.821892][ T44] Preemption disabled at: [ 20.821892][ T44] [] vprintk_emit+0x31b/0x3e0 [ 20.821898][ T44] CPU: 0 UID: 0 PID: 44 Comm: kauditd Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 20.821901][ T44] Tainted: [W]=WARN [ 20.821902][ T44] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.821904][ T44] Call Trace: [ 20.821905][ T44] [ 20.821907][ T44] dump_stack_lvl+0x6f/0xa0 [ 20.821912][ T44] ? vprintk_emit+0x31b/0x3e0 [ 20.821914][ T44] __might_resched.cold+0x1fe/0x2c1 [ 20.821919][ T44] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 20.821922][ T44] ? __kmalloc_noprof+0xdb/0x760 [ 20.821927][ T44] __kmalloc_noprof+0x443/0x760 [ 20.821930][ T44] ? alloc_buf.isra.0+0x4b/0x260 [ 20.821936][ T44] ? do_raw_spin_unlock+0x59/0x250 [ 20.821939][ T44] alloc_buf.isra.0+0x4b/0x260 [ 20.821942][ T44] put_chars+0x1e1/0x2f0 [ 20.821945][ T44] ? __send_to_port+0x420/0x420 [ 20.821948][ T44] ? validate_chain+0x38b/0xc20 [ 20.821954][ T44] hvc_console_print+0x292/0x780 [ 20.821961][ T44] ? hvc_write+0x3a0/0x3a0 [ 20.821963][ T44] ? rcu_is_watching+0x16/0xd0 [ 20.821967][ T44] ? lock_acquire+0x13c/0x160 [ 20.821971][ T44] console_emit_next_record+0x22f/0x4c0 [ 20.821975][ T44] ? devkmsg_read+0x4b0/0x4b0 [ 20.821976][ T44] ? console_flush_one_record+0x106/0x710 [ 20.821979][ T44] ? rcu_is_watching+0x16/0xd0 [ 20.821981][ T44] ? lock_acquire+0x13c/0x160 [ 20.821985][ T44] console_flush_one_record+0x46f/0x710 [ 20.821989][ T44] ? console_emit_next_record+0x4c0/0x4c0 [ 20.821990][ T44] ? __lock_acquire+0x518/0xc20 [ 20.821996][ T44] console_unlock+0xee/0x1f0 [ 20.821998][ T44] ? console_flush_one_record+0x710/0x710 [ 20.821999][ T44] ? rcu_is_watching+0x16/0xd0 [ 20.822001][ T44] ? lock_acquire+0x60/0x160 [ 20.822005][ T44] ? __down_trylock_console_sem+0x5e/0xa0 [ 20.822007][ T44] ? vprintk_emit+0x320/0x3e0 [ 20.822010][ T44] vprintk_emit+0x37c/0x3e0 [ 20.822014][ T44] ? wake_up_klogd_work_func+0x90/0x90 [ 20.822016][ T44] ? __lock_release.isra.0+0x69/0x1a0 [ 20.822021][ T44] _printk+0xc7/0x100 [ 20.822024][ T44] ? snapshot_read.cold+0x21/0x21 [ 20.822026][ T44] ? ___ratelimit+0x4e7/0xa00 [ 20.822031][ T44] ? __lock_release.isra.0+0x69/0x1a0 [ 20.822033][ T44] ? idr_get_free+0x830/0x830 [ 20.822035][ T44] ? rcu_is_watching+0x16/0xd0 [ 20.822039][ T44] kauditd_hold_skb.cold+0x47/0x71 [ 20.822043][ T44] auditd_reset+0x86/0x100 [ 20.822047][ T44] kauditd_thread+0x2f4/0x7d0 [ 20.822049][ T44] ? __lock_release.isra.0+0x69/0x1a0 [ 20.822051][ T44] ? auditd_reset+0x100/0x100 [ 20.822053][ T44] ? rcu_is_watching+0x16/0xd0 [ 20.822055][ T44] ? auditd_reset+0x100/0x100 [ 20.822057][ T44] ? finish_wait+0x320/0x320 [ 20.822060][ T44] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 20.822063][ T44] ? auditd_reset+0x100/0x100 [ 20.822065][ T44] ? __kthread_parkme+0xbd/0x210 [ 20.822070][ T44] ? auditd_reset+0x100/0x100 [ 20.822072][ T44] kthread+0x367/0x460 [ 20.822074][ T44] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 20.822078][ T44] ? kthread_affine_preferred+0x4c0/0x4c0 [ 20.822081][ T44] ret_from_fork+0x4a4/0x720 [ 20.822085][ T44] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 20.822089][ T44] ? __switch_to+0x5a3/0xe00 [ 20.822092][ T44] ? kthread_affine_preferred+0x4c0/0x4c0 [ 20.822095][ T44] ret_from_fork_asm+0x11/0x20 [ 20.822104][ T44]