[ 23.151563][ T44] audit: type=1305 audit(1787921251.578:64): op=set audit_enabled=0 old=1 auid=4294967295 ses=4294967295 res=1 [ 23.151580][ T44] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 23.151582][ T44] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 44, name: kauditd [ 23.151583][ T44] preempt_count: 1, expected: 0 [ 23.151584][ T44] RCU nest depth: 0, expected: 0 [ 23.151585][ T44] locks held by kauditd/44: 4, last CPU#1: [ 23.151588][ T44] #0: ffffffff9eb6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 23.151599][ T44] #1: ffffffff9eb6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 23.151603][ T44] #2: ffffffff9ea89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 23.151607][ T44] #3: ffffffff9ea89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 23.151610][ T44] irq event stamp: 23966 [ 23.151611][ T44] hardirqs last enabled at (23965): [] __down_trylock_console_sem+0x86/0xa0 [ 23.151614][ T44] hardirqs last disabled at (23966): [] console_emit_next_record+0x3d4/0x4c0 [ 23.151616][ T44] softirqs last enabled at (23468): [] handle_softirqs+0x67c/0x900 [ 23.151619][ T44] softirqs last disabled at (23461): [] __irq_exit_rcu+0x145/0x1c0 [ 23.151621][ T44] Preemption disabled at: [ 23.151622][ T44] [] vprintk_emit+0x31b/0x3e0 [ 23.151627][ T44] CPU: 1 UID: 0 PID: 44 Comm: kauditd Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 23.151631][ T44] Tainted: [W]=WARN [ 23.151631][ T44] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 23.151633][ T44] Call Trace: [ 23.151634][ T44] [ 23.151636][ T44] dump_stack_lvl+0x6f/0xa0 [ 23.151640][ T44] ? vprintk_emit+0x31b/0x3e0 [ 23.151642][ T44] __might_resched.cold+0x1fe/0x2c1 [ 23.151651][ T44] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 23.151654][ T44] ? __kmalloc_noprof+0xdb/0x760 [ 23.151659][ T44] __kmalloc_noprof+0x443/0x760 [ 23.151661][ T44] ? alloc_buf.isra.0+0x4b/0x260 [ 23.151667][ T44] ? do_raw_spin_unlock+0x59/0x250 [ 23.151671][ T44] alloc_buf.isra.0+0x4b/0x260 [ 23.151674][ T44] put_chars+0x1e1/0x2f0 [ 23.151677][ T44] ? __send_to_port+0x420/0x420 [ 23.151680][ T44] ? validate_chain+0x38b/0xc20 [ 23.151686][ T44] hvc_console_print+0x292/0x780 [ 23.151693][ T44] ? hvc_write+0x3a0/0x3a0 [ 23.151696][ T44] ? rcu_is_watching+0x16/0xd0 [ 23.151699][ T44] ? lock_acquire+0x13c/0x160 [ 23.151703][ T44] console_emit_next_record+0x22f/0x4c0 [ 23.151707][ T44] ? devkmsg_read+0x4b0/0x4b0 [ 23.151708][ T44] ? console_flush_one_record+0x106/0x710 [ 23.151711][ T44] ? rcu_is_watching+0x16/0xd0 [ 23.151713][ T44] ? lock_acquire+0x13c/0x160 [ 23.151717][ T44] console_flush_one_record+0x46f/0x710 [ 23.151720][ T44] ? console_emit_next_record+0x4c0/0x4c0 [ 23.151722][ T44] ? __lock_acquire+0x518/0xc20 [ 23.151727][ T44] console_unlock+0xee/0x1f0 [ 23.151729][ T44] ? console_flush_one_record+0x710/0x710 [ 23.151730][ T44] ? rcu_is_watching+0x16/0xd0 [ 23.151732][ T44] ? lock_acquire+0x60/0x160 [ 23.151736][ T44] ? __down_trylock_console_sem+0x5e/0xa0 [ 23.151738][ T44] ? vprintk_emit+0x320/0x3e0 [ 23.151741][ T44] vprintk_emit+0x37c/0x3e0 [ 23.151744][ T44] ? wake_up_klogd_work_func+0x90/0x90 [ 23.151746][ T44] ? __lock_release.isra.0+0x69/0x1a0 [ 23.151750][ T44] _printk+0xc7/0x100 [ 23.151754][ T44] ? snapshot_read.cold+0x21/0x21 [ 23.151755][ T44] ? ___ratelimit+0x4e7/0xa00 [ 23.151760][ T44] ? __lock_release.isra.0+0x69/0x1a0 [ 23.151763][ T44] ? idr_get_free+0x830/0x830 [ 23.151764][ T44] ? rcu_is_watching+0x16/0xd0 [ 23.151768][ T44] kauditd_hold_skb.cold+0x47/0x71 [ 23.151772][ T44] auditd_reset+0x86/0x100 [ 23.151776][ T44] kauditd_thread+0x2f4/0x7d0 [ 23.151778][ T44] ? __lock_release.isra.0+0x69/0x1a0 [ 23.151780][ T44] ? auditd_reset+0x100/0x100 [ 23.151782][ T44] ? rcu_is_watching+0x16/0xd0 [ 23.151783][ T44] ? auditd_reset+0x100/0x100 [ 23.151785][ T44] ? finish_wait+0x320/0x320 [ 23.151788][ T44] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 23.151792][ T44] ? auditd_reset+0x100/0x100 [ 23.151794][ T44] ? __kthread_parkme+0xbd/0x210 [ 23.151798][ T44] ? auditd_reset+0x100/0x100 [ 23.151800][ T44] kthread+0x367/0x460 [ 23.151802][ T44] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 23.151806][ T44] ? kthread_affine_preferred+0x4c0/0x4c0 [ 23.151808][ T44] ret_from_fork+0x4a4/0x720 [ 23.151813][ T44] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 23.151816][ T44] ? __switch_to+0x5a3/0xe00 [ 23.151819][ T44] ? kthread_affine_preferred+0x4c0/0x4c0 [ 23.151822][ T44] ret_from_fork_asm+0x11/0x20 [ 23.151830][ T44]