[ 10.550336][ T195] ip (195) used greatest stack depth: 24360 bytes left [ 10.550354][ T195] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.550357][ T195] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 195, name: ip [ 10.550358][ T195] preempt_count: 2, expected: 0 [ 10.550359][ T195] RCU nest depth: 0, expected: 0 [ 10.550360][ T195] locks held by ip/195: 5, last CPU#1: [ 10.550362][ T195] #0: ffffffff8d2027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.550376][ T195] #1: ffffffff8d399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.550381][ T195] #2: ffffffff8d399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.550385][ T195] #3: ffffffff8d289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.550388][ T195] #4: ffffffff8d289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.550392][ T195] irq event stamp: 30706 [ 10.550393][ T195] hardirqs last enabled at (30705): [] __down_trylock_console_sem+0x86/0xa0 [ 10.550395][ T195] hardirqs last disabled at (30706): [] console_emit_next_record+0x3f8/0x4f0 [ 10.550397][ T195] softirqs last enabled at (30470): [] handle_softirqs+0x67c/0x900 [ 10.550399][ T195] softirqs last disabled at (30465): [] __irq_exit_rcu+0x145/0x1c0 [ 10.550402][ T195] Preemption disabled at: [ 10.550403][ T195] [<0000000000000000>] 0x0 [ 10.550410][ T195] CPU: 1 UID: 0 PID: 195 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.550413][ T195] Tainted: [W]=WARN [ 10.550414][ T195] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.550416][ T195] Call Trace: [ 10.550418][ T195] [ 10.550419][ T195] dump_stack_lvl+0x6f/0xa0 [ 10.550425][ T195] __might_resched.cold+0x1fe/0x2c1 [ 10.550430][ T195] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.550433][ T195] ? __kmalloc_noprof+0xdb/0x760 [ 10.550438][ T195] __kmalloc_noprof+0x443/0x760 [ 10.550440][ T195] ? alloc_buf.isra.0+0x4b/0x260 [ 10.550445][ T195] ? do_raw_spin_unlock+0x59/0x250 [ 10.550448][ T195] alloc_buf.isra.0+0x4b/0x260 [ 10.550451][ T195] put_chars+0x1e1/0x2f0 [ 10.550453][ T195] ? __send_to_port+0x420/0x420 [ 10.550455][ T195] ? printk_get_next_message+0x2fe/0x7d0 [ 10.550458][ T195] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.550461][ T195] ? validate_chain+0x38b/0xc20 [ 10.550465][ T195] hvc_console_print+0x292/0x780 [ 10.550468][ T195] ? __lock_acquire+0x518/0xc20 [ 10.550469][ T195] ? __lock_acquire+0x518/0xc20 [ 10.550473][ T195] ? hvc_write+0x3a0/0x3a0 [ 10.550476][ T195] ? rcu_is_watching+0x16/0xd0 [ 10.550479][ T195] ? lock_acquire+0x13c/0x160 [ 10.550483][ T195] console_emit_next_record+0x252/0x4f0 [ 10.550486][ T195] ? devkmsg_read+0x4e0/0x4e0 [ 10.550490][ T195] ? rcu_is_watching+0x16/0xd0 [ 10.550492][ T195] ? lock_acquire+0x13c/0x160 [ 10.550496][ T195] console_flush_one_record+0x46f/0x710 [ 10.550500][ T195] ? console_emit_next_record+0x4f0/0x4f0 [ 10.550502][ T195] ? __lock_acquire+0x518/0xc20 [ 10.550507][ T195] console_unlock+0xee/0x1f0 [ 10.550509][ T195] ? console_flush_one_record+0x710/0x710 [ 10.550511][ T195] ? rcu_is_watching+0x16/0xd0 [ 10.550513][ T195] ? lock_acquire+0x60/0x160 [ 10.550516][ T195] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.550518][ T195] ? vprintk_emit+0x320/0x3e0 [ 10.550521][ T195] vprintk_emit+0x37c/0x3e0 [ 10.550524][ T195] ? wake_up_klogd_work_func+0x90/0x90 [ 10.550527][ T195] ? __lock_acquire+0x518/0xc20 [ 10.550531][ T195] _printk+0xc7/0x100 [ 10.550534][ T195] ? snapshot_read.cold+0x21/0x21 [ 10.550537][ T195] ? do_raw_spin_lock+0x131/0x280 [ 10.550539][ T195] ? __rwlock_init+0x150/0x150 [ 10.550543][ T195] ? do_raw_spin_lock+0x131/0x280 [ 10.550546][ T195] do_exit.cold+0x82/0x9c [ 10.550549][ T195] ? exit_notify+0x890/0x890 [ 10.550551][ T195] ? __lock_release.isra.0+0x69/0x1a0 [ 10.550554][ T195] ? rcu_is_watching+0x16/0xd0 [ 10.550557][ T195] do_group_exit+0xb8/0x370 [ 10.550561][ T195] __x64_sys_exit_group+0x3c/0x50 [ 10.550563][ T195] x64_sys_call+0x1567/0x1570 [ 10.550565][ T195] do_syscall_64+0xff/0x530 [ 10.550569][ T195] ? exc_page_fault+0xee/0x100 [ 10.550572][ T195] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.550574][ T195] RIP: 0033:0x7ff56380f1b8 [ 10.550576][ T195] Code: Unable to access opcode bytes at 0x7ff56380f18e. [ 10.550578][ T195] RSP: 002b:00007ffdc4ede678 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.550580][ T195] RAX: ffffffffffffffda RBX: 00007ff56393ff88 RCX: 00007ff56380f1b8 [ 10.550581][ T195] RDX: 00007ff563559fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.550582][ T195] RBP: 00007ffdc4ede6d0 R08: 0000000000000000 R09: 0000000000008010 [ 10.550583][ T195] R10: 00007ffdc4ede490 R11: 0000000000000246 R12: 0000000000000001 [ 10.550584][ T195] R13: 0000000000000000 R14: 00007ff56393e680 R15: 00007ff56393ffa0 [ 10.550590][ T195] [ 14.225617][ T406] jq (406) used greatest stack depth: 23712 bytes left [ 14.225637][ T406] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.225640][ T406] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 406, name: jq [ 14.225641][ T406] preempt_count: 2, expected: 0 [ 14.225642][ T406] RCU nest depth: 0, expected: 0 [ 14.225643][ T406] locks held by jq/406: 5, last CPU#2: [ 14.225646][ T406] #0: ffffffff8d2027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 14.225659][ T406] #1: ffffffff8d399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.225664][ T406] #2: ffffffff8d399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.225668][ T406] #3: ffffffff8d289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.225672][ T406] #4: ffffffff8d289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 14.225676][ T406] irq event stamp: 15954 [ 14.225677][ T406] hardirqs last enabled at (15953): [] __down_trylock_console_sem+0x86/0xa0 [ 14.225679][ T406] hardirqs last disabled at (15954): [] console_emit_next_record+0x3f8/0x4f0 [ 14.225681][ T406] softirqs last enabled at (14316): [] handle_softirqs+0x67c/0x900 [ 14.225683][ T406] softirqs last disabled at (14311): [] __irq_exit_rcu+0x145/0x1c0 [ 14.225686][ T406] Preemption disabled at: [ 14.225687][ T406] [<0000000000000000>] 0x0 [ 14.225694][ T406] CPU: 2 UID: 0 PID: 406 Comm: jq Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.225697][ T406] Tainted: [W]=WARN [ 14.225698][ T406] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.225700][ T406] Call Trace: [ 14.225702][ T406] [ 14.225704][ T406] dump_stack_lvl+0x6f/0xa0 [ 14.225710][ T406] __might_resched.cold+0x1fe/0x2c1 [ 14.225714][ T406] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.225718][ T406] ? __kmalloc_noprof+0xdb/0x760 [ 14.225722][ T406] __kmalloc_noprof+0x443/0x760 [ 14.225724][ T406] ? alloc_buf.isra.0+0x4b/0x260 [ 14.225730][ T406] ? do_raw_spin_unlock+0x59/0x250 [ 14.225732][ T406] alloc_buf.isra.0+0x4b/0x260 [ 14.225735][ T406] put_chars+0x1e1/0x2f0 [ 14.225738][ T406] ? __send_to_port+0x420/0x420 [ 14.225739][ T406] ? printk_get_next_message+0x2fe/0x7d0 [ 14.225743][ T406] ? rcu_read_lock_any_held+0x3c/0x90 [ 14.225745][ T406] ? validate_chain+0x38b/0xc20 [ 14.225750][ T406] hvc_console_print+0x292/0x780 [ 14.225752][ T406] ? __lock_acquire+0x518/0xc20 [ 14.225753][ T406] ? __lock_acquire+0x518/0xc20 [ 14.225758][ T406] ? hvc_write+0x3a0/0x3a0 [ 14.225761][ T406] ? rcu_is_watching+0x16/0xd0 [ 14.225763][ T406] ? lock_acquire+0x13c/0x160 [ 14.225767][ T406] console_emit_next_record+0x252/0x4f0 [ 14.225771][ T406] ? devkmsg_read+0x4e0/0x4e0 [ 14.225775][ T406] ? rcu_is_watching+0x16/0xd0 [ 14.225777][ T406] ? lock_acquire+0x13c/0x160 [ 14.225781][ T406] console_flush_one_record+0x46f/0x710 [ 14.225784][ T406] ? console_emit_next_record+0x4f0/0x4f0 [ 14.225786][ T406] ? __lock_acquire+0x518/0xc20 [ 14.225791][ T406] console_unlock+0xee/0x1f0 [ 14.225793][ T406] ? console_flush_one_record+0x710/0x710 [ 14.225795][ T406] ? rcu_is_watching+0x16/0xd0 [ 14.225797][ T406] ? lock_acquire+0x60/0x160 [ 14.225800][ T406] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.225802][ T406] ? vprintk_emit+0x320/0x3e0 [ 14.225805][ T406] vprintk_emit+0x37c/0x3e0 [ 14.225808][ T406] ? wake_up_klogd_work_func+0x90/0x90 [ 14.225811][ T406] ? __lock_acquire+0x518/0xc20 [ 14.225815][ T406] _printk+0xc7/0x100 [ 14.225818][ T406] ? snapshot_read.cold+0x21/0x21 [ 14.225821][ T406] ? do_raw_spin_lock+0x131/0x280 [ 14.225823][ T406] ? __rwlock_init+0x150/0x150 [ 14.225827][ T406] ? do_raw_spin_lock+0x131/0x280 [ 14.225829][ T406] do_exit.cold+0x82/0x9c [ 14.225833][ T406] ? exit_notify+0x890/0x890 [ 14.225835][ T406] ? __lock_release.isra.0+0x69/0x1a0 [ 14.225837][ T406] ? rcu_is_watching+0x16/0xd0 [ 14.225841][ T406] do_group_exit+0xb8/0x370 [ 14.225844][ T406] __x64_sys_exit_group+0x3c/0x50 [ 14.225846][ T406] x64_sys_call+0x1567/0x1570 [ 14.225849][ T406] do_syscall_64+0xff/0x530 [ 14.225852][ T406] ? exc_page_fault+0xee/0x100 [ 14.225855][ T406] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.225858][ T406] RIP: 0033:0x7f5a931141b8 [ 14.225860][ T406] Code: Unable to access opcode bytes at 0x7f5a9311418e. [ 14.225861][ T406] RSP: 002b:00007ffd75e72be8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 14.225864][ T406] RAX: ffffffffffffffda RBX: 00007f5a93244f88 RCX: 00007f5a931141b8 [ 14.225865][ T406] RDX: 00007f5a92f38a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 14.225866][ T406] RBP: 00007ffd75e72c40 R08: 00000000ffffffff R09: 0000000000000020 [ 14.225866][ T406] R10: 00007ffd75e72a60 R11: 0000000000000246 R12: 0000000000000004 [ 14.225867][ T406] R13: 0000000000000000 R14: 00007f5a93243680 R15: 00007f5a93244fa0 [ 14.225874][ T406] [ 279.833914][ T1084] netdevsim: Exceeded number of supported nexthops [ 279.834104][ T1084] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 279.834106][ T1084] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1084, name: ip [ 279.834108][ T1084] preempt_count: 1, expected: 0 [ 279.834109][ T1084] RCU nest depth: 0, expected: 0 [ 279.834110][ T1084] locks held by ip/1084: 5, last CPU#0: [ 279.834112][ T1084] #0: ffffffff8dafe280 (rtnl_mutex){+.+.}-{4:4}, at: rtm_del_nexthop+0x1ca/0x370 [ 279.834126][ T1084] #1: ffffffff8d399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 279.834132][ T1084] #2: ffffffff8d399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 279.834136][ T1084] #3: ffffffff8d289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 279.834139][ T1084] #4: ffffffff8d289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 279.834143][ T1084] irq event stamp: 13794 [ 279.834144][ T1084] hardirqs last enabled at (13793): [] __down_trylock_console_sem+0x86/0xa0 [ 279.834146][ T1084] hardirqs last disabled at (13794): [] console_emit_next_record+0x3f8/0x4f0 [ 279.834147][ T1084] softirqs last enabled at (13744): [] __remove_nexthop+0x236/0x800 [ 279.834149][ T1084] softirqs last disabled at (13742): [] __remove_nexthop+0xff/0x800 [ 279.834151][ T1084] Preemption disabled at: [ 279.834152][ T1084] [] vprintk_emit+0x31b/0x3e0 [ 279.834158][ T1084] CPU: 0 UID: 0 PID: 1084 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 279.834161][ T1084] Tainted: [W]=WARN [ 279.834162][ T1084] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 279.834164][ T1084] Call Trace: [ 279.834165][ T1084] [ 279.834167][ T1084] dump_stack_lvl+0x6f/0xa0 [ 279.834173][ T1084] ? vprintk_emit+0x31b/0x3e0 [ 279.834175][ T1084] __might_resched.cold+0x1fe/0x2c1 [ 279.834179][ T1084] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 279.834183][ T1084] ? __kmalloc_noprof+0xdb/0x760 [ 279.834188][ T1084] __kmalloc_noprof+0x443/0x760 [ 279.834190][ T1084] ? alloc_buf.isra.0+0x4b/0x260 [ 279.834195][ T1084] ? do_raw_spin_unlock+0x59/0x250 [ 279.834197][ T1084] alloc_buf.isra.0+0x4b/0x260 [ 279.834200][ T1084] put_chars+0x1e1/0x2f0 [ 279.834203][ T1084] ? __send_to_port+0x420/0x420 [ 279.834207][ T1084] ? validate_chain+0x34a/0xc20 [ 279.834211][ T1084] hvc_console_print+0x292/0x780 [ 279.834214][ T1084] ? mark_usage+0x61/0x170 [ 279.834215][ T1084] ? __lock_acquire+0x518/0xc20 [ 279.834217][ T1084] ? __lock_acquire+0x518/0xc20 [ 279.834220][ T1084] ? hvc_write+0x3a0/0x3a0 [ 279.834222][ T1084] ? console_emit_next_record+0x202/0x4f0 [ 279.834225][ T1084] ? rcu_is_watching+0x16/0xd0 [ 279.834228][ T1084] ? lock_acquire+0x13c/0x160 [ 279.834232][ T1084] console_emit_next_record+0x252/0x4f0 [ 279.834235][ T1084] ? devkmsg_read+0x4e0/0x4e0 [ 279.834239][ T1084] ? rcu_is_watching+0x16/0xd0 [ 279.834241][ T1084] ? lock_acquire+0x13c/0x160 [ 279.834245][ T1084] console_flush_one_record+0x46f/0x710 [ 279.834249][ T1084] ? console_emit_next_record+0x4f0/0x4f0 [ 279.834250][ T1084] ? __lock_acquire+0x518/0xc20 [ 279.834255][ T1084] console_unlock+0xee/0x1f0 [ 279.834257][ T1084] ? console_flush_one_record+0x710/0x710 [ 279.834259][ T1084] ? rcu_is_watching+0x16/0xd0 [ 279.834261][ T1084] ? lock_acquire+0x60/0x160 [ 279.834264][ T1084] ? __down_trylock_console_sem+0x5e/0xa0 [ 279.834266][ T1084] ? vprintk_emit+0x320/0x3e0 [ 279.834269][ T1084] vprintk_emit+0x37c/0x3e0 [ 279.834272][ T1084] ? wake_up_klogd_work_func+0x90/0x90 [ 279.834275][ T1084] ? kfree+0x123/0x590 [ 279.834278][ T1084] _printk+0xc7/0x100 [ 279.834281][ T1084] ? snapshot_read.cold+0x21/0x21 [ 279.834286][ T1084] ? nh_hthr_group_rebalance+0x167/0x270 [ 279.834289][ T1084] ? kasan_quarantine_put+0x13e/0x2b0 [ 279.834293][ T1084] remove_nh_grp_entry.cold+0x1b8/0x1fa [ 279.834300][ T1084] ? __lock_acquire+0x518/0xc20 [ 279.834302][ T1084] ? replace_nexthop_grp_res+0xa00/0xa00 [ 279.834308][ T1084] ? __rwlock_init+0x150/0x150 [ 279.834310][ T1084] ? mark_held_locks+0x40/0x70 [ 279.834314][ T1084] __remove_nexthop+0x46d/0x800 [ 279.834318][ T1084] ? remove_nh_grp_entry+0x15f0/0x15f0 [ 279.834323][ T1084] remove_nexthop+0x50/0x100 [ 279.834325][ T1084] rtm_del_nexthop+0x2ba/0x370 [ 279.834328][ T1084] ? remove_nexthop+0x100/0x100 [ 279.834332][ T1084] ? remove_nexthop+0x100/0x100 [ 279.834335][ T1084] ? rtnetlink_rcv_msg+0x6dc/0xbd0 [ 279.834340][ T1084] ? remove_nexthop+0x100/0x100 [ 279.834342][ T1084] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 279.834345][ T1084] ? rtnl_link_fill+0x900/0x900 [ 279.834346][ T1084] ? __lock_acquire+0x518/0xc20 [ 279.834350][ T1084] ? lock_acquire.part.0+0xd4/0x280 [ 279.834352][ T1084] ? find_held_lock+0x2b/0x80 [ 279.834356][ T1084] netlink_rcv_skb+0x14e/0x3a0 [ 279.834360][ T1084] ? rtnl_link_fill+0x900/0x900 [ 279.834363][ T1084] ? netlink_ack+0xcd0/0xcd0 [ 279.834370][ T1084] ? netlink_deliver_tap+0xc5/0x330 [ 279.834372][ T1084] ? netlink_deliver_tap+0x13c/0x330 [ 279.834376][ T1084] netlink_unicast+0x486/0x750 [ 279.834380][ T1084] ? netlink_attachskb+0x810/0x810 [ 279.834383][ T1084] ? __lock_acquire+0x518/0xc20 [ 279.834387][ T1084] netlink_sendmsg+0x735/0xc60 [ 279.834391][ T1084] ? netlink_unicast+0x750/0x750 [ 279.834395][ T1084] ? __might_fault+0x97/0x140 [ 279.834400][ T1084] ____sys_sendmsg+0x415/0x880 [ 279.834404][ T1084] ? copy_msghdr_from_user+0x279/0x420 [ 279.834407][ T1084] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 279.834408][ T1084] ? move_addr_to_kernel+0x40/0x40 [ 279.834410][ T1084] ? pick_eevdf+0x1b0/0x800 [ 279.834415][ T1084] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 279.834419][ T1084] ___sys_sendmsg+0x14e/0x1d0 [ 279.834421][ T1084] ? rcu_read_lock_any_held+0x3c/0x90 [ 279.834424][ T1084] ? copy_msghdr_from_user+0x420/0x420 [ 279.834427][ T1084] ? __lock_acquire+0x518/0xc20 [ 279.834437][ T1084] ? trace_sched_exit_tp+0x9b/0x160 [ 279.834440][ T1084] ? __schedule+0xfa5/0x20e0 [ 279.834445][ T1084] __sys_sendmsg+0x12c/0x1d0 [ 279.834447][ T1084] ? __sys_sendmsg_sock+0x20/0x20 [ 279.834452][ T1084] ? fpregs_restore_userregs+0x14b/0x300 [ 279.834454][ T1084] ? rcu_is_watching+0x16/0xd0 [ 279.834456][ T1084] ? rcu_is_watching+0x16/0xd0 [ 279.834459][ T1084] do_syscall_64+0xff/0x530 [ 279.834462][ T1084] ? irq_exit_rcu+0x1a/0x30 [ 279.834466][ T1084] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 279.834468][ T1084] RIP: 0033:0x7f844039254e [ 279.834472][ T1084] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 279.834474][ T1084] RSP: 002b:00007ffcb68e7260 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 279.834476][ T1084] RAX: ffffffffffffffda RBX: 00007ffcb68e7e10 RCX: 00007f844039254e [ 279.834478][ T1084] RDX: 0000000000000000 RSI: 00007ffcb68e7310 RDI: 0000000000000005 [ 279.834478][ T1084] RBP: 00007ffcb68e7270 R08: 0000000000000000 R09: 0000000000000000 [ 279.834479][ T1084] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a915f61 [ 279.834480][ T1084] R13: 00000000004a1620 R14: 0000000000000004 R15: 00007ffcb68e7df0 [ 279.834487][ T1084] [ 280.650823][ T1130] netdevsim: Failed to replace nexthop bucket [ 280.651164][ T1130] netdevsim: Failed to replace nexthop bucket [ 281.534261][ T1184] Failed to register nexthop notifier [ 281.534426][ T1184] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 281.534428][ T1184] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1184, name: devlink [ 281.534430][ T1184] preempt_count: 1, expected: 0 [ 281.534431][ T1184] RCU nest depth: 0, expected: 0 [ 281.534432][ T1184] locks held by devlink/1184: 7, last CPU#0: [ 281.534434][ T1184] #0: ffffffff8db5db48 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 281.534448][ T1184] #1: ff1100000cb28928 (&dev->mutex){....}-{4:4}, at: devlink_get_from_attrs_lock+0x1e8/0x470 [ 281.534454][ T1184] #2: ff1100000cd82258 (&devlink->lock_key){+.+.}-{4:4}, at: devlink_get_from_attrs_lock+0x1f0/0x470 [ 281.534457][ T1184] #3: ffffffff8d399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 281.534463][ T1184] #4: ffffffff8d399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 281.534467][ T1184] #5: ffffffff8d289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 281.534470][ T1184] #6: ffffffff8d289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 281.534474][ T1184] irq event stamp: 36014 [ 281.534475][ T1184] hardirqs last enabled at (36013): [] __down_trylock_console_sem+0x86/0xa0 [ 281.534477][ T1184] hardirqs last disabled at (36014): [] console_emit_next_record+0x3f8/0x4f0 [ 281.534479][ T1184] softirqs last enabled at (35920): [] handle_softirqs+0x67c/0x900 [ 281.534482][ T1184] softirqs last disabled at (35697): [] __irq_exit_rcu+0x145/0x1c0 [ 281.534485][ T1184] Preemption disabled at: [ 281.534486][ T1184] [] vprintk_emit+0x31b/0x3e0 [ 281.534492][ T1184] CPU: 0 UID: 0 PID: 1184 Comm: devlink Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 281.534495][ T1184] Tainted: [W]=WARN [ 281.534496][ T1184] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 281.534498][ T1184] Call Trace: [ 281.534500][ T1184] [ 281.534502][ T1184] dump_stack_lvl+0x6f/0xa0 [ 281.534507][ T1184] ? vprintk_emit+0x31b/0x3e0 [ 281.534509][ T1184] __might_resched.cold+0x1fe/0x2c1 [ 281.534514][ T1184] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 281.534517][ T1184] ? __kmalloc_noprof+0xdb/0x760 [ 281.534522][ T1184] __kmalloc_noprof+0x443/0x760 [ 281.534524][ T1184] ? alloc_buf.isra.0+0x4b/0x260 [ 281.534530][ T1184] ? do_raw_spin_unlock+0x59/0x250 [ 281.534532][ T1184] alloc_buf.isra.0+0x4b/0x260 [ 281.534536][ T1184] put_chars+0x1e1/0x2f0 [ 281.534538][ T1184] ? __send_to_port+0x420/0x420 [ 281.534545][ T1184] hvc_console_print+0x292/0x780 [ 281.534552][ T1184] ? hvc_write+0x3a0/0x3a0 [ 281.534554][ T1184] ? lock_acquire+0x13c/0x160 [ 281.534558][ T1184] console_emit_next_record+0x252/0x4f0 [ 281.534562][ T1184] ? devkmsg_read+0x4e0/0x4e0 [ 281.534566][ T1184] ? rcu_is_watching+0x16/0xd0 [ 281.534569][ T1184] ? lock_acquire+0x13c/0x160 [ 281.534573][ T1184] console_flush_one_record+0x46f/0x710 [ 281.534577][ T1184] ? console_emit_next_record+0x4f0/0x4f0 [ 281.534579][ T1184] ? __lock_acquire+0x518/0xc20 [ 281.534584][ T1184] console_unlock+0xee/0x1f0 [ 281.534587][ T1184] ? console_flush_one_record+0x710/0x710 [ 281.534588][ T1184] ? rcu_is_watching+0x16/0xd0 [ 281.534590][ T1184] ? lock_acquire+0x60/0x160 [ 281.534594][ T1184] ? __down_trylock_console_sem+0x5e/0xa0 [ 281.534595][ T1184] ? vprintk_emit+0x320/0x3e0 [ 281.534598][ T1184] vprintk_emit+0x37c/0x3e0 [ 281.534602][ T1184] ? wake_up_klogd_work_func+0x90/0x90 [ 281.534604][ T1184] ? __rtnl_unlock+0x5b/0x100 [ 281.534608][ T1184] ? netdev_run_todo+0x2a8/0xfd0 [ 281.534613][ T1184] _printk+0xc7/0x100 [ 281.534617][ T1184] ? snapshot_read.cold+0x21/0x21 [ 281.534623][ T1184] ? __mutex_unlock_slowpath+0x14d/0x740 [ 281.534627][ T1184] nsim_fib_create.cold+0x1d/0x22 [netdevsim] [ 281.534637][ T1184] ? nsim_fib_get_val+0xe0/0xe0 [netdevsim] [ 281.534643][ T1184] ? queue_delayed_work_on+0x95/0x100 [ 281.534647][ T1184] ? nsim_dev_traps_init+0x42f/0x5a0 [netdevsim] [ 281.534653][ T1184] nsim_dev_reload_create+0x1cf/0x4c0 [netdevsim] [ 281.534657][ T1184] ? devlink_reload_reinit_sanity_check+0xf8/0x240 [ 281.534660][ T1184] devlink_reload+0x264/0x430 [ 281.534662][ T1184] ? xa_get_mark+0x140/0x550 [ 281.534666][ T1184] ? devlink_notify_unregister+0x60/0x60 [ 281.534669][ T1184] ? devlink_resources_validate+0xb0/0x130 [ 281.534675][ T1184] devlink_nl_reload_doit+0xbd9/0x1160 [ 281.534678][ T1184] ? devlink_get_from_attrs_lock+0x1f0/0x470 [ 281.534679][ T1184] ? devlink_get_from_attrs_lock+0x230/0x470 [ 281.534681][ T1184] ? devlink_reload+0x430/0x430 [ 281.534682][ T1184] ? devlink_nl_msg_reply_and_new+0x180/0x180 [ 281.534685][ T1184] ? __nla_parse+0x22/0x30 [ 281.534688][ T1184] ? genl_family_rcv_msg_attrs_parse.isra.0+0x189/0x330 [ 281.534693][ T1184] genl_family_rcv_msg_doit+0x206/0x300 [ 281.534697][ T1184] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 281.534699][ T1184] ? __lock_release.isra.0+0x69/0x1a0 [ 281.534704][ T1184] ? rcu_is_watching+0x16/0xd0 [ 281.534706][ T1184] ? cap_capable+0x1d7/0x3d0 [ 281.534710][ T1184] ? write_profile+0xf0/0xf0 [ 281.534713][ T1184] ? unwind_get_return_address+0x67/0xd0 [ 281.534718][ T1184] genl_family_rcv_msg+0x3a4/0x640 [ 281.534722][ T1184] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 281.534724][ T1184] ? rcu_read_lock_any_held+0x3c/0x90 [ 281.534727][ T1184] ? devlink_nl_pre_doit_port+0x110/0x110 [ 281.534728][ T1184] ? devlink_reload+0x430/0x430 [ 281.534729][ T1184] ? devlink_nl_post_doit+0x80/0x80 [ 281.534731][ T1184] ? __lock_acquire+0x518/0xc20 [ 281.534737][ T1184] genl_rcv_msg+0xbb/0x160 [ 281.534740][ T1184] netlink_rcv_skb+0x14e/0x3a0 [ 281.534742][ T1184] ? genl_family_rcv_msg+0x640/0x640 [ 281.534746][ T1184] ? netlink_ack+0xcd0/0xcd0 [ 281.534753][ T1184] ? netlink_deliver_tap+0xc5/0x330 [ 281.534755][ T1184] ? netlink_deliver_tap+0x13c/0x330 [ 281.534759][ T1184] genl_rcv+0x28/0x40 [ 281.534762][ T1184] netlink_unicast+0x486/0x750 [ 281.534766][ T1184] ? netlink_attachskb+0x810/0x810 [ 281.534768][ T1184] ? __lock_acquire+0x518/0xc20 [ 281.534773][ T1184] netlink_sendmsg+0x735/0xc60 [ 281.534777][ T1184] ? netlink_unicast+0x750/0x750 [ 281.534781][ T1184] ? __might_fault+0x97/0x140 [ 281.534784][ T1184] ? __might_fault+0x97/0x140 [ 281.534788][ T1184] __sys_sendto+0x2aa/0x400 [ 281.534791][ T1184] ? __ia32_sys_getpeername+0xd0/0xd0 [ 281.534811][ T1184] __x64_sys_sendto+0xe4/0x1f0 [ 281.534813][ T1184] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 281.534817][ T1184] ? lockdep_hardirqs_on+0x91/0x130 [ 281.534819][ T1184] ? do_syscall_64+0xa6/0x530 [ 281.534820][ T1184] do_syscall_64+0xff/0x530 [ 281.534822][ T1184] ? exc_page_fault+0xee/0x100 [ 281.534824][ T1184] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 281.534827][ T1184] RIP: 0033:0x7f8ea257454e [ 281.534830][ T1184] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 281.534832][ T1184] RSP: 002b:00007fff59789c10 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 281.534835][ T1184] RAX: ffffffffffffffda RBX: 00000000208ae980 RCX: 00007f8ea257454e [ 281.534836][ T1184] RDX: 0000000000000038 RSI: 00000000208aeba0 RDI: 0000000000000005 [ 281.534837][ T1184] RBP: 00007fff59789c20 R08: 00007f8ea2827980 R09: 000000000000000c [ 281.534838][ T1184] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000040d0b0 [ 281.534839][ T1184] R13: 00000000208ae980 R14: 0000000000000000 R15: 0000000000000003 [ 281.534846][ T1184]