[ 21.325933][ T44] audit: type=1305 audit(1787935895.785:64): op=set audit_enabled=0 old=1 auid=4294967295 ses=4294967295 res=1 [ 21.325952][ T44] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 21.325954][ T44] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 44, name: kauditd [ 21.325955][ T44] preempt_count: 1, expected: 0 [ 21.325956][ T44] RCU nest depth: 0, expected: 0 [ 21.325957][ T44] locks held by kauditd/44: 4, last CPU#3: [ 21.325960][ T44] #0: ffffffffa376a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 21.325972][ T44] #1: ffffffffa376a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 21.325976][ T44] #2: ffffffffa3689de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 21.325979][ T44] #3: ffffffffa3689ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 21.325983][ T44] irq event stamp: 14324 [ 21.325983][ T44] hardirqs last enabled at (14323): [] __down_trylock_console_sem+0x86/0xa0 [ 21.325987][ T44] hardirqs last disabled at (14324): [] console_emit_next_record+0x3d4/0x4c0 [ 21.325988][ T44] softirqs last enabled at (8072): [] handle_softirqs+0x67c/0x900 [ 21.325992][ T44] softirqs last disabled at (8067): [] __irq_exit_rcu+0x145/0x1c0 [ 21.325994][ T44] Preemption disabled at: [ 21.325995][ T44] [] vprintk_emit+0x31b/0x3e0 [ 21.326000][ T44] CPU: 3 UID: 0 PID: 44 Comm: kauditd Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 21.326004][ T44] Tainted: [W]=WARN [ 21.326004][ T44] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.326006][ T44] Call Trace: [ 21.326008][ T44] [ 21.326009][ T44] dump_stack_lvl+0x6f/0xa0 [ 21.326014][ T44] ? vprintk_emit+0x31b/0x3e0 [ 21.326016][ T44] __might_resched.cold+0x1fe/0x2c1 [ 21.326021][ T44] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 21.326024][ T44] ? __kmalloc_noprof+0xdb/0x760 [ 21.326029][ T44] __kmalloc_noprof+0x443/0x760 [ 21.326031][ T44] ? alloc_buf.isra.0+0x4b/0x260 [ 21.326037][ T44] ? do_raw_spin_unlock+0x59/0x250 [ 21.326040][ T44] alloc_buf.isra.0+0x4b/0x260 [ 21.326043][ T44] put_chars+0x1e1/0x2f0 [ 21.326046][ T44] ? __send_to_port+0x420/0x420 [ 21.326049][ T44] ? validate_chain+0x38b/0xc20 [ 21.326055][ T44] hvc_console_print+0x292/0x780 [ 21.326061][ T44] ? hvc_write+0x3a0/0x3a0 [ 21.326064][ T44] ? rcu_is_watching+0x16/0xd0 [ 21.326067][ T44] ? lock_acquire+0x13c/0x160 [ 21.326072][ T44] console_emit_next_record+0x22f/0x4c0 [ 21.326075][ T44] ? devkmsg_read+0x4b0/0x4b0 [ 21.326076][ T44] ? console_flush_one_record+0x106/0x710 [ 21.326079][ T44] ? rcu_is_watching+0x16/0xd0 [ 21.326081][ T44] ? lock_acquire+0x13c/0x160 [ 21.326085][ T44] console_flush_one_record+0x46f/0x710 [ 21.326088][ T44] ? console_emit_next_record+0x4c0/0x4c0 [ 21.326090][ T44] ? __lock_acquire+0x518/0xc20 [ 21.326095][ T44] console_unlock+0xee/0x1f0 [ 21.326097][ T44] ? console_flush_one_record+0x710/0x710 [ 21.326099][ T44] ? rcu_is_watching+0x16/0xd0 [ 21.326100][ T44] ? lock_acquire+0x60/0x160 [ 21.326104][ T44] ? __down_trylock_console_sem+0x5e/0xa0 [ 21.326106][ T44] ? vprintk_emit+0x320/0x3e0 [ 21.326109][ T44] vprintk_emit+0x37c/0x3e0 [ 21.326112][ T44] ? wake_up_klogd_work_func+0x90/0x90 [ 21.326114][ T44] ? __lock_release.isra.0+0x69/0x1a0 [ 21.326119][ T44] _printk+0xc7/0x100 [ 21.326122][ T44] ? snapshot_read.cold+0x21/0x21 [ 21.326124][ T44] ? ___ratelimit+0x4e7/0xa00 [ 21.326129][ T44] ? __lock_release.isra.0+0x69/0x1a0 [ 21.326131][ T44] ? idr_get_free+0x830/0x830 [ 21.326133][ T44] ? rcu_is_watching+0x16/0xd0 [ 21.326137][ T44] kauditd_hold_skb.cold+0x47/0x71 [ 21.326141][ T44] auditd_reset+0x86/0x100 [ 21.326145][ T44] kauditd_thread+0x2f4/0x7d0 [ 21.326147][ T44] ? __lock_release.isra.0+0x69/0x1a0 [ 21.326149][ T44] ? auditd_reset+0x100/0x100 [ 21.326151][ T44] ? rcu_is_watching+0x16/0xd0 [ 21.326152][ T44] ? auditd_reset+0x100/0x100 [ 21.326155][ T44] ? finish_wait+0x320/0x320 [ 21.326157][ T44] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 21.326161][ T44] ? auditd_reset+0x100/0x100 [ 21.326163][ T44] ? __kthread_parkme+0xbd/0x210 [ 21.326168][ T44] ? auditd_reset+0x100/0x100 [ 21.326170][ T44] kthread+0x367/0x460 [ 21.326172][ T44] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 21.326175][ T44] ? kthread_affine_preferred+0x4c0/0x4c0 [ 21.326178][ T44] ret_from_fork+0x4a4/0x720 [ 21.326182][ T44] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 21.326186][ T44] ? __switch_to+0x5a3/0xe00 [ 21.326189][ T44] ? kthread_affine_preferred+0x4c0/0x4c0 [ 21.326191][ T44] ret_from_fork_asm+0x11/0x20 [ 21.326200][ T44]