[ 12.623199][ T373] devlink (373) used greatest stack depth: 24848 bytes left [ 12.623218][ T373] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.623221][ T373] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 373, name: devlink [ 12.623222][ T373] preempt_count: 2, expected: 0 [ 12.623223][ T373] RCU nest depth: 0, expected: 0 [ 12.623224][ T373] locks held by devlink/373: 5, last CPU#2: [ 12.623226][ T373] #0: ffffffffa4e027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.623239][ T373] #1: ffffffffa4f99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.623245][ T373] #2: ffffffffa4f99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.623249][ T373] #3: ffffffffa4e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.623252][ T373] #4: ffffffffa4e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 12.623256][ T373] irq event stamp: 29008 [ 12.623257][ T373] hardirqs last enabled at (29007): [] __down_trylock_console_sem+0x86/0xa0 [ 12.623260][ T373] hardirqs last disabled at (29008): [] console_emit_next_record+0x3f8/0x4f0 [ 12.623262][ T373] softirqs last enabled at (28702): [] handle_softirqs+0x67c/0x900 [ 12.623264][ T373] softirqs last disabled at (28697): [] __irq_exit_rcu+0x145/0x1c0 [ 12.623267][ T373] Preemption disabled at: [ 12.623268][ T373] [<0000000000000000>] 0x0 [ 12.623276][ T373] CPU: 2 UID: 0 PID: 373 Comm: devlink Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.623281][ T373] Tainted: [W]=WARN [ 12.623282][ T373] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.623283][ T373] Call Trace: [ 12.623285][ T373] [ 12.623287][ T373] dump_stack_lvl+0x6f/0xa0 [ 12.623293][ T373] __might_resched.cold+0x1fe/0x2c1 [ 12.623298][ T373] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.623301][ T373] ? __kmalloc_noprof+0xdb/0x760 [ 12.623306][ T373] __kmalloc_noprof+0x443/0x760 [ 12.623308][ T373] ? alloc_buf.isra.0+0x4b/0x260 [ 12.623314][ T373] ? do_raw_spin_unlock+0x59/0x250 [ 12.623316][ T373] alloc_buf.isra.0+0x4b/0x260 [ 12.623319][ T373] put_chars+0x1e1/0x2f0 [ 12.623322][ T373] ? __send_to_port+0x420/0x420 [ 12.623324][ T373] ? printk_get_next_message+0x2fe/0x7d0 [ 12.623327][ T373] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.623330][ T373] ? validate_chain+0x38b/0xc20 [ 12.623334][ T373] hvc_console_print+0x292/0x780 [ 12.623337][ T373] ? __lock_acquire+0x518/0xc20 [ 12.623338][ T373] ? __lock_acquire+0x518/0xc20 [ 12.623343][ T373] ? hvc_write+0x3a0/0x3a0 [ 12.623346][ T373] ? rcu_is_watching+0x16/0xd0 [ 12.623349][ T373] ? lock_acquire+0x13c/0x160 [ 12.623352][ T373] console_emit_next_record+0x252/0x4f0 [ 12.623356][ T373] ? devkmsg_read+0x4e0/0x4e0 [ 12.623360][ T373] ? rcu_is_watching+0x16/0xd0 [ 12.623362][ T373] ? lock_acquire+0x13c/0x160 [ 12.623366][ T373] console_flush_one_record+0x46f/0x710 [ 12.623370][ T373] ? console_emit_next_record+0x4f0/0x4f0 [ 12.623372][ T373] ? __lock_acquire+0x518/0xc20 [ 12.623377][ T373] console_unlock+0xee/0x1f0 [ 12.623379][ T373] ? console_flush_one_record+0x710/0x710 [ 12.623381][ T373] ? rcu_is_watching+0x16/0xd0 [ 12.623383][ T373] ? lock_acquire+0x60/0x160 [ 12.623386][ T373] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.623388][ T373] ? vprintk_emit+0x320/0x3e0 [ 12.623391][ T373] vprintk_emit+0x37c/0x3e0 [ 12.623395][ T373] ? wake_up_klogd_work_func+0x90/0x90 [ 12.623400][ T373] ? __lock_acquire+0x518/0xc20 [ 12.623406][ T373] _printk+0xc7/0x100 [ 12.623410][ T373] ? snapshot_read.cold+0x21/0x21 [ 12.623413][ T373] ? do_raw_spin_lock+0x131/0x280 [ 12.623415][ T373] ? __rwlock_init+0x150/0x150 [ 12.623419][ T373] ? do_raw_spin_lock+0x131/0x280 [ 12.623421][ T373] do_exit.cold+0x82/0x9c [ 12.623425][ T373] ? exit_notify+0x890/0x890 [ 12.623427][ T373] ? __lock_release.isra.0+0x69/0x1a0 [ 12.623429][ T373] ? rcu_is_watching+0x16/0xd0 [ 12.623433][ T373] do_group_exit+0xb8/0x370 [ 12.623437][ T373] __x64_sys_exit_group+0x3c/0x50 [ 12.623439][ T373] x64_sys_call+0x1567/0x1570 [ 12.623441][ T373] do_syscall_64+0xff/0x530 [ 12.623445][ T373] ? exc_page_fault+0xee/0x100 [ 12.623448][ T373] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.623451][ T373] RIP: 0033:0x7f15e68731b8 [ 12.623453][ T373] Code: Unable to access opcode bytes at 0x7f15e687318e. [ 12.623454][ T373] RSP: 002b:00007ffe5b01c478 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.623457][ T373] RAX: ffffffffffffffda RBX: 00007f15e69a3f88 RCX: 00007f15e68731b8 [ 12.623458][ T373] RDX: 00007f15e65be348 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 12.623459][ T373] RBP: 00007ffe5b01c4d0 R08: 0000000000000000 R09: 0000000000000220 [ 12.623460][ T373] R10: 00007ffe5b01c270 R11: 0000000000000246 R12: 0000000000000001 [ 12.623461][ T373] R13: 0000000000000000 R14: 00007f15e69a2680 R15: 00007f15e69a3fa0 [ 12.623468][ T373] [ 58.422883][ T662] ip (662) used greatest stack depth: 24496 bytes left [ 58.422902][ T662] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 58.422904][ T662] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 662, name: ip [ 58.422906][ T662] preempt_count: 2, expected: 0 [ 58.422907][ T662] RCU nest depth: 0, expected: 0 [ 58.422908][ T662] locks held by ip/662: 5, last CPU#2: [ 58.422910][ T662] #0: ffffffffa4e027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 58.422922][ T662] #1: ffffffffa4f99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 58.422928][ T662] #2: ffffffffa4f99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 58.422932][ T662] #3: ffffffffa4e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 58.422936][ T662] #4: ffffffffa4e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 58.422940][ T662] irq event stamp: 19660 [ 58.422941][ T662] hardirqs last enabled at (19659): [] __down_trylock_console_sem+0x86/0xa0 [ 58.422943][ T662] hardirqs last disabled at (19660): [] console_emit_next_record+0x3f8/0x4f0 [ 58.422944][ T662] softirqs last enabled at (18444): [] handle_softirqs+0x67c/0x900 [ 58.422947][ T662] softirqs last disabled at (18205): [] __irq_exit_rcu+0x145/0x1c0 [ 58.422950][ T662] Preemption disabled at: [ 58.422950][ T662] [<0000000000000000>] 0x0 [ 58.422960][ T662] CPU: 2 UID: 0 PID: 662 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 58.422964][ T662] Tainted: [W]=WARN [ 58.422965][ T662] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 58.422966][ T662] Call Trace: [ 58.422968][ T662] [ 58.422970][ T662] dump_stack_lvl+0x6f/0xa0 [ 58.422976][ T662] __might_resched.cold+0x1fe/0x2c1 [ 58.422980][ T662] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 58.422984][ T662] ? __kmalloc_noprof+0xdb/0x760 [ 58.422989][ T662] __kmalloc_noprof+0x443/0x760 [ 58.422991][ T662] ? alloc_buf.isra.0+0x4b/0x260 [ 58.422997][ T662] ? do_raw_spin_unlock+0x59/0x250 [ 58.422999][ T662] alloc_buf.isra.0+0x4b/0x260 [ 58.423002][ T662] put_chars+0x1e1/0x2f0 [ 58.423005][ T662] ? __send_to_port+0x420/0x420 [ 58.423007][ T662] ? printk_get_next_message+0x2fe/0x7d0 [ 58.423010][ T662] ? rcu_read_lock_any_held+0x3c/0x90 [ 58.423013][ T662] ? validate_chain+0x38b/0xc20 [ 58.423017][ T662] hvc_console_print+0x292/0x780 [ 58.423020][ T662] ? __lock_acquire+0x518/0xc20 [ 58.423021][ T662] ? __lock_acquire+0x518/0xc20 [ 58.423025][ T662] ? hvc_write+0x3a0/0x3a0 [ 58.423028][ T662] ? rcu_is_watching+0x16/0xd0 [ 58.423031][ T662] ? lock_acquire+0x13c/0x160 [ 58.423035][ T662] console_emit_next_record+0x252/0x4f0 [ 58.423038][ T662] ? devkmsg_read+0x4e0/0x4e0 [ 58.423043][ T662] ? rcu_is_watching+0x16/0xd0 [ 58.423045][ T662] ? lock_acquire+0x13c/0x160 [ 58.423048][ T662] console_flush_one_record+0x46f/0x710 [ 58.423052][ T662] ? console_emit_next_record+0x4f0/0x4f0 [ 58.423054][ T662] ? __lock_acquire+0x518/0xc20 [ 58.423059][ T662] console_unlock+0xee/0x1f0 [ 58.423061][ T662] ? console_flush_one_record+0x710/0x710 [ 58.423062][ T662] ? rcu_is_watching+0x16/0xd0 [ 58.423064][ T662] ? lock_acquire+0x60/0x160 [ 58.423068][ T662] ? __down_trylock_console_sem+0x5e/0xa0 [ 58.423069][ T662] ? vprintk_emit+0x320/0x3e0 [ 58.423072][ T662] vprintk_emit+0x37c/0x3e0 [ 58.423076][ T662] ? wake_up_klogd_work_func+0x90/0x90 [ 58.423079][ T662] ? __lock_acquire+0x518/0xc20 [ 58.423082][ T662] _printk+0xc7/0x100 [ 58.423086][ T662] ? snapshot_read.cold+0x21/0x21 [ 58.423089][ T662] ? do_raw_spin_lock+0x131/0x280 [ 58.423091][ T662] ? __rwlock_init+0x150/0x150 [ 58.423094][ T662] ? do_raw_spin_lock+0x131/0x280 [ 58.423097][ T662] do_exit.cold+0x82/0x9c [ 58.423100][ T662] ? exit_notify+0x890/0x890 [ 58.423102][ T662] ? __lock_release.isra.0+0x69/0x1a0 [ 58.423104][ T662] ? rcu_is_watching+0x16/0xd0 [ 58.423108][ T662] do_group_exit+0xb8/0x370 [ 58.423112][ T662] __x64_sys_exit_group+0x3c/0x50 [ 58.423114][ T662] x64_sys_call+0x1567/0x1570 [ 58.423116][ T662] do_syscall_64+0xff/0x530 [ 58.423119][ T662] ? exc_page_fault+0xee/0x100 [ 58.423123][ T662] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 58.423125][ T662] RIP: 0033:0x7efe456731b8 [ 58.423127][ T662] Code: Unable to access opcode bytes at 0x7efe4567318e. [ 58.423128][ T662] RSP: 002b:00007ffd87f34968 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 58.423130][ T662] RAX: ffffffffffffffda RBX: 00007efe457a3f88 RCX: 00007efe456731b8 [ 58.423132][ T662] RDX: 00007efe453bdfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 58.423133][ T662] RBP: 00007ffd87f349c0 R08: 0000000000000000 R09: 0000000000008010 [ 58.423133][ T662] R10: 00007ffd87f34780 R11: 0000000000000246 R12: 0000000000000001 [ 58.423134][ T662] R13: 0000000000000000 R14: 00007efe457a2680 R15: 00007efe457a3fa0 [ 58.423141][ T662] [ 277.468850][ T1078] netdevsim: Exceeded number of supported nexthops [ 277.469027][ T1078] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 277.469029][ T1078] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1078, name: ip [ 277.469031][ T1078] preempt_count: 1, expected: 0 [ 277.469032][ T1078] RCU nest depth: 0, expected: 0 [ 277.469033][ T1078] locks held by ip/1078: 5, last CPU#0: [ 277.469035][ T1078] #0: ffffffffa56fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtm_del_nexthop+0x1ca/0x370 [ 277.469054][ T1078] #1: ffffffffa4f99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 277.469060][ T1078] #2: ffffffffa4f99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 277.469064][ T1078] #3: ffffffffa4e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 277.469067][ T1078] #4: ffffffffa4e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 277.469071][ T1078] irq event stamp: 33884 [ 277.469072][ T1078] hardirqs last enabled at (33883): [] __down_trylock_console_sem+0x86/0xa0 [ 277.469074][ T1078] hardirqs last disabled at (33884): [] console_emit_next_record+0x3f8/0x4f0 [ 277.469076][ T1078] softirqs last enabled at (33834): [] __remove_nexthop+0x236/0x800 [ 277.469077][ T1078] softirqs last disabled at (33832): [] __remove_nexthop+0xff/0x800 [ 277.469079][ T1078] Preemption disabled at: [ 277.469080][ T1078] [] vprintk_emit+0x31b/0x3e0 [ 277.469087][ T1078] CPU: 0 UID: 0 PID: 1078 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 277.469092][ T1078] Tainted: [W]=WARN [ 277.469093][ T1078] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 277.469095][ T1078] Call Trace: [ 277.469097][ T1078] [ 277.469099][ T1078] dump_stack_lvl+0x6f/0xa0 [ 277.469104][ T1078] ? vprintk_emit+0x31b/0x3e0 [ 277.469106][ T1078] __might_resched.cold+0x1fe/0x2c1 [ 277.469111][ T1078] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 277.469115][ T1078] ? __kmalloc_noprof+0xdb/0x760 [ 277.469120][ T1078] __kmalloc_noprof+0x443/0x760 [ 277.469122][ T1078] ? alloc_buf.isra.0+0x4b/0x260 [ 277.469127][ T1078] ? do_raw_spin_unlock+0x59/0x250 [ 277.469130][ T1078] alloc_buf.isra.0+0x4b/0x260 [ 277.469133][ T1078] put_chars+0x1e1/0x2f0 [ 277.469135][ T1078] ? __send_to_port+0x420/0x420 [ 277.469140][ T1078] ? validate_chain+0x34a/0xc20 [ 277.469143][ T1078] hvc_console_print+0x292/0x780 [ 277.469146][ T1078] ? mark_usage+0x61/0x170 [ 277.469148][ T1078] ? __lock_acquire+0x518/0xc20 [ 277.469149][ T1078] ? __lock_acquire+0x518/0xc20 [ 277.469152][ T1078] ? hvc_write+0x3a0/0x3a0 [ 277.469154][ T1078] ? console_emit_next_record+0x202/0x4f0 [ 277.469157][ T1078] ? rcu_is_watching+0x16/0xd0 [ 277.469161][ T1078] ? lock_acquire+0x13c/0x160 [ 277.469165][ T1078] console_emit_next_record+0x252/0x4f0 [ 277.469168][ T1078] ? devkmsg_read+0x4e0/0x4e0 [ 277.469172][ T1078] ? rcu_is_watching+0x16/0xd0 [ 277.469174][ T1078] ? lock_acquire+0x13c/0x160 [ 277.469178][ T1078] console_flush_one_record+0x46f/0x710 [ 277.469181][ T1078] ? console_emit_next_record+0x4f0/0x4f0 [ 277.469183][ T1078] ? __lock_acquire+0x518/0xc20 [ 277.469188][ T1078] console_unlock+0xee/0x1f0 [ 277.469190][ T1078] ? console_flush_one_record+0x710/0x710 [ 277.469192][ T1078] ? rcu_is_watching+0x16/0xd0 [ 277.469194][ T1078] ? lock_acquire+0x60/0x160 [ 277.469197][ T1078] ? __down_trylock_console_sem+0x5e/0xa0 [ 277.469199][ T1078] ? vprintk_emit+0x320/0x3e0 [ 277.469202][ T1078] vprintk_emit+0x37c/0x3e0 [ 277.469205][ T1078] ? wake_up_klogd_work_func+0x90/0x90 [ 277.469209][ T1078] ? kfree+0x123/0x590 [ 277.469212][ T1078] _printk+0xc7/0x100 [ 277.469215][ T1078] ? snapshot_read.cold+0x21/0x21 [ 277.469220][ T1078] ? nh_hthr_group_rebalance+0x167/0x270 [ 277.469223][ T1078] ? kasan_quarantine_put+0x13e/0x2b0 [ 277.469227][ T1078] remove_nh_grp_entry.cold+0x1b8/0x1fa [ 277.469235][ T1078] ? __lock_acquire+0x518/0xc20 [ 277.469236][ T1078] ? replace_nexthop_grp_res+0xa00/0xa00 [ 277.469242][ T1078] ? __rwlock_init+0x150/0x150 [ 277.469244][ T1078] ? mark_held_locks+0x40/0x70 [ 277.469248][ T1078] __remove_nexthop+0x46d/0x800 [ 277.469252][ T1078] ? remove_nh_grp_entry+0x15f0/0x15f0 [ 277.469258][ T1078] remove_nexthop+0x50/0x100 [ 277.469260][ T1078] rtm_del_nexthop+0x2ba/0x370 [ 277.469263][ T1078] ? remove_nexthop+0x100/0x100 [ 277.469267][ T1078] ? remove_nexthop+0x100/0x100 [ 277.469270][ T1078] ? rtnetlink_rcv_msg+0x6dc/0xbd0 [ 277.469274][ T1078] ? remove_nexthop+0x100/0x100 [ 277.469276][ T1078] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 277.469280][ T1078] ? rtnl_link_fill+0x900/0x900 [ 277.469281][ T1078] ? __lock_acquire+0x518/0xc20 [ 277.469285][ T1078] ? lock_acquire.part.0+0xd4/0x280 [ 277.469287][ T1078] ? find_held_lock+0x2b/0x80 [ 277.469291][ T1078] netlink_rcv_skb+0x14e/0x3a0 [ 277.469295][ T1078] ? rtnl_link_fill+0x900/0x900 [ 277.469298][ T1078] ? netlink_ack+0xcd0/0xcd0 [ 277.469305][ T1078] ? netlink_deliver_tap+0xc5/0x330 [ 277.469307][ T1078] ? netlink_deliver_tap+0x13c/0x330 [ 277.469311][ T1078] netlink_unicast+0x486/0x750 [ 277.469315][ T1078] ? netlink_attachskb+0x810/0x810 [ 277.469318][ T1078] ? __lock_acquire+0x518/0xc20 [ 277.469322][ T1078] netlink_sendmsg+0x735/0xc60 [ 277.469326][ T1078] ? netlink_unicast+0x750/0x750 [ 277.469333][ T1078] ? __might_fault+0x97/0x140 [ 277.469339][ T1078] ____sys_sendmsg+0x415/0x880 [ 277.469343][ T1078] ? copy_msghdr_from_user+0x279/0x420 [ 277.469346][ T1078] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 277.469348][ T1078] ? move_addr_to_kernel+0x40/0x40 [ 277.469353][ T1078] ? do_fault_around+0x300/0x5a0 [ 277.469354][ T1078] ? find_held_lock+0x2b/0x80 [ 277.469359][ T1078] ___sys_sendmsg+0x14e/0x1d0 [ 277.469361][ T1078] ? do_pte_missing+0x86f/0xcc0 [ 277.469363][ T1078] ? copy_msghdr_from_user+0x420/0x420 [ 277.469366][ T1078] ? rcu_read_unlock+0x20/0x70 [ 277.469381][ T1078] __sys_sendmsg+0x12c/0x1d0 [ 277.469383][ T1078] ? __sys_sendmsg_sock+0x20/0x20 [ 277.469388][ T1078] ? rcu_is_watching+0x16/0xd0 [ 277.469390][ T1078] ? rcu_is_watching+0x16/0xd0 [ 277.469393][ T1078] do_syscall_64+0xff/0x530 [ 277.469396][ T1078] ? exc_page_fault+0xee/0x100 [ 277.469399][ T1078] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 277.469402][ T1078] RIP: 0033:0x7ff287bb054e [ 277.469405][ T1078] 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.469407][ T1078] RSP: 002b:00007fff74f72c20 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 277.469410][ T1078] RAX: ffffffffffffffda RBX: 00007fff74f737d0 RCX: 00007ff287bb054e [ 277.469411][ T1078] RDX: 0000000000000000 RSI: 00007fff74f72cd0 RDI: 0000000000000005 [ 277.469412][ T1078] RBP: 00007fff74f72c30 R08: 0000000000000000 R09: 0000000000000000 [ 277.469413][ T1078] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a9150f8 [ 277.469414][ T1078] R13: 00000000004a1620 R14: 0000000000000004 R15: 00007fff74f737b0 [ 277.469420][ T1078] [ 277.505048][ T1078] ip (1078) used greatest stack depth: 24040 bytes left [ 278.269800][ T1124] netdevsim: Failed to replace nexthop bucket [ 278.270142][ T1124] netdevsim: Failed to replace nexthop bucket [ 279.102145][ T1178] Failed to register nexthop notifier [ 279.102307][ T1178] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 279.102309][ T1178] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1178, name: devlink [ 279.102311][ T1178] preempt_count: 1, expected: 0 [ 279.102312][ T1178] RCU nest depth: 0, expected: 0 [ 279.102313][ T1178] locks held by devlink/1178: 7, last CPU#3: [ 279.102315][ T1178] #0: ffffffffa575db48 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 279.102328][ T1178] #1: ff11000004f7d128 (&dev->mutex){....}-{4:4}, at: devlink_get_from_attrs_lock+0x1e8/0x470 [ 279.102334][ T1178] #2: ff11000004f7ea58 (&devlink->lock_key){+.+.}-{4:4}, at: devlink_get_from_attrs_lock+0x1f0/0x470 [ 279.102337][ T1178] #3: ffffffffa4f99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 279.102343][ T1178] #4: ffffffffa4f99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 279.102346][ T1178] #5: ffffffffa4e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 279.102349][ T1178] #6: ffffffffa4e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 279.102353][ T1178] irq event stamp: 28194 [ 279.102354][ T1178] hardirqs last enabled at (28193): [] __down_trylock_console_sem+0x86/0xa0 [ 279.102356][ T1178] hardirqs last disabled at (28194): [] console_emit_next_record+0x3f8/0x4f0 [ 279.102358][ T1178] softirqs last enabled at (28120): [] handle_softirqs+0x67c/0x900 [ 279.102362][ T1178] softirqs last disabled at (27953): [] __irq_exit_rcu+0x145/0x1c0 [ 279.102365][ T1178] Preemption disabled at: [ 279.102365][ T1178] [] vprintk_emit+0x31b/0x3e0 [ 279.102371][ T1178] CPU: 3 UID: 0 PID: 1178 Comm: devlink Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 279.102375][ T1178] Tainted: [W]=WARN [ 279.102375][ T1178] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 279.102377][ T1178] Call Trace: [ 279.102379][ T1178] [ 279.102381][ T1178] dump_stack_lvl+0x6f/0xa0 [ 279.102386][ T1178] ? vprintk_emit+0x31b/0x3e0 [ 279.102388][ T1178] __might_resched.cold+0x1fe/0x2c1 [ 279.102393][ T1178] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 279.102396][ T1178] ? __kmalloc_noprof+0xdb/0x760 [ 279.102401][ T1178] __kmalloc_noprof+0x443/0x760 [ 279.102403][ T1178] ? alloc_buf.isra.0+0x4b/0x260 [ 279.102409][ T1178] ? do_raw_spin_unlock+0x59/0x250 [ 279.102411][ T1178] alloc_buf.isra.0+0x4b/0x260 [ 279.102414][ T1178] put_chars+0x1e1/0x2f0 [ 279.102417][ T1178] ? __send_to_port+0x420/0x420 [ 279.102423][ T1178] hvc_console_print+0x292/0x780 [ 279.102430][ T1178] ? hvc_write+0x3a0/0x3a0 [ 279.102432][ T1178] ? lock_acquire+0x13c/0x160 [ 279.102436][ T1178] console_emit_next_record+0x252/0x4f0 [ 279.102439][ T1178] ? devkmsg_read+0x4e0/0x4e0 [ 279.102444][ T1178] ? rcu_is_watching+0x16/0xd0 [ 279.102447][ T1178] ? lock_acquire+0x13c/0x160 [ 279.102451][ T1178] console_flush_one_record+0x46f/0x710 [ 279.102455][ T1178] ? console_emit_next_record+0x4f0/0x4f0 [ 279.102456][ T1178] ? __lock_acquire+0x518/0xc20 [ 279.102461][ T1178] console_unlock+0xee/0x1f0 [ 279.102464][ T1178] ? console_flush_one_record+0x710/0x710 [ 279.102465][ T1178] ? rcu_is_watching+0x16/0xd0 [ 279.102467][ T1178] ? lock_acquire+0x60/0x160 [ 279.102470][ T1178] ? __down_trylock_console_sem+0x5e/0xa0 [ 279.102472][ T1178] ? vprintk_emit+0x320/0x3e0 [ 279.102475][ T1178] vprintk_emit+0x37c/0x3e0 [ 279.102478][ T1178] ? wake_up_klogd_work_func+0x90/0x90 [ 279.102481][ T1178] ? __rtnl_unlock+0x5b/0x100 [ 279.102484][ T1178] ? netdev_run_todo+0x2a8/0xfd0 [ 279.102489][ T1178] _printk+0xc7/0x100 [ 279.102492][ T1178] ? snapshot_read.cold+0x21/0x21 [ 279.102499][ T1178] ? __mutex_unlock_slowpath+0x14d/0x740 [ 279.102503][ T1178] nsim_fib_create.cold+0x1d/0x22 [netdevsim] [ 279.102517][ T1178] ? nsim_fib_get_val+0xe0/0xe0 [netdevsim] [ 279.102524][ T1178] ? queue_delayed_work_on+0x95/0x100 [ 279.102530][ T1178] ? nsim_dev_traps_init+0x42f/0x5a0 [netdevsim] [ 279.102536][ T1178] nsim_dev_reload_create+0x1cf/0x4c0 [netdevsim] [ 279.102541][ T1178] ? devlink_reload_reinit_sanity_check+0xf8/0x240 [ 279.102543][ T1178] devlink_reload+0x264/0x430 [ 279.102546][ T1178] ? xa_get_mark+0x140/0x550 [ 279.102549][ T1178] ? devlink_notify_unregister+0x60/0x60 [ 279.102552][ T1178] ? devlink_resources_validate+0xb0/0x130 [ 279.102558][ T1178] devlink_nl_reload_doit+0xbd9/0x1160 [ 279.102560][ T1178] ? devlink_get_from_attrs_lock+0x1f0/0x470 [ 279.102562][ T1178] ? devlink_get_from_attrs_lock+0x230/0x470 [ 279.102564][ T1178] ? devlink_reload+0x430/0x430 [ 279.102565][ T1178] ? devlink_nl_msg_reply_and_new+0x180/0x180 [ 279.102568][ T1178] ? __nla_parse+0x22/0x30 [ 279.102571][ T1178] ? genl_family_rcv_msg_attrs_parse.isra.0+0x189/0x330 [ 279.102576][ T1178] genl_family_rcv_msg_doit+0x206/0x300 [ 279.102579][ T1178] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 279.102581][ T1178] ? __lock_release.isra.0+0x69/0x1a0 [ 279.102586][ T1178] ? rcu_is_watching+0x16/0xd0 [ 279.102588][ T1178] ? cap_capable+0x1d7/0x3d0 [ 279.102592][ T1178] ? write_profile+0xf0/0xf0 [ 279.102595][ T1178] ? unwind_get_return_address+0x67/0xd0 [ 279.102600][ T1178] genl_family_rcv_msg+0x3a4/0x640 [ 279.102604][ T1178] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 279.102606][ T1178] ? rcu_read_lock_any_held+0x3c/0x90 [ 279.102608][ T1178] ? devlink_nl_pre_doit_port+0x110/0x110 [ 279.102610][ T1178] ? devlink_reload+0x430/0x430 [ 279.102611][ T1178] ? devlink_nl_post_doit+0x80/0x80 [ 279.102613][ T1178] ? __lock_acquire+0x518/0xc20 [ 279.102618][ T1178] genl_rcv_msg+0xbb/0x160 [ 279.102621][ T1178] netlink_rcv_skb+0x14e/0x3a0 [ 279.102623][ T1178] ? genl_family_rcv_msg+0x640/0x640 [ 279.102627][ T1178] ? netlink_ack+0xcd0/0xcd0 [ 279.102634][ T1178] ? netlink_deliver_tap+0xc5/0x330 [ 279.102636][ T1178] ? netlink_deliver_tap+0x13c/0x330 [ 279.102640][ T1178] genl_rcv+0x28/0x40 [ 279.102643][ T1178] netlink_unicast+0x486/0x750 [ 279.102647][ T1178] ? netlink_attachskb+0x810/0x810 [ 279.102649][ T1178] ? __lock_acquire+0x518/0xc20 [ 279.102654][ T1178] netlink_sendmsg+0x735/0xc60 [ 279.102658][ T1178] ? netlink_unicast+0x750/0x750 [ 279.102661][ T1178] ? __might_fault+0x97/0x140 [ 279.102665][ T1178] ? __might_fault+0x97/0x140 [ 279.102668][ T1178] __sys_sendto+0x2aa/0x400 [ 279.102672][ T1178] ? __ia32_sys_getpeername+0xd0/0xd0 [ 279.102685][ T1178] __x64_sys_sendto+0xe4/0x1f0 [ 279.102687][ T1178] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 279.102691][ T1178] ? lockdep_hardirqs_on+0x91/0x130 [ 279.102693][ T1178] ? do_syscall_64+0xa6/0x530 [ 279.102695][ T1178] do_syscall_64+0xff/0x530 [ 279.102696][ T1178] ? exc_page_fault+0xee/0x100 [ 279.102699][ T1178] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 279.102701][ T1178] RIP: 0033:0x7fc6097e054e [ 279.102705][ T1178] 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.102707][ T1178] RSP: 002b:00007ffeb0454fb0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 279.102709][ T1178] RAX: ffffffffffffffda RBX: 000000000edca980 RCX: 00007fc6097e054e [ 279.102711][ T1178] RDX: 0000000000000038 RSI: 000000000edcaba0 RDI: 0000000000000005 [ 279.102712][ T1178] RBP: 00007ffeb0454fc0 R08: 00007fc609a93980 R09: 000000000000000c [ 279.102713][ T1178] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000040d0b0 [ 279.102714][ T1178] R13: 000000000edca980 R14: 0000000000000000 R15: 0000000000000003 [ 279.102720][ T1178]