[ 19.100646][ T357] MACsec IEEE 802.1AE [ 19.100661][ T357] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 19.100663][ T357] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 357, name: modprobe [ 19.100665][ T357] preempt_count: 1, expected: 0 [ 19.100666][ T357] RCU nest depth: 0, expected: 0 [ 19.100667][ T357] locks held by modprobe/357: 4, last CPU#2: [ 19.100669][ T357] #0: ffffffffb0399dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 19.100681][ T357] #1: ffffffffb0399e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 19.100685][ T357] #2: ffffffffb0289760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 19.100689][ T357] #3: ffffffffb0289660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 19.100693][ T357] irq event stamp: 41694 [ 19.100694][ T357] hardirqs last enabled at (41693): [] __down_trylock_console_sem+0x86/0xa0 [ 19.100696][ T357] hardirqs last disabled at (41694): [] console_emit_next_record+0x3f8/0x4f0 [ 19.100698][ T357] softirqs last enabled at (38878): [] handle_softirqs+0x67c/0x900 [ 19.100701][ T357] softirqs last disabled at (38723): [] __irq_exit_rcu+0x145/0x1c0 [ 19.100703][ T357] Preemption disabled at: [ 19.100704][ T357] [] vprintk_emit+0x31b/0x3e0 [ 19.100709][ T357] CPU: 2 UID: 0 PID: 357 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 19.100712][ T357] Tainted: [W]=WARN [ 19.100713][ T357] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 19.100715][ T357] Call Trace: [ 19.100716][ T357] [ 19.100718][ T357] dump_stack_lvl+0x6f/0xa0 [ 19.100723][ T357] ? vprintk_emit+0x31b/0x3e0 [ 19.100725][ T357] __might_resched.cold+0x1fe/0x2c1 [ 19.100729][ T357] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 19.100733][ T357] ? __kmalloc_noprof+0xdb/0x760 [ 19.100738][ T357] __kmalloc_noprof+0x443/0x760 [ 19.100740][ T357] ? alloc_buf.isra.0+0x4b/0x260 [ 19.100747][ T357] ? do_raw_spin_unlock+0x59/0x250 [ 19.100749][ T357] alloc_buf.isra.0+0x4b/0x260 [ 19.100753][ T357] put_chars+0x1e1/0x2f0 [ 19.100756][ T357] ? __send_to_port+0x420/0x420 [ 19.100760][ T357] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 19.100763][ T357] ? rcu_read_lock_any_held+0x3c/0x90 [ 19.100766][ T357] ? validate_chain+0x38b/0xc20 [ 19.100769][ T357] hvc_console_print+0x292/0x780 [ 19.100772][ T357] ? mark_usage+0x61/0x170 [ 19.100774][ T357] ? __lock_acquire+0x518/0xc20 [ 19.100776][ T357] ? __lock_acquire+0x518/0xc20 [ 19.100779][ T357] ? hvc_write+0x3a0/0x3a0 [ 19.100782][ T357] ? console_emit_next_record+0x202/0x4f0 [ 19.100785][ T357] ? rcu_is_watching+0x16/0xd0 [ 19.100787][ T357] ? lock_acquire+0x13c/0x160 [ 19.100790][ T357] console_emit_next_record+0x252/0x4f0 [ 19.100794][ T357] ? devkmsg_read+0x4e0/0x4e0 [ 19.100798][ T357] ? rcu_is_watching+0x16/0xd0 [ 19.100800][ T357] ? lock_acquire+0x13c/0x160 [ 19.100804][ T357] console_flush_one_record+0x46f/0x710 [ 19.100808][ T357] ? console_emit_next_record+0x4f0/0x4f0 [ 19.100809][ T357] ? __lock_acquire+0x518/0xc20 [ 19.100814][ T357] console_unlock+0xee/0x1f0 [ 19.100817][ T357] ? console_flush_one_record+0x710/0x710 [ 19.100819][ T357] ? rcu_is_watching+0x16/0xd0 [ 19.100821][ T357] ? lock_acquire+0xa0/0x160 [ 19.100824][ T357] ? __down_trylock_console_sem+0x5e/0xa0 [ 19.100826][ T357] ? vprintk_emit+0x320/0x3e0 [ 19.100829][ T357] vprintk_emit+0x37c/0x3e0 [ 19.100833][ T357] ? wake_up_klogd_work_func+0x90/0x90 [ 19.100835][ T357] ? macsec_exit+0x6b0/0x6b0 [macsec] [ 19.100839][ T357] ? lockdep_init_map_type+0xe3/0x250 [ 19.100842][ T357] ? macsec_exit+0x6b0/0x6b0 [macsec] [ 19.100845][ T357] _printk+0xc7/0x100 [ 19.100848][ T357] ? snapshot_read.cold+0x21/0x21 [ 19.100850][ T357] ? alloc_workqueue_lockdep_map+0x130/0x130 [ 19.100858][ T357] macsec_init+0x3a/0x1000 [macsec] [ 19.100861][ T357] do_one_initcall+0x124/0x4f0 [ 19.100867][ T357] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 19.100871][ T357] ? do_init_module+0xae/0x8a0 [ 19.100874][ T357] ? kasan_unpoison+0x44/0x70 [ 19.100879][ T357] do_init_module+0x2ad/0x8a0 [ 19.100883][ T357] ? lockdep_hardirqs_on+0x91/0x130 [ 19.100887][ T357] ? free_module+0x470/0x470 [ 19.100890][ T357] ? kfree+0x123/0x590 [ 19.100894][ T357] load_module+0x1424/0x1bb0 [ 19.100900][ T357] ? layout_and_allocate.isra.0+0x680/0x680 [ 19.100908][ T357] init_module_from_file+0x11f/0x1a0 [ 19.100911][ T357] ? __ia32_sys_init_module+0xc0/0xc0 [ 19.100918][ T357] ? __rwlock_init+0x150/0x150 [ 19.100922][ T357] ? do_raw_spin_unlock+0x59/0x250 [ 19.100924][ T357] idempotent_init_module+0x37b/0x7c0 [ 19.100927][ T357] ? init_module_from_file+0x1a0/0x1a0 [ 19.100933][ T357] ? rcu_is_watching+0x16/0xd0 [ 19.100935][ T357] ? cap_capable+0x1d7/0x3d0 [ 19.100941][ T357] __x64_sys_finit_module+0xdf/0x190 [ 19.100943][ T357] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 19.100946][ T357] do_syscall_64+0xff/0x530 [ 19.100948][ T357] ? exc_page_fault+0xee/0x100 [ 19.100951][ T357] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 19.100953][ T357] RIP: 0033:0x7efcadf1137d [ 19.100956][ T357] 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 [ 19.100958][ T357] RSP: 002b:00007ffeace6a838 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 19.100961][ T357] RAX: ffffffffffffffda RBX: 0000558295d40810 RCX: 00007efcadf1137d [ 19.100962][ T357] RDX: 0000000000000000 RSI: 000055826cef2ffd RDI: 0000000000000000 [ 19.100963][ T357] RBP: 00007ffeace6a8d0 R08: 0000000000000000 R09: 0000000000000000 [ 19.100964][ T357] R10: 0000000000000000 R11: 0000000000000246 R12: 000055826cef2ffd [ 19.100964][ T357] R13: 0000558295d40940 R14: 0000000000040000 R15: 0000000000000000 [ 19.100971][ T357] [ 19.571250][ T372] 8021q: 802.1Q VLAN Support v1.8 [ 19.571689][ T372] 8021q: adding VLAN 0 to HW filter on device enp0s4 [ 19.801992][ T378] 8021q: adding VLAN 0 to HW filter on device ms338_0