[ 11.565531][ T334] devlink (334) used greatest stack depth: 24728 bytes left [ 11.565550][ T334] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.565552][ T334] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 334, name: devlink [ 11.565554][ T334] preempt_count: 2, expected: 0 [ 11.565555][ T334] RCU nest depth: 0, expected: 0 [ 11.565556][ T334] locks held by devlink/334: 5, last CPU#1: [ 11.565558][ T334] #0: ffffffffafc027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.565570][ T334] #1: ffffffffafd99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.565575][ T334] #2: ffffffffafd99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.565579][ T334] #3: ffffffffafc89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.565582][ T334] #4: ffffffffafc89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 11.565585][ T334] irq event stamp: 22488 [ 11.565586][ T334] hardirqs last enabled at (22487): [] __down_trylock_console_sem+0x86/0xa0 [ 11.565588][ T334] hardirqs last disabled at (22488): [] console_emit_next_record+0x3f8/0x4f0 [ 11.565590][ T334] softirqs last enabled at (22320): [] handle_softirqs+0x67c/0x900 [ 11.565593][ T334] softirqs last disabled at (22309): [] __irq_exit_rcu+0x145/0x1c0 [ 11.565595][ T334] Preemption disabled at: [ 11.565596][ T334] [<0000000000000000>] 0x0 [ 11.565603][ T334] CPU: 1 UID: 0 PID: 334 Comm: devlink Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.565606][ T334] Tainted: [W]=WARN [ 11.565607][ T334] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.565609][ T334] Call Trace: [ 11.565611][ T334] [ 11.565612][ T334] dump_stack_lvl+0x6f/0xa0 [ 11.565618][ T334] __might_resched.cold+0x1fe/0x2c1 [ 11.565622][ T334] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.565626][ T334] ? __kmalloc_noprof+0xdb/0x760 [ 11.565631][ T334] __kmalloc_noprof+0x443/0x760 [ 11.565633][ T334] ? alloc_buf.isra.0+0x4b/0x260 [ 11.565638][ T334] ? do_raw_spin_unlock+0x59/0x250 [ 11.565640][ T334] alloc_buf.isra.0+0x4b/0x260 [ 11.565643][ T334] put_chars+0x1e1/0x2f0 [ 11.565646][ T334] ? __send_to_port+0x420/0x420 [ 11.565647][ T334] ? printk_get_next_message+0x2fe/0x7d0 [ 11.565650][ T334] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.565653][ T334] ? validate_chain+0x38b/0xc20 [ 11.565657][ T334] hvc_console_print+0x292/0x780 [ 11.565660][ T334] ? __lock_acquire+0x518/0xc20 [ 11.565661][ T334] ? __lock_acquire+0x518/0xc20 [ 11.565665][ T334] ? hvc_write+0x3a0/0x3a0 [ 11.565668][ T334] ? rcu_is_watching+0x16/0xd0 [ 11.565671][ T334] ? lock_acquire+0x13c/0x160 [ 11.565674][ T334] console_emit_next_record+0x252/0x4f0 [ 11.565678][ T334] ? devkmsg_read+0x4e0/0x4e0 [ 11.565682][ T334] ? rcu_is_watching+0x16/0xd0 [ 11.565684][ T334] ? lock_acquire+0x13c/0x160 [ 11.565687][ T334] console_flush_one_record+0x46f/0x710 [ 11.565691][ T334] ? console_emit_next_record+0x4f0/0x4f0 [ 11.565693][ T334] ? __lock_acquire+0x518/0xc20 [ 11.565697][ T334] console_unlock+0xee/0x1f0 [ 11.565700][ T334] ? console_flush_one_record+0x710/0x710 [ 11.565701][ T334] ? rcu_is_watching+0x16/0xd0 [ 11.565703][ T334] ? lock_acquire+0x60/0x160 [ 11.565706][ T334] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.565708][ T334] ? vprintk_emit+0x320/0x3e0 [ 11.565711][ T334] vprintk_emit+0x37c/0x3e0 [ 11.565714][ T334] ? wake_up_klogd_work_func+0x90/0x90 [ 11.565717][ T334] ? __lock_acquire+0x518/0xc20 [ 11.565720][ T334] _printk+0xc7/0x100 [ 11.565724][ T334] ? snapshot_read.cold+0x21/0x21 [ 11.565727][ T334] ? do_raw_spin_lock+0x131/0x280 [ 11.565729][ T334] ? __rwlock_init+0x150/0x150 [ 11.565732][ T334] ? do_raw_spin_lock+0x131/0x280 [ 11.565735][ T334] do_exit.cold+0x82/0x9c [ 11.565738][ T334] ? exit_notify+0x890/0x890 [ 11.565740][ T334] ? __lock_release.isra.0+0x69/0x1a0 [ 11.565743][ T334] ? rcu_is_watching+0x16/0xd0 [ 11.565746][ T334] do_group_exit+0xb8/0x370 [ 11.565749][ T334] __x64_sys_exit_group+0x3c/0x50 [ 11.565752][ T334] x64_sys_call+0x1567/0x1570 [ 11.565754][ T334] do_syscall_64+0xff/0x530 [ 11.565757][ T334] ? exc_page_fault+0xee/0x100 [ 11.565760][ T334] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.565763][ T334] RIP: 0033:0x7fbc58bc11b8 [ 11.565765][ T334] Code: Unable to access opcode bytes at 0x7fbc58bc118e. [ 11.565766][ T334] RSP: 002b:00007ffeda7b0f58 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.565768][ T334] RAX: ffffffffffffffda RBX: 00007fbc58cf1f88 RCX: 00007fbc58bc11b8 [ 11.565769][ T334] RDX: 00007fbc5890c348 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.565770][ T334] RBP: 00007ffeda7b0fb0 R08: 0000000000000000 R09: 0000000000000220 [ 11.565771][ T334] R10: 00007ffeda7b0d50 R11: 0000000000000246 R12: 0000000000000001 [ 11.565772][ T334] R13: 0000000000000000 R14: 00007fbc58cf0680 R15: 00007fbc58cf1fa0 [ 11.565778][ T334] [ 13.885130][ T485] jq (485) used greatest stack depth: 24464 bytes left [ 13.885149][ T485] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.885151][ T485] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 485, name: jq [ 13.885152][ T485] preempt_count: 2, expected: 0 [ 13.885153][ T485] RCU nest depth: 0, expected: 0 [ 13.885154][ T485] locks held by jq/485: 5, last CPU#1: [ 13.885157][ T485] #0: ffffffffafc027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 13.885169][ T485] #1: ffffffffafd99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.885174][ T485] #2: ffffffffafd99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.885178][ T485] #3: ffffffffafc89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.885182][ T485] #4: ffffffffafc89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 13.885186][ T485] irq event stamp: 14106 [ 13.885187][ T485] hardirqs last enabled at (14105): [] __down_trylock_console_sem+0x86/0xa0 [ 13.885189][ T485] hardirqs last disabled at (14106): [] console_emit_next_record+0x3f8/0x4f0 [ 13.885190][ T485] softirqs last enabled at (13232): [] handle_softirqs+0x67c/0x900 [ 13.885193][ T485] softirqs last disabled at (13085): [] __irq_exit_rcu+0x145/0x1c0 [ 13.885196][ T485] Preemption disabled at: [ 13.885196][ T485] [<0000000000000000>] 0x0 [ 13.885203][ T485] CPU: 1 UID: 0 PID: 485 Comm: jq Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.885207][ T485] Tainted: [W]=WARN [ 13.885208][ T485] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.885210][ T485] Call Trace: [ 13.885211][ T485] [ 13.885213][ T485] dump_stack_lvl+0x6f/0xa0 [ 13.885219][ T485] __might_resched.cold+0x1fe/0x2c1 [ 13.885224][ T485] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.885228][ T485] ? __kmalloc_noprof+0xdb/0x760 [ 13.885232][ T485] __kmalloc_noprof+0x443/0x760 [ 13.885234][ T485] ? alloc_buf.isra.0+0x4b/0x260 [ 13.885240][ T485] ? do_raw_spin_unlock+0x59/0x250 [ 13.885242][ T485] alloc_buf.isra.0+0x4b/0x260 [ 13.885245][ T485] put_chars+0x1e1/0x2f0 [ 13.885248][ T485] ? __send_to_port+0x420/0x420 [ 13.885249][ T485] ? printk_get_next_message+0x2fe/0x7d0 [ 13.885253][ T485] ? rcu_read_lock_any_held+0x3c/0x90 [ 13.885255][ T485] ? validate_chain+0x38b/0xc20 [ 13.885259][ T485] hvc_console_print+0x292/0x780 [ 13.885262][ T485] ? __lock_acquire+0x518/0xc20 [ 13.885263][ T485] ? __lock_acquire+0x518/0xc20 [ 13.885267][ T485] ? hvc_write+0x3a0/0x3a0 [ 13.885270][ T485] ? rcu_is_watching+0x16/0xd0 [ 13.885274][ T485] ? lock_acquire+0x13c/0x160 [ 13.885280][ T485] console_emit_next_record+0x252/0x4f0 [ 13.885285][ T485] ? devkmsg_read+0x4e0/0x4e0 [ 13.885291][ T485] ? rcu_is_watching+0x16/0xd0 [ 13.885294][ T485] ? lock_acquire+0x13c/0x160 [ 13.885300][ T485] console_flush_one_record+0x46f/0x710 [ 13.885306][ T485] ? console_emit_next_record+0x4f0/0x4f0 [ 13.885308][ T485] ? __lock_acquire+0x518/0xc20 [ 13.885313][ T485] console_unlock+0xee/0x1f0 [ 13.885315][ T485] ? console_flush_one_record+0x710/0x710 [ 13.885317][ T485] ? rcu_is_watching+0x16/0xd0 [ 13.885319][ T485] ? lock_acquire+0x60/0x160 [ 13.885322][ T485] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.885323][ T485] ? vprintk_emit+0x320/0x3e0 [ 13.885326][ T485] vprintk_emit+0x37c/0x3e0 [ 13.885330][ T485] ? wake_up_klogd_work_func+0x90/0x90 [ 13.885340][ T485] ? __lock_acquire+0x518/0xc20 [ 13.885343][ T485] _printk+0xc7/0x100 [ 13.885347][ T485] ? snapshot_read.cold+0x21/0x21 [ 13.885350][ T485] ? do_raw_spin_lock+0x131/0x280 [ 13.885352][ T485] ? __rwlock_init+0x150/0x150 [ 13.885355][ T485] ? do_raw_spin_lock+0x131/0x280 [ 13.885358][ T485] do_exit.cold+0x82/0x9c [ 13.885361][ T485] ? exit_notify+0x890/0x890 [ 13.885363][ T485] ? __lock_release.isra.0+0x69/0x1a0 [ 13.885365][ T485] ? rcu_is_watching+0x16/0xd0 [ 13.885369][ T485] do_group_exit+0xb8/0x370 [ 13.885372][ T485] __x64_sys_exit_group+0x3c/0x50 [ 13.885375][ T485] x64_sys_call+0x1567/0x1570 [ 13.885377][ T485] do_syscall_64+0xff/0x530 [ 13.885380][ T485] ? exc_page_fault+0xee/0x100 [ 13.885383][ T485] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.885386][ T485] RIP: 0033:0x7f94efa111b8 [ 13.885388][ T485] Code: Unable to access opcode bytes at 0x7f94efa1118e. [ 13.885389][ T485] RSP: 002b:00007ffe3b25f5b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 13.885392][ T485] RAX: ffffffffffffffda RBX: 00007f94efb41f88 RCX: 00007f94efa111b8 [ 13.885393][ T485] RDX: 00007f94ef835a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 13.885394][ T485] RBP: 00007ffe3b25f610 R08: 00000000ffffffff R09: 0000000000000020 [ 13.885395][ T485] R10: 00007ffe3b25f430 R11: 0000000000000246 R12: 0000000000000004 [ 13.885395][ T485] R13: 0000000000000000 R14: 00007f94efb40680 R15: 00007f94efb41fa0 [ 13.885402][ T485] [ 277.117866][ T1080] netdevsim: Exceeded number of supported nexthops [ 277.118061][ T1080] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 277.118063][ T1080] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1080, name: ip [ 277.118065][ T1080] preempt_count: 1, expected: 0 [ 277.118066][ T1080] RCU nest depth: 0, expected: 0 [ 277.118067][ T1080] locks held by ip/1080: 5, last CPU#3: [ 277.118069][ T1080] #0: ffffffffb04fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtm_del_nexthop+0x1ca/0x370 [ 277.118082][ T1080] #1: ffffffffafd99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 277.118089][ T1080] #2: ffffffffafd99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 277.118093][ T1080] #3: ffffffffafc89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 277.118096][ T1080] #4: ffffffffafc89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 277.118100][ T1080] irq event stamp: 18624 [ 277.118101][ T1080] hardirqs last enabled at (18623): [] __down_trylock_console_sem+0x86/0xa0 [ 277.118103][ T1080] hardirqs last disabled at (18624): [] console_emit_next_record+0x3f8/0x4f0 [ 277.118105][ T1080] softirqs last enabled at (18574): [] __remove_nexthop+0x236/0x800 [ 277.118107][ T1080] softirqs last disabled at (18572): [] __remove_nexthop+0xff/0x800 [ 277.118109][ T1080] Preemption disabled at: [ 277.118110][ T1080] [] vprintk_emit+0x31b/0x3e0 [ 277.118116][ T1080] CPU: 3 UID: 0 PID: 1080 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 277.118119][ T1080] Tainted: [W]=WARN [ 277.118120][ T1080] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 277.118122][ T1080] Call Trace: [ 277.118124][ T1080] [ 277.118125][ T1080] dump_stack_lvl+0x6f/0xa0 [ 277.118131][ T1080] ? vprintk_emit+0x31b/0x3e0 [ 277.118133][ T1080] __might_resched.cold+0x1fe/0x2c1 [ 277.118137][ T1080] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 277.118141][ T1080] ? __kmalloc_noprof+0xdb/0x760 [ 277.118146][ T1080] __kmalloc_noprof+0x443/0x760 [ 277.118148][ T1080] ? alloc_buf.isra.0+0x4b/0x260 [ 277.118154][ T1080] ? do_raw_spin_unlock+0x59/0x250 [ 277.118157][ T1080] alloc_buf.isra.0+0x4b/0x260 [ 277.118160][ T1080] put_chars+0x1e1/0x2f0 [ 277.118163][ T1080] ? __send_to_port+0x420/0x420 [ 277.118167][ T1080] ? validate_chain+0x34a/0xc20 [ 277.118170][ T1080] hvc_console_print+0x292/0x780 [ 277.118174][ T1080] ? mark_usage+0x61/0x170 [ 277.118175][ T1080] ? __lock_acquire+0x518/0xc20 [ 277.118176][ T1080] ? __lock_acquire+0x518/0xc20 [ 277.118180][ T1080] ? hvc_write+0x3a0/0x3a0 [ 277.118182][ T1080] ? console_emit_next_record+0x202/0x4f0 [ 277.118185][ T1080] ? rcu_is_watching+0x16/0xd0 [ 277.118189][ T1080] ? lock_acquire+0x13c/0x160 [ 277.118192][ T1080] console_emit_next_record+0x252/0x4f0 [ 277.118196][ T1080] ? devkmsg_read+0x4e0/0x4e0 [ 277.118200][ T1080] ? rcu_is_watching+0x16/0xd0 [ 277.118202][ T1080] ? lock_acquire+0x13c/0x160 [ 277.118206][ T1080] console_flush_one_record+0x46f/0x710 [ 277.118210][ T1080] ? console_emit_next_record+0x4f0/0x4f0 [ 277.118211][ T1080] ? __lock_acquire+0x518/0xc20 [ 277.118216][ T1080] console_unlock+0xee/0x1f0 [ 277.118219][ T1080] ? console_flush_one_record+0x710/0x710 [ 277.118220][ T1080] ? rcu_is_watching+0x16/0xd0 [ 277.118222][ T1080] ? lock_acquire+0x60/0x160 [ 277.118226][ T1080] ? __down_trylock_console_sem+0x5e/0xa0 [ 277.118227][ T1080] ? vprintk_emit+0x320/0x3e0 [ 277.118230][ T1080] vprintk_emit+0x37c/0x3e0 [ 277.118234][ T1080] ? wake_up_klogd_work_func+0x90/0x90 [ 277.118237][ T1080] ? kfree+0x123/0x590 [ 277.118240][ T1080] _printk+0xc7/0x100 [ 277.118243][ T1080] ? snapshot_read.cold+0x21/0x21 [ 277.118248][ T1080] ? nh_hthr_group_rebalance+0x167/0x270 [ 277.118251][ T1080] ? kasan_quarantine_put+0x13e/0x2b0 [ 277.118256][ T1080] remove_nh_grp_entry.cold+0x1b8/0x1fa [ 277.118263][ T1080] ? __lock_acquire+0x518/0xc20 [ 277.118265][ T1080] ? replace_nexthop_grp_res+0xa00/0xa00 [ 277.118271][ T1080] ? __rwlock_init+0x150/0x150 [ 277.118273][ T1080] ? mark_held_locks+0x40/0x70 [ 277.118277][ T1080] __remove_nexthop+0x46d/0x800 [ 277.118281][ T1080] ? remove_nh_grp_entry+0x15f0/0x15f0 [ 277.118286][ T1080] remove_nexthop+0x50/0x100 [ 277.118289][ T1080] rtm_del_nexthop+0x2ba/0x370 [ 277.118291][ T1080] ? remove_nexthop+0x100/0x100 [ 277.118295][ T1080] ? remove_nexthop+0x100/0x100 [ 277.118299][ T1080] ? rtnetlink_rcv_msg+0x6dc/0xbd0 [ 277.118303][ T1080] ? remove_nexthop+0x100/0x100 [ 277.118305][ T1080] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 277.118308][ T1080] ? rtnl_link_fill+0x900/0x900 [ 277.118310][ T1080] ? __lock_acquire+0x518/0xc20 [ 277.118314][ T1080] ? lock_acquire.part.0+0xd4/0x280 [ 277.118316][ T1080] ? find_held_lock+0x2b/0x80 [ 277.118321][ T1080] netlink_rcv_skb+0x14e/0x3a0 [ 277.118324][ T1080] ? rtnl_link_fill+0x900/0x900 [ 277.118327][ T1080] ? netlink_ack+0xcd0/0xcd0 [ 277.118334][ T1080] ? netlink_deliver_tap+0xc5/0x330 [ 277.118336][ T1080] ? netlink_deliver_tap+0x13c/0x330 [ 277.118340][ T1080] netlink_unicast+0x486/0x750 [ 277.118344][ T1080] ? netlink_attachskb+0x810/0x810 [ 277.118347][ T1080] ? __lock_acquire+0x518/0xc20 [ 277.118351][ T1080] netlink_sendmsg+0x735/0xc60 [ 277.118355][ T1080] ? netlink_unicast+0x750/0x750 [ 277.118359][ T1080] ? __might_fault+0x97/0x140 [ 277.118365][ T1080] ____sys_sendmsg+0x415/0x880 [ 277.118369][ T1080] ? copy_msghdr_from_user+0x279/0x420 [ 277.118371][ T1080] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 277.118373][ T1080] ? move_addr_to_kernel+0x40/0x40 [ 277.118375][ T1080] ? __lock_acquire+0x518/0xc20 [ 277.118379][ T1080] ? lock_acquire.part.0+0xd4/0x280 [ 277.118381][ T1080] ? __might_fault+0x97/0x140 [ 277.118384][ T1080] ___sys_sendmsg+0x14e/0x1d0 [ 277.118387][ T1080] ? copy_msghdr_from_user+0x420/0x420 [ 277.118390][ T1080] ? __might_fault+0x97/0x140 [ 277.118396][ T1080] ? rcu_is_watching+0x16/0xd0 [ 277.118404][ T1080] ? put_user_ifreq+0x90/0x90 [ 277.118407][ T1080] __sys_sendmsg+0x12c/0x1d0 [ 277.118410][ T1080] ? __sys_sendmsg_sock+0x20/0x20 [ 277.118416][ T1080] ? rcu_is_watching+0x16/0xd0 [ 277.118419][ T1080] do_syscall_64+0xff/0x530 [ 277.118424][ T1080] ? exc_page_fault+0xee/0x100 [ 277.118427][ T1080] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 277.118429][ T1080] RIP: 0033:0x7fc21260754e [ 277.118434][ T1080] 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 [ 277.118436][ T1080] RSP: 002b:00007ffd5b644a10 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 277.118439][ T1080] RAX: ffffffffffffffda RBX: 00007ffd5b6455c0 RCX: 00007fc21260754e [ 277.118440][ T1080] RDX: 0000000000000000 RSI: 00007ffd5b644ac0 RDI: 0000000000000005 [ 277.118441][ T1080] RBP: 00007ffd5b644a20 R08: 0000000000000000 R09: 0000000000000000 [ 277.118442][ T1080] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a917ad9 [ 277.118443][ T1080] R13: 00000000004a1620 R14: 0000000000000004 R15: 00007ffd5b6455a0 [ 277.118450][ T1080] [ 277.159438][ T1080] ip (1080) used greatest stack depth: 24040 bytes left [ 277.877190][ T1126] netdevsim: Failed to replace nexthop bucket [ 277.877874][ T1126] netdevsim: Failed to replace nexthop bucket [ 278.729674][ T1180] Failed to register nexthop notifier [ 278.729778][ T1180] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 278.729781][ T1180] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1180, name: devlink [ 278.729783][ T1180] preempt_count: 1, expected: 0 [ 278.729784][ T1180] RCU nest depth: 0, expected: 0 [ 278.729785][ T1180] locks held by devlink/1180: 7, last CPU#0: [ 278.729787][ T1180] #0: ffffffffb055db08 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 278.729799][ T1180] #1: ff1100000902d128 (&dev->mutex){....}-{4:4}, at: devlink_get_from_attrs_lock+0x1e8/0x470 [ 278.729805][ T1180] #2: ff11000009028a58 (&devlink->lock_key){+.+.}-{4:4}, at: devlink_get_from_attrs_lock+0x1f0/0x470 [ 278.729809][ T1180] #3: ffffffffafd99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 278.729814][ T1180] #4: ffffffffafd99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 278.729818][ T1180] #5: ffffffffafc89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 278.729822][ T1180] #6: ffffffffafc89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 278.729825][ T1180] irq event stamp: 27992 [ 278.729826][ T1180] hardirqs last enabled at (27991): [] __down_trylock_console_sem+0x86/0xa0 [ 278.729829][ T1180] hardirqs last disabled at (27992): [] console_emit_next_record+0x3f8/0x4f0 [ 278.729830][ T1180] softirqs last enabled at (25360): [] handle_softirqs+0x67c/0x900 [ 278.729835][ T1180] softirqs last disabled at (25355): [] __irq_exit_rcu+0x145/0x1c0 [ 278.729837][ T1180] Preemption disabled at: [ 278.729838][ T1180] [] vprintk_emit+0x31b/0x3e0 [ 278.729844][ T1180] CPU: 0 UID: 0 PID: 1180 Comm: devlink Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 278.729847][ T1180] Tainted: [W]=WARN [ 278.729848][ T1180] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 278.729850][ T1180] Call Trace: [ 278.729852][ T1180] [ 278.729853][ T1180] dump_stack_lvl+0x6f/0xa0 [ 278.729859][ T1180] ? vprintk_emit+0x31b/0x3e0 [ 278.729861][ T1180] __might_resched.cold+0x1fe/0x2c1 [ 278.729866][ T1180] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 278.729870][ T1180] ? __kmalloc_noprof+0xdb/0x760 [ 278.729874][ T1180] __kmalloc_noprof+0x443/0x760 [ 278.729877][ T1180] ? alloc_buf.isra.0+0x4b/0x260 [ 278.729883][ T1180] ? do_raw_spin_unlock+0x59/0x250 [ 278.729885][ T1180] alloc_buf.isra.0+0x4b/0x260 [ 278.729889][ T1180] put_chars+0x1e1/0x2f0 [ 278.729892][ T1180] ? __send_to_port+0x420/0x420 [ 278.729899][ T1180] hvc_console_print+0x292/0x780 [ 278.729905][ T1180] ? hvc_write+0x3a0/0x3a0 [ 278.729908][ T1180] ? lock_acquire+0x13c/0x160 [ 278.729912][ T1180] console_emit_next_record+0x252/0x4f0 [ 278.729915][ T1180] ? devkmsg_read+0x4e0/0x4e0 [ 278.729920][ T1180] ? rcu_is_watching+0x16/0xd0 [ 278.729923][ T1180] ? lock_acquire+0x13c/0x160 [ 278.729927][ T1180] console_flush_one_record+0x46f/0x710 [ 278.729931][ T1180] ? console_emit_next_record+0x4f0/0x4f0 [ 278.729933][ T1180] ? __lock_acquire+0x518/0xc20 [ 278.729938][ T1180] console_unlock+0xee/0x1f0 [ 278.729941][ T1180] ? console_flush_one_record+0x710/0x710 [ 278.729943][ T1180] ? rcu_is_watching+0x16/0xd0 [ 278.729945][ T1180] ? lock_acquire+0x60/0x160 [ 278.729949][ T1180] ? __down_trylock_console_sem+0x5e/0xa0 [ 278.729950][ T1180] ? vprintk_emit+0x320/0x3e0 [ 278.729953][ T1180] vprintk_emit+0x37c/0x3e0 [ 278.729957][ T1180] ? wake_up_klogd_work_func+0x90/0x90 [ 278.729959][ T1180] ? __rtnl_unlock+0x5b/0x100 [ 278.729969][ T1180] ? netdev_run_todo+0x2a8/0xfd0 [ 278.729974][ T1180] _printk+0xc7/0x100 [ 278.729977][ T1180] ? snapshot_read.cold+0x21/0x21 [ 278.729984][ T1180] ? __mutex_unlock_slowpath+0x14d/0x740 [ 278.729989][ T1180] nsim_fib_create.cold+0x1d/0x22 [netdevsim] [ 278.729999][ T1180] ? nsim_fib_get_val+0xe0/0xe0 [netdevsim] [ 278.730005][ T1180] ? queue_delayed_work_on+0x95/0x100 [ 278.730009][ T1180] ? nsim_dev_traps_init+0x42f/0x5a0 [netdevsim] [ 278.730015][ T1180] nsim_dev_reload_create+0x1cf/0x4c0 [netdevsim] [ 278.730020][ T1180] ? devlink_reload_reinit_sanity_check+0xf8/0x240 [ 278.730022][ T1180] devlink_reload+0x264/0x430 [ 278.730025][ T1180] ? xa_get_mark+0x140/0x550 [ 278.730028][ T1180] ? devlink_notify_unregister+0x60/0x60 [ 278.730032][ T1180] ? devlink_resources_validate+0xb0/0x130 [ 278.730038][ T1180] devlink_nl_reload_doit+0xbd9/0x1160 [ 278.730040][ T1180] ? devlink_get_from_attrs_lock+0x1f0/0x470 [ 278.730042][ T1180] ? devlink_get_from_attrs_lock+0x230/0x470 [ 278.730044][ T1180] ? devlink_reload+0x430/0x430 [ 278.730045][ T1180] ? devlink_nl_msg_reply_and_new+0x180/0x180 [ 278.730048][ T1180] ? __nla_parse+0x22/0x30 [ 278.730052][ T1180] ? genl_family_rcv_msg_attrs_parse.isra.0+0x189/0x330 [ 278.730057][ T1180] genl_family_rcv_msg_doit+0x206/0x300 [ 278.730060][ T1180] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 278.730062][ T1180] ? __lock_release.isra.0+0x69/0x1a0 [ 278.730068][ T1180] ? rcu_is_watching+0x16/0xd0 [ 278.730070][ T1180] ? cap_capable+0x1d7/0x3d0 [ 278.730074][ T1180] ? write_profile+0xf0/0xf0 [ 278.730077][ T1180] ? unwind_get_return_address+0x67/0xd0 [ 278.730083][ T1180] genl_family_rcv_msg+0x3a4/0x640 [ 278.730086][ T1180] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 278.730089][ T1180] ? rcu_read_lock_any_held+0x3c/0x90 [ 278.730091][ T1180] ? devlink_nl_pre_doit_port+0x110/0x110 [ 278.730092][ T1180] ? devlink_reload+0x430/0x430 [ 278.730094][ T1180] ? devlink_nl_post_doit+0x80/0x80 [ 278.730096][ T1180] ? __lock_acquire+0x518/0xc20 [ 278.730101][ T1180] genl_rcv_msg+0xbb/0x160 [ 278.730105][ T1180] netlink_rcv_skb+0x14e/0x3a0 [ 278.730107][ T1180] ? genl_family_rcv_msg+0x640/0x640 [ 278.730111][ T1180] ? netlink_ack+0xcd0/0xcd0 [ 278.730118][ T1180] ? netlink_deliver_tap+0xc5/0x330 [ 278.730120][ T1180] ? netlink_deliver_tap+0x13c/0x330 [ 278.730124][ T1180] genl_rcv+0x28/0x40 [ 278.730127][ T1180] netlink_unicast+0x486/0x750 [ 278.730131][ T1180] ? netlink_attachskb+0x810/0x810 [ 278.730134][ T1180] ? __lock_acquire+0x518/0xc20 [ 278.730138][ T1180] netlink_sendmsg+0x735/0xc60 [ 278.730143][ T1180] ? netlink_unicast+0x750/0x750 [ 278.730146][ T1180] ? __might_fault+0x97/0x140 [ 278.730150][ T1180] ? __might_fault+0x97/0x140 [ 278.730153][ T1180] __sys_sendto+0x2aa/0x400 [ 278.730157][ T1180] ? __ia32_sys_getpeername+0xd0/0xd0 [ 278.730172][ T1180] __x64_sys_sendto+0xe4/0x1f0 [ 278.730173][ T1180] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 278.730177][ T1180] ? lockdep_hardirqs_on+0x91/0x130 [ 278.730180][ T1180] ? do_syscall_64+0xa6/0x530 [ 278.730181][ T1180] do_syscall_64+0xff/0x530 [ 278.730183][ T1180] ? exc_page_fault+0xee/0x100 [ 278.730185][ T1180] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 278.730188][ T1180] RIP: 0033:0x7f9c77c6e54e [ 278.730192][ T1180] 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 [ 278.730194][ T1180] RSP: 002b:00007ffd8fd5fc20 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 278.730197][ T1180] RAX: ffffffffffffffda RBX: 000000002e800980 RCX: 00007f9c77c6e54e [ 278.730198][ T1180] RDX: 0000000000000038 RSI: 000000002e800ba0 RDI: 0000000000000005 [ 278.730199][ T1180] RBP: 00007ffd8fd5fc30 R08: 00007f9c77f21980 R09: 000000000000000c [ 278.730200][ T1180] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000040d0b0 [ 278.730201][ T1180] R13: 000000002e800980 R14: 0000000000000000 R15: 0000000000000003 [ 278.730208][ T1180]