[ 10.060217][ T178] devlink (178) used greatest stack depth: 23440 bytes left [ 10.060234][ T178] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.060236][ T178] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 178, name: devlink [ 10.060238][ T178] preempt_count: 2, expected: 0 [ 10.060239][ T178] RCU nest depth: 0, expected: 0 [ 10.060240][ T178] locks held by devlink/178: 5, last CPU#0: [ 10.060242][ T178] #0: ffffffffb6c027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.060254][ T178] #1: ffffffffb6d99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.060260][ T178] #2: ffffffffb6d99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.060264][ T178] #3: ffffffffb6c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.060268][ T178] #4: ffffffffb6c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.060271][ T178] irq event stamp: 34910 [ 10.060272][ T178] hardirqs last enabled at (34909): [] __down_trylock_console_sem+0x86/0xa0 [ 10.060275][ T178] hardirqs last disabled at (34910): [] console_emit_next_record+0x3f8/0x4f0 [ 10.060276][ T178] softirqs last enabled at (34106): [] handle_softirqs+0x67c/0x900 [ 10.060279][ T178] softirqs last disabled at (34099): [] __irq_exit_rcu+0x145/0x1c0 [ 10.060282][ T178] Preemption disabled at: [ 10.060283][ T178] [<0000000000000000>] 0x0 [ 10.060289][ T178] CPU: 0 UID: 0 PID: 178 Comm: devlink Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.060293][ T178] Tainted: [W]=WARN [ 10.060294][ T178] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.060295][ T178] Call Trace: [ 10.060297][ T178] [ 10.060298][ T178] dump_stack_lvl+0x6f/0xa0 [ 10.060305][ T178] __might_resched.cold+0x1fe/0x2c1 [ 10.060310][ T178] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.060314][ T178] ? __kmalloc_noprof+0xdb/0x760 [ 10.060319][ T178] __kmalloc_noprof+0x443/0x760 [ 10.060321][ T178] ? alloc_buf.isra.0+0x4b/0x260 [ 10.060327][ T178] ? do_raw_spin_unlock+0x59/0x250 [ 10.060329][ T178] alloc_buf.isra.0+0x4b/0x260 [ 10.060332][ T178] put_chars+0x1e1/0x2f0 [ 10.060335][ T178] ? __send_to_port+0x420/0x420 [ 10.060337][ T178] ? printk_get_next_message+0x2fe/0x7d0 [ 10.060340][ T178] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.060343][ T178] ? validate_chain+0x38b/0xc20 [ 10.060347][ T178] hvc_console_print+0x292/0x780 [ 10.060351][ T178] ? __lock_acquire+0x518/0xc20 [ 10.060352][ T178] ? __lock_acquire+0x518/0xc20 [ 10.060356][ T178] ? hvc_write+0x3a0/0x3a0 [ 10.060359][ T178] ? rcu_is_watching+0x16/0xd0 [ 10.060363][ T178] ? lock_acquire+0x13c/0x160 [ 10.060366][ T178] console_emit_next_record+0x252/0x4f0 [ 10.060370][ T178] ? devkmsg_read+0x4e0/0x4e0 [ 10.060374][ T178] ? rcu_is_watching+0x16/0xd0 [ 10.060376][ T178] ? lock_acquire+0x13c/0x160 [ 10.060380][ T178] console_flush_one_record+0x46f/0x710 [ 10.060384][ T178] ? console_emit_next_record+0x4f0/0x4f0 [ 10.060385][ T178] ? __lock_acquire+0x518/0xc20 [ 10.060390][ T178] console_unlock+0xee/0x1f0 [ 10.060393][ T178] ? console_flush_one_record+0x710/0x710 [ 10.060394][ T178] ? rcu_is_watching+0x16/0xd0 [ 10.060397][ T178] ? lock_acquire+0x60/0x160 [ 10.060400][ T178] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.060401][ T178] ? vprintk_emit+0x320/0x3e0 [ 10.060405][ T178] vprintk_emit+0x37c/0x3e0 [ 10.060408][ T178] ? wake_up_klogd_work_func+0x90/0x90 [ 10.060411][ T178] ? __lock_acquire+0x518/0xc20 [ 10.060415][ T178] _printk+0xc7/0x100 [ 10.060419][ T178] ? snapshot_read.cold+0x21/0x21 [ 10.060421][ T178] ? do_raw_spin_lock+0x131/0x280 [ 10.060424][ T178] ? __rwlock_init+0x150/0x150 [ 10.060427][ T178] ? do_raw_spin_lock+0x131/0x280 [ 10.060430][ T178] do_exit.cold+0x82/0x9c [ 10.060434][ T178] ? exit_notify+0x890/0x890 [ 10.060436][ T178] ? __lock_release.isra.0+0x69/0x1a0 [ 10.060438][ T178] ? rcu_is_watching+0x16/0xd0 [ 10.060442][ T178] do_group_exit+0xb8/0x370 [ 10.060446][ T178] __x64_sys_exit_group+0x3c/0x50 [ 10.060448][ T178] x64_sys_call+0x1567/0x1570 [ 10.060450][ T178] do_syscall_64+0xff/0x530 [ 10.060453][ T178] ? exc_page_fault+0xee/0x100 [ 10.060457][ T178] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.060459][ T178] RIP: 0033:0x7f2f039b51b8 [ 10.060461][ T178] Code: Unable to access opcode bytes at 0x7f2f039b518e. [ 10.060463][ T178] RSP: 002b:00007ffc2ffdbd08 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.060465][ T178] RAX: ffffffffffffffda RBX: 00007f2f03ae5f88 RCX: 00007f2f039b51b8 [ 10.060466][ T178] RDX: 00007f2f03700348 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.060467][ T178] RBP: 00007ffc2ffdbd60 R08: 0000000000000000 R09: 0000000000000220 [ 10.060468][ T178] R10: 00007ffc2ffdbb00 R11: 0000000000000246 R12: 0000000000000001 [ 10.060469][ T178] R13: 0000000000000000 R14: 00007f2f03ae4680 R15: 00007f2f03ae5fa0 [ 10.060476][ T178]