[ 22.279427][ T356] MACsec IEEE 802.1AE [ 22.279445][ T356] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 22.279447][ T356] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 356, name: modprobe [ 22.279449][ T356] preempt_count: 1, expected: 0 [ 22.279450][ T356] RCU nest depth: 0, expected: 0 [ 22.279451][ T356] locks held by modprobe/356: 4, last CPU#4: [ 22.279453][ T356] #0: ffffffffaff99dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 22.279466][ T356] #1: ffffffffaff99e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 22.279471][ T356] #2: ffffffffafe89760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 22.279475][ T356] #3: ffffffffafe89660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 22.279479][ T356] irq event stamp: 34086 [ 22.279480][ T356] hardirqs last enabled at (34085): [] __down_trylock_console_sem+0x86/0xa0 [ 22.279482][ T356] hardirqs last disabled at (34086): [] console_emit_next_record+0x3f8/0x4f0 [ 22.279484][ T356] softirqs last enabled at (33968): [] handle_softirqs+0x67c/0x900 [ 22.279487][ T356] softirqs last disabled at (33771): [] __irq_exit_rcu+0x145/0x1c0 [ 22.279489][ T356] Preemption disabled at: [ 22.279490][ T356] [] vprintk_emit+0x31b/0x3e0 [ 22.279496][ T356] CPU: 4 UID: 0 PID: 356 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 22.279499][ T356] Tainted: [W]=WARN [ 22.279500][ T356] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 22.279502][ T356] Call Trace: [ 22.279504][ T356] [ 22.279505][ T356] dump_stack_lvl+0x6f/0xa0 [ 22.279510][ T356] ? vprintk_emit+0x31b/0x3e0 [ 22.279512][ T356] __might_resched.cold+0x1fe/0x2c1 [ 22.279517][ T356] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 22.279521][ T356] ? __kmalloc_noprof+0xdb/0x760 [ 22.279526][ T356] __kmalloc_noprof+0x443/0x760 [ 22.279529][ T356] ? alloc_buf.isra.0+0x4b/0x260 [ 22.279535][ T356] ? do_raw_spin_unlock+0x59/0x250 [ 22.279538][ T356] alloc_buf.isra.0+0x4b/0x260 [ 22.279542][ T356] put_chars+0x1e1/0x2f0 [ 22.279545][ T356] ? __send_to_port+0x420/0x420 [ 22.279548][ T356] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 22.279552][ T356] ? rcu_read_lock_any_held+0x3c/0x90 [ 22.279554][ T356] ? validate_chain+0x38b/0xc20 [ 22.279558][ T356] hvc_console_print+0x292/0x780 [ 22.279561][ T356] ? mark_usage+0x61/0x170 [ 22.279563][ T356] ? __lock_acquire+0x518/0xc20 [ 22.279564][ T356] ? __lock_acquire+0x518/0xc20 [ 22.279568][ T356] ? hvc_write+0x3a0/0x3a0 [ 22.279571][ T356] ? console_emit_next_record+0x202/0x4f0 [ 22.279574][ T356] ? rcu_is_watching+0x16/0xd0 [ 22.279576][ T356] ? lock_acquire+0x13c/0x160 [ 22.279580][ T356] console_emit_next_record+0x252/0x4f0 [ 22.279584][ T356] ? devkmsg_read+0x4e0/0x4e0 [ 22.279588][ T356] ? rcu_is_watching+0x16/0xd0 [ 22.279590][ T356] ? lock_acquire+0x13c/0x160 [ 22.279594][ T356] console_flush_one_record+0x46f/0x710 [ 22.279598][ T356] ? console_emit_next_record+0x4f0/0x4f0 [ 22.279600][ T356] ? __lock_acquire+0x518/0xc20 [ 22.279605][ T356] console_unlock+0xee/0x1f0 [ 22.279608][ T356] ? console_flush_one_record+0x710/0x710 [ 22.279610][ T356] ? rcu_is_watching+0x16/0xd0 [ 22.279612][ T356] ? lock_acquire+0xa0/0x160 [ 22.279615][ T356] ? __down_trylock_console_sem+0x5e/0xa0 [ 22.279617][ T356] ? vprintk_emit+0x320/0x3e0 [ 22.279620][ T356] vprintk_emit+0x37c/0x3e0 [ 22.279624][ T356] ? wake_up_klogd_work_func+0x90/0x90 [ 22.279627][ T356] ? macsec_exit+0x6b0/0x6b0 [macsec] [ 22.279630][ T356] ? lockdep_init_map_type+0xe3/0x250 [ 22.279634][ T356] ? macsec_exit+0x6b0/0x6b0 [macsec] [ 22.279637][ T356] _printk+0xc7/0x100 [ 22.279640][ T356] ? snapshot_read.cold+0x21/0x21 [ 22.279642][ T356] ? alloc_workqueue_lockdep_map+0x130/0x130 [ 22.279651][ T356] macsec_init+0x3a/0x1000 [macsec] [ 22.279654][ T356] do_one_initcall+0x124/0x4f0 [ 22.279657][ T356] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 22.279662][ T356] ? do_init_module+0xae/0x8a0 [ 22.279665][ T356] ? kasan_unpoison+0x44/0x70 [ 22.279670][ T356] do_init_module+0x2ad/0x8a0 [ 22.279674][ T356] ? lockdep_hardirqs_on+0x91/0x130 [ 22.279678][ T356] ? free_module+0x470/0x470 [ 22.279682][ T356] ? kfree+0x123/0x590 [ 22.279686][ T356] load_module+0x1424/0x1bb0 [ 22.279693][ T356] ? layout_and_allocate.isra.0+0x680/0x680 [ 22.279701][ T356] init_module_from_file+0x11f/0x1a0 [ 22.279704][ T356] ? __ia32_sys_init_module+0xc0/0xc0 [ 22.279712][ T356] ? __rwlock_init+0x150/0x150 [ 22.279715][ T356] ? do_raw_spin_unlock+0x59/0x250 [ 22.279718][ T356] idempotent_init_module+0x37b/0x7c0 [ 22.279722][ T356] ? init_module_from_file+0x1a0/0x1a0 [ 22.279728][ T356] ? rcu_is_watching+0x16/0xd0 [ 22.279730][ T356] ? cap_capable+0x1d7/0x3d0 [ 22.279736][ T356] __x64_sys_finit_module+0xdf/0x190 [ 22.279738][ T356] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 22.279742][ T356] do_syscall_64+0xff/0x530 [ 22.279744][ T356] ? exc_page_fault+0xee/0x100 [ 22.279747][ T356] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.279750][ T356] RIP: 0033:0x7efff5a9337d [ 22.279753][ T356] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 4b aa 0f 00 f7 d8 64 89 01 48 [ 22.279755][ T356] RSP: 002b:00007ffd21bad078 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 22.279758][ T356] RAX: ffffffffffffffda RBX: 0000558b04dd8810 RCX: 00007efff5a9337d [ 22.279759][ T356] RDX: 0000000000000000 RSI: 0000558aef920ffd RDI: 0000000000000000 [ 22.279760][ T356] RBP: 00007ffd21bad110 R08: 0000000000000000 R09: 0000000000000000 [ 22.279761][ T356] R10: 0000000000000000 R11: 0000000000000246 R12: 0000558aef920ffd [ 22.279762][ T356] R13: 0000558b04dd8940 R14: 0000000000040000 R15: 0000000000000000 [ 22.279768][ T356] [ 22.925997][ T371] 8021q: 802.1Q VLAN Support v1.8 [ 22.926487][ T371] 8021q: adding VLAN 0 to HW filter on device enp0s4 [ 23.256729][ T377] 8021q: adding VLAN 0 to HW filter on device ms337_0