[ 20.410568][ T44] audit: type=1305 audit(1787882303.924:64): op=set audit_enabled=0 old=1 auid=4294967295 ses=4294967295 res=1 [ 20.410584][ T44] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 20.410587][ T44] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 44, name: kauditd [ 20.410588][ T44] preempt_count: 1, expected: 0 [ 20.410589][ T44] RCU nest depth: 0, expected: 0 [ 20.410590][ T44] locks held by kauditd/44: 4, last CPU#0: [ 20.410592][ T44] #0: ffffffffacf6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 20.410603][ T44] #1: ffffffffacf6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 20.410607][ T44] #2: fffffffface89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 20.410610][ T44] #3: fffffffface89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 20.410614][ T44] irq event stamp: 20322 [ 20.410614][ T44] hardirqs last enabled at (20321): [] __down_trylock_console_sem+0x86/0xa0 [ 20.410618][ T44] hardirqs last disabled at (20322): [] console_emit_next_record+0x3d4/0x4c0 [ 20.410619][ T44] softirqs last enabled at (18378): [] handle_softirqs+0x67c/0x900 [ 20.410622][ T44] softirqs last disabled at (18371): [] __irq_exit_rcu+0x145/0x1c0 [ 20.410625][ T44] Preemption disabled at: [ 20.410625][ T44] [] vprintk_emit+0x31b/0x3e0 [ 20.410630][ T44] CPU: 0 UID: 0 PID: 44 Comm: kauditd Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 20.410639][ T44] Tainted: [W]=WARN [ 20.410640][ T44] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.410642][ T44] Call Trace: [ 20.410643][ T44] [ 20.410646][ T44] dump_stack_lvl+0x6f/0xa0 [ 20.410651][ T44] ? vprintk_emit+0x31b/0x3e0 [ 20.410652][ T44] __might_resched.cold+0x1fe/0x2c1 [ 20.410657][ T44] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 20.410660][ T44] ? __kmalloc_noprof+0xdb/0x760 [ 20.410665][ T44] __kmalloc_noprof+0x443/0x760 [ 20.410667][ T44] ? alloc_buf.isra.0+0x4b/0x260 [ 20.410673][ T44] ? do_raw_spin_unlock+0x59/0x250 [ 20.410676][ T44] alloc_buf.isra.0+0x4b/0x260 [ 20.410679][ T44] put_chars+0x1e1/0x2f0 [ 20.410682][ T44] ? __send_to_port+0x420/0x420 [ 20.410685][ T44] ? validate_chain+0x38b/0xc20 [ 20.410690][ T44] hvc_console_print+0x292/0x780 [ 20.410696][ T44] ? hvc_write+0x3a0/0x3a0 [ 20.410699][ T44] ? rcu_is_watching+0x16/0xd0 [ 20.410702][ T44] ? lock_acquire+0x13c/0x160 [ 20.410706][ T44] console_emit_next_record+0x22f/0x4c0 [ 20.410709][ T44] ? devkmsg_read+0x4b0/0x4b0 [ 20.410710][ T44] ? console_flush_one_record+0x106/0x710 [ 20.410713][ T44] ? rcu_is_watching+0x16/0xd0 [ 20.410715][ T44] ? lock_acquire+0x13c/0x160 [ 20.410718][ T44] console_flush_one_record+0x46f/0x710 [ 20.410722][ T44] ? console_emit_next_record+0x4c0/0x4c0 [ 20.410723][ T44] ? __lock_acquire+0x518/0xc20 [ 20.410728][ T44] console_unlock+0xee/0x1f0 [ 20.410730][ T44] ? console_flush_one_record+0x710/0x710 [ 20.410732][ T44] ? rcu_is_watching+0x16/0xd0 [ 20.410733][ T44] ? lock_acquire+0x60/0x160 [ 20.410737][ T44] ? __down_trylock_console_sem+0x5e/0xa0 [ 20.410739][ T44] ? vprintk_emit+0x320/0x3e0 [ 20.410741][ T44] vprintk_emit+0x37c/0x3e0 [ 20.410744][ T44] ? wake_up_klogd_work_func+0x90/0x90 [ 20.410747][ T44] ? __lock_release.isra.0+0x69/0x1a0 [ 20.410751][ T44] _printk+0xc7/0x100 [ 20.410754][ T44] ? snapshot_read.cold+0x21/0x21 [ 20.410756][ T44] ? ___ratelimit+0x4e7/0xa00 [ 20.410760][ T44] ? __lock_release.isra.0+0x69/0x1a0 [ 20.410763][ T44] ? idr_get_free+0x830/0x830 [ 20.410764][ T44] ? rcu_is_watching+0x16/0xd0 [ 20.410768][ T44] kauditd_hold_skb.cold+0x47/0x71 [ 20.410772][ T44] auditd_reset+0x86/0x100 [ 20.410776][ T44] kauditd_thread+0x2f4/0x7d0 [ 20.410777][ T44] ? __lock_release.isra.0+0x69/0x1a0 [ 20.410780][ T44] ? auditd_reset+0x100/0x100 [ 20.410781][ T44] ? rcu_is_watching+0x16/0xd0 [ 20.410783][ T44] ? auditd_reset+0x100/0x100 [ 20.410784][ T44] ? finish_wait+0x320/0x320 [ 20.410787][ T44] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 20.410791][ T44] ? auditd_reset+0x100/0x100 [ 20.410792][ T44] ? __kthread_parkme+0xbd/0x210 [ 20.410797][ T44] ? auditd_reset+0x100/0x100 [ 20.410799][ T44] kthread+0x367/0x460 [ 20.410801][ T44] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 20.410804][ T44] ? kthread_affine_preferred+0x4c0/0x4c0 [ 20.410807][ T44] ret_from_fork+0x4a4/0x720 [ 20.410811][ T44] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 20.410814][ T44] ? __switch_to+0x5a3/0xe00 [ 20.410817][ T44] ? kthread_affine_preferred+0x4c0/0x4c0 [ 20.410820][ T44] ret_from_fork_asm+0x11/0x20 [ 20.410828][ T44]