[ 12.477729][ T357] devlink (357) used greatest stack depth: 24728 bytes left [ 12.477751][ T357] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.477754][ T357] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 357, name: devlink [ 12.477755][ T357] preempt_count: 2, expected: 0 [ 12.477756][ T357] RCU nest depth: 0, expected: 0 [ 12.477757][ T357] locks held by devlink/357: 5, last CPU#0: [ 12.477759][ T357] #0: ffffffffa72027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.477772][ T357] #1: ffffffffa7399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.477777][ T357] #2: ffffffffa7399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.477781][ T357] #3: ffffffffa7289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.477785][ T357] #4: ffffffffa7289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 12.477788][ T357] irq event stamp: 29006 [ 12.477789][ T357] hardirqs last enabled at (29005): [] __down_trylock_console_sem+0x86/0xa0 [ 12.477792][ T357] hardirqs last disabled at (29006): [] console_emit_next_record+0x3f8/0x4f0 [ 12.477794][ T357] softirqs last enabled at (28698): [] handle_softirqs+0x67c/0x900 [ 12.477796][ T357] softirqs last disabled at (28693): [] __irq_exit_rcu+0x145/0x1c0 [ 12.477799][ T357] Preemption disabled at: [ 12.477800][ T357] [<0000000000000000>] 0x0 [ 12.477806][ T357] CPU: 0 UID: 0 PID: 357 Comm: devlink Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.477810][ T357] Tainted: [W]=WARN [ 12.477811][ T357] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.477813][ T357] Call Trace: [ 12.477814][ T357] [ 12.477816][ T357] dump_stack_lvl+0x6f/0xa0 [ 12.477822][ T357] __might_resched.cold+0x1fe/0x2c1 [ 12.477826][ T357] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.477830][ T357] ? __kmalloc_noprof+0xdb/0x760 [ 12.477835][ T357] __kmalloc_noprof+0x443/0x760 [ 12.477837][ T357] ? alloc_buf.isra.0+0x4b/0x260 [ 12.477843][ T357] ? do_raw_spin_unlock+0x59/0x250 [ 12.477845][ T357] alloc_buf.isra.0+0x4b/0x260 [ 12.477848][ T357] put_chars+0x1e1/0x2f0 [ 12.477851][ T357] ? __send_to_port+0x420/0x420 [ 12.477853][ T357] ? printk_get_next_message+0x2fe/0x7d0 [ 12.477856][ T357] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.477859][ T357] ? validate_chain+0x38b/0xc20 [ 12.477863][ T357] hvc_console_print+0x292/0x780 [ 12.477866][ T357] ? __lock_acquire+0x518/0xc20 [ 12.477867][ T357] ? __lock_acquire+0x518/0xc20 [ 12.477871][ T357] ? hvc_write+0x3a0/0x3a0 [ 12.477874][ T357] ? rcu_is_watching+0x16/0xd0 [ 12.477877][ T357] ? lock_acquire+0x13c/0x160 [ 12.477881][ T357] console_emit_next_record+0x252/0x4f0 [ 12.477885][ T357] ? devkmsg_read+0x4e0/0x4e0 [ 12.477889][ T357] ? rcu_is_watching+0x16/0xd0 [ 12.477891][ T357] ? lock_acquire+0x13c/0x160 [ 12.477895][ T357] console_flush_one_record+0x46f/0x710 [ 12.477899][ T357] ? console_emit_next_record+0x4f0/0x4f0 [ 12.477900][ T357] ? __lock_acquire+0x518/0xc20 [ 12.477905][ T357] console_unlock+0xee/0x1f0 [ 12.477908][ T357] ? console_flush_one_record+0x710/0x710 [ 12.477909][ T357] ? rcu_is_watching+0x16/0xd0 [ 12.477911][ T357] ? lock_acquire+0x60/0x160 [ 12.477915][ T357] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.477916][ T357] ? vprintk_emit+0x320/0x3e0 [ 12.477919][ T357] vprintk_emit+0x37c/0x3e0 [ 12.477923][ T357] ? wake_up_klogd_work_func+0x90/0x90 [ 12.477926][ T357] ? __lock_acquire+0x518/0xc20 [ 12.477929][ T357] _printk+0xc7/0x100 [ 12.477933][ T357] ? snapshot_read.cold+0x21/0x21 [ 12.477936][ T357] ? do_raw_spin_lock+0x131/0x280 [ 12.477938][ T357] ? __rwlock_init+0x150/0x150 [ 12.477942][ T357] ? do_raw_spin_lock+0x131/0x280 [ 12.477944][ T357] do_exit.cold+0x82/0x9c [ 12.477948][ T357] ? exit_notify+0x890/0x890 [ 12.477950][ T357] ? __lock_release.isra.0+0x69/0x1a0 [ 12.477953][ T357] ? rcu_is_watching+0x16/0xd0 [ 12.477957][ T357] do_group_exit+0xb8/0x370 [ 12.477960][ T357] __x64_sys_exit_group+0x3c/0x50 [ 12.477962][ T357] x64_sys_call+0x1567/0x1570 [ 12.477965][ T357] do_syscall_64+0xff/0x530 [ 12.477968][ T357] ? exc_page_fault+0xee/0x100 [ 12.477971][ T357] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.477973][ T357] RIP: 0033:0x7f29acf011b8 [ 12.477976][ T357] Code: Unable to access opcode bytes at 0x7f29acf0118e. [ 12.477977][ T357] RSP: 002b:00007fff8c8bc6a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.477979][ T357] RAX: ffffffffffffffda RBX: 00007f29ad031f88 RCX: 00007f29acf011b8 [ 12.477981][ T357] RDX: 00007f29acc4c348 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 12.477982][ T357] RBP: 00007fff8c8bc700 R08: 0000000000000000 R09: 0000000000000220 [ 12.477982][ T357] R10: 00007fff8c8bc4a0 R11: 0000000000000246 R12: 0000000000000001 [ 12.477983][ T357] R13: 0000000000000000 R14: 00007f29ad030680 R15: 00007f29ad031fa0 [ 12.477990][ T357] [ 21.071763][ T520] ip (520) used greatest stack depth: 23808 bytes left [ 21.071783][ T520] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 21.071786][ T520] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 520, name: ip [ 21.071787][ T520] preempt_count: 2, expected: 0 [ 21.071788][ T520] RCU nest depth: 0, expected: 0 [ 21.071789][ T520] locks held by ip/520: 5, last CPU#0: [ 21.071792][ T520] #0: ffffffffa72027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 21.071804][ T520] #1: ffffffffa7399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 21.071810][ T520] #2: ffffffffa7399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 21.071813][ T520] #3: ffffffffa7289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 21.071816][ T520] #4: ffffffffa7289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 21.071820][ T520] irq event stamp: 27524 [ 21.071821][ T520] hardirqs last enabled at (27523): [] __down_trylock_console_sem+0x86/0xa0 [ 21.071823][ T520] hardirqs last disabled at (27524): [] console_emit_next_record+0x3f8/0x4f0 [ 21.071825][ T520] softirqs last enabled at (26214): [] handle_softirqs+0x67c/0x900 [ 21.071828][ T520] softirqs last disabled at (25333): [] __irq_exit_rcu+0x145/0x1c0 [ 21.071831][ T520] Preemption disabled at: [ 21.071831][ T520] [<0000000000000000>] 0x0 [ 21.071838][ T520] CPU: 0 UID: 0 PID: 520 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 21.071842][ T520] Tainted: [W]=WARN [ 21.071842][ T520] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.071844][ T520] Call Trace: [ 21.071846][ T520] [ 21.071848][ T520] dump_stack_lvl+0x6f/0xa0 [ 21.071854][ T520] __might_resched.cold+0x1fe/0x2c1 [ 21.071858][ T520] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 21.071862][ T520] ? __kmalloc_noprof+0xdb/0x760 [ 21.071867][ T520] __kmalloc_noprof+0x443/0x760 [ 21.071869][ T520] ? alloc_buf.isra.0+0x4b/0x260 [ 21.071875][ T520] ? do_raw_spin_unlock+0x59/0x250 [ 21.071877][ T520] alloc_buf.isra.0+0x4b/0x260 [ 21.071880][ T520] put_chars+0x1e1/0x2f0 [ 21.071883][ T520] ? __send_to_port+0x420/0x420 [ 21.071885][ T520] ? printk_get_next_message+0x2fe/0x7d0 [ 21.071888][ T520] ? rcu_read_lock_any_held+0x3c/0x90 [ 21.071891][ T520] ? validate_chain+0x38b/0xc20 [ 21.071895][ T520] hvc_console_print+0x292/0x780 [ 21.071898][ T520] ? __lock_acquire+0x518/0xc20 [ 21.071899][ T520] ? __lock_acquire+0x518/0xc20 [ 21.071903][ T520] ? hvc_write+0x3a0/0x3a0 [ 21.071906][ T520] ? rcu_is_watching+0x16/0xd0 [ 21.071910][ T520] ? lock_acquire+0x13c/0x160 [ 21.071913][ T520] console_emit_next_record+0x252/0x4f0 [ 21.071917][ T520] ? devkmsg_read+0x4e0/0x4e0 [ 21.071921][ T520] ? rcu_is_watching+0x16/0xd0 [ 21.071924][ T520] ? lock_acquire+0x13c/0x160 [ 21.071927][ T520] console_flush_one_record+0x46f/0x710 [ 21.071931][ T520] ? console_emit_next_record+0x4f0/0x4f0 [ 21.071933][ T520] ? __lock_acquire+0x518/0xc20 [ 21.071938][ T520] console_unlock+0xee/0x1f0 [ 21.071940][ T520] ? console_flush_one_record+0x710/0x710 [ 21.071942][ T520] ? rcu_is_watching+0x16/0xd0 [ 21.071944][ T520] ? lock_acquire+0x60/0x160 [ 21.071948][ T520] ? __down_trylock_console_sem+0x5e/0xa0 [ 21.071949][ T520] ? vprintk_emit+0x320/0x3e0 [ 21.071952][ T520] vprintk_emit+0x37c/0x3e0 [ 21.071956][ T520] ? wake_up_klogd_work_func+0x90/0x90 [ 21.071959][ T520] ? __lock_acquire+0x518/0xc20 [ 21.071962][ T520] _printk+0xc7/0x100 [ 21.071966][ T520] ? snapshot_read.cold+0x21/0x21 [ 21.071969][ T520] ? do_raw_spin_lock+0x131/0x280 [ 21.071971][ T520] ? __rwlock_init+0x150/0x150 [ 21.071975][ T520] ? do_raw_spin_lock+0x131/0x280 [ 21.071977][ T520] do_exit.cold+0x82/0x9c [ 21.071981][ T520] ? exit_notify+0x890/0x890 [ 21.071982][ T520] ? __lock_release.isra.0+0x69/0x1a0 [ 21.071985][ T520] ? rcu_is_watching+0x16/0xd0 [ 21.071989][ T520] do_group_exit+0xb8/0x370 [ 21.071992][ T520] __x64_sys_exit_group+0x3c/0x50 [ 21.071995][ T520] x64_sys_call+0x1567/0x1570 [ 21.071997][ T520] do_syscall_64+0xff/0x530 [ 21.072000][ T520] ? exc_page_fault+0xee/0x100 [ 21.072004][ T520] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 21.072006][ T520] RIP: 0033:0x7fdf89e721b8 [ 21.072008][ T520] Code: Unable to access opcode bytes at 0x7fdf89e7218e. [ 21.072009][ T520] RSP: 002b:00007fff59949128 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 21.072012][ T520] RAX: ffffffffffffffda RBX: 00007fdf89fa2f88 RCX: 00007fdf89e721b8 [ 21.072013][ T520] RDX: 00007fdf89bbcfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 21.072014][ T520] RBP: 00007fff59949180 R08: 0000000000000000 R09: 0000000000008010 [ 21.072015][ T520] R10: 00007fff59948f40 R11: 0000000000000246 R12: 0000000000000001 [ 21.072016][ T520] R13: 0000000000000000 R14: 00007fdf89fa1680 R15: 00007fdf89fa2fa0 [ 21.072022][ T520] [ 278.638081][ T1084] netdevsim: Exceeded number of supported nexthops [ 278.638269][ T1084] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 278.638271][ T1084] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1084, name: ip [ 278.638273][ T1084] preempt_count: 1, expected: 0 [ 278.638274][ T1084] RCU nest depth: 0, expected: 0 [ 278.638275][ T1084] locks held by ip/1084: 5, last CPU#0: [ 278.638277][ T1084] #0: ffffffffa7afe280 (rtnl_mutex){+.+.}-{4:4}, at: rtm_del_nexthop+0x1ca/0x370 [ 278.638289][ T1084] #1: ffffffffa7399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 278.638295][ T1084] #2: ffffffffa7399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 278.638299][ T1084] #3: ffffffffa7289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 278.638303][ T1084] #4: ffffffffa7289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 278.638306][ T1084] irq event stamp: 13240 [ 278.638307][ T1084] hardirqs last enabled at (13239): [] __down_trylock_console_sem+0x86/0xa0 [ 278.638309][ T1084] hardirqs last disabled at (13240): [] console_emit_next_record+0x3f8/0x4f0 [ 278.638311][ T1084] softirqs last enabled at (13190): [] __remove_nexthop+0x236/0x800 [ 278.638313][ T1084] softirqs last disabled at (13188): [] __remove_nexthop+0xff/0x800 [ 278.638315][ T1084] Preemption disabled at: [ 278.638316][ T1084] [] vprintk_emit+0x31b/0x3e0 [ 278.638322][ T1084] CPU: 0 UID: 0 PID: 1084 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 278.638325][ T1084] Tainted: [W]=WARN [ 278.638326][ T1084] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 278.638328][ T1084] Call Trace: [ 278.638330][ T1084] [ 278.638332][ T1084] dump_stack_lvl+0x6f/0xa0 [ 278.638337][ T1084] ? vprintk_emit+0x31b/0x3e0 [ 278.638339][ T1084] __might_resched.cold+0x1fe/0x2c1 [ 278.638344][ T1084] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 278.638348][ T1084] ? __kmalloc_noprof+0xdb/0x760 [ 278.638352][ T1084] __kmalloc_noprof+0x443/0x760 [ 278.638354][ T1084] ? alloc_buf.isra.0+0x4b/0x260 [ 278.638360][ T1084] ? do_raw_spin_unlock+0x59/0x250 [ 278.638362][ T1084] alloc_buf.isra.0+0x4b/0x260 [ 278.638365][ T1084] put_chars+0x1e1/0x2f0 [ 278.638368][ T1084] ? __send_to_port+0x420/0x420 [ 278.638372][ T1084] ? validate_chain+0x34a/0xc20 [ 278.638376][ T1084] hvc_console_print+0x292/0x780 [ 278.638379][ T1084] ? mark_usage+0x61/0x170 [ 278.638380][ T1084] ? __lock_acquire+0x518/0xc20 [ 278.638382][ T1084] ? __lock_acquire+0x518/0xc20 [ 278.638385][ T1084] ? hvc_write+0x3a0/0x3a0 [ 278.638387][ T1084] ? console_emit_next_record+0x202/0x4f0 [ 278.638390][ T1084] ? rcu_is_watching+0x16/0xd0 [ 278.638394][ T1084] ? lock_acquire+0x13c/0x160 [ 278.638397][ T1084] console_emit_next_record+0x252/0x4f0 [ 278.638401][ T1084] ? devkmsg_read+0x4e0/0x4e0 [ 278.638405][ T1084] ? rcu_is_watching+0x16/0xd0 [ 278.638407][ T1084] ? lock_acquire+0x13c/0x160 [ 278.638410][ T1084] console_flush_one_record+0x46f/0x710 [ 278.638414][ T1084] ? console_emit_next_record+0x4f0/0x4f0 [ 278.638416][ T1084] ? __lock_acquire+0x518/0xc20 [ 278.638420][ T1084] console_unlock+0xee/0x1f0 [ 278.638423][ T1084] ? console_flush_one_record+0x710/0x710 [ 278.638424][ T1084] ? rcu_is_watching+0x16/0xd0 [ 278.638426][ T1084] ? lock_acquire+0x60/0x160 [ 278.638430][ T1084] ? __down_trylock_console_sem+0x5e/0xa0 [ 278.638431][ T1084] ? vprintk_emit+0x320/0x3e0 [ 278.638434][ T1084] vprintk_emit+0x37c/0x3e0 [ 278.638437][ T1084] ? wake_up_klogd_work_func+0x90/0x90 [ 278.638441][ T1084] ? kfree+0x123/0x590 [ 278.638444][ T1084] _printk+0xc7/0x100 [ 278.638447][ T1084] ? snapshot_read.cold+0x21/0x21 [ 278.638452][ T1084] ? nh_hthr_group_rebalance+0x167/0x270 [ 278.638455][ T1084] ? kasan_quarantine_put+0x13e/0x2b0 [ 278.638459][ T1084] remove_nh_grp_entry.cold+0x1b8/0x1fa [ 278.638470][ T1084] ? __lock_acquire+0x518/0xc20 [ 278.638472][ T1084] ? replace_nexthop_grp_res+0xa00/0xa00 [ 278.638477][ T1084] ? __rwlock_init+0x150/0x150 [ 278.638480][ T1084] ? mark_held_locks+0x40/0x70 [ 278.638484][ T1084] __remove_nexthop+0x46d/0x800 [ 278.638488][ T1084] ? remove_nh_grp_entry+0x15f0/0x15f0 [ 278.638493][ T1084] remove_nexthop+0x50/0x100 [ 278.638495][ T1084] rtm_del_nexthop+0x2ba/0x370 [ 278.638498][ T1084] ? remove_nexthop+0x100/0x100 [ 278.638502][ T1084] ? remove_nexthop+0x100/0x100 [ 278.638505][ T1084] ? rtnetlink_rcv_msg+0x6dc/0xbd0 [ 278.638509][ T1084] ? remove_nexthop+0x100/0x100 [ 278.638511][ T1084] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 278.638515][ T1084] ? rtnl_link_fill+0x900/0x900 [ 278.638516][ T1084] ? __lock_acquire+0x518/0xc20 [ 278.638520][ T1084] ? lock_acquire.part.0+0xd4/0x280 [ 278.638522][ T1084] ? find_held_lock+0x2b/0x80 [ 278.638526][ T1084] netlink_rcv_skb+0x14e/0x3a0 [ 278.638530][ T1084] ? rtnl_link_fill+0x900/0x900 [ 278.638533][ T1084] ? netlink_ack+0xcd0/0xcd0 [ 278.638539][ T1084] ? netlink_deliver_tap+0xc5/0x330 [ 278.638546][ T1084] ? netlink_deliver_tap+0x13c/0x330 [ 278.638551][ T1084] netlink_unicast+0x486/0x750 [ 278.638555][ T1084] ? netlink_attachskb+0x810/0x810 [ 278.638558][ T1084] ? __lock_acquire+0x518/0xc20 [ 278.638562][ T1084] netlink_sendmsg+0x735/0xc60 [ 278.638566][ T1084] ? netlink_unicast+0x750/0x750 [ 278.638570][ T1084] ? __might_fault+0x97/0x140 [ 278.638575][ T1084] ____sys_sendmsg+0x415/0x880 [ 278.638579][ T1084] ? copy_msghdr_from_user+0x279/0x420 [ 278.638582][ T1084] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 278.638584][ T1084] ? move_addr_to_kernel+0x40/0x40 [ 278.638585][ T1084] ? __lock_acquire+0x518/0xc20 [ 278.638589][ T1084] ? lock_acquire.part.0+0xd4/0x280 [ 278.638591][ T1084] ? __might_fault+0x97/0x140 [ 278.638594][ T1084] ___sys_sendmsg+0x14e/0x1d0 [ 278.638597][ T1084] ? copy_msghdr_from_user+0x420/0x420 [ 278.638600][ T1084] ? __might_fault+0x97/0x140 [ 278.638606][ T1084] ? rcu_is_watching+0x16/0xd0 [ 278.638613][ T1084] ? put_user_ifreq+0x90/0x90 [ 278.638617][ T1084] __sys_sendmsg+0x12c/0x1d0 [ 278.638619][ T1084] ? __sys_sendmsg_sock+0x20/0x20 [ 278.638625][ T1084] ? rcu_is_watching+0x16/0xd0 [ 278.638628][ T1084] do_syscall_64+0xff/0x530 [ 278.638631][ T1084] ? exc_page_fault+0xee/0x100 [ 278.638634][ T1084] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 278.638637][ T1084] RIP: 0033:0x7f8c7380754e [ 278.638641][ 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 [ 278.638643][ T1084] RSP: 002b:00007fff2122f2c0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 278.638645][ T1084] RAX: ffffffffffffffda RBX: 00007fff2122fe70 RCX: 00007f8c7380754e [ 278.638647][ T1084] RDX: 0000000000000000 RSI: 00007fff2122f370 RDI: 0000000000000005 [ 278.638648][ T1084] RBP: 00007fff2122f2d0 R08: 0000000000000000 R09: 0000000000000000 [ 278.638648][ T1084] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91b266 [ 278.638649][ T1084] R13: 00000000004a1620 R14: 0000000000000004 R15: 00007fff2122fe50 [ 278.638656][ T1084] [ 279.453443][ T1130] netdevsim: Failed to replace nexthop bucket [ 279.461249][ T1130] netdevsim: Failed to replace nexthop bucket [ 280.352039][ T1184] Failed to register nexthop notifier [ 280.352223][ T1184] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 280.352226][ T1184] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1184, name: devlink [ 280.352227][ T1184] preempt_count: 1, expected: 0 [ 280.352228][ T1184] RCU nest depth: 0, expected: 0 [ 280.352229][ T1184] locks held by devlink/1184: 7, last CPU#0: [ 280.352232][ T1184] #0: ffffffffa7b5db08 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 280.352245][ T1184] #1: ff1100000c9f5128 (&dev->mutex){....}-{4:4}, at: devlink_get_from_attrs_lock+0x1e8/0x470 [ 280.352251][ T1184] #2: ff110000092d0a58 (&devlink->lock_key){+.+.}-{4:4}, at: devlink_get_from_attrs_lock+0x1f0/0x470 [ 280.352255][ T1184] #3: ffffffffa7399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 280.352260][ T1184] #4: ffffffffa7399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 280.352264][ T1184] #5: ffffffffa7289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 280.352268][ T1184] #6: ffffffffa7289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 280.352272][ T1184] irq event stamp: 29980 [ 280.352273][ T1184] hardirqs last enabled at (29979): [] __down_trylock_console_sem+0x86/0xa0 [ 280.352275][ T1184] hardirqs last disabled at (29980): [] console_emit_next_record+0x3f8/0x4f0 [ 280.352277][ T1184] softirqs last enabled at (28850): [] handle_softirqs+0x67c/0x900 [ 280.352281][ T1184] softirqs last disabled at (28843): [] __irq_exit_rcu+0x145/0x1c0 [ 280.352284][ T1184] Preemption disabled at: [ 280.352285][ T1184] [] vprintk_emit+0x31b/0x3e0 [ 280.352291][ T1184] CPU: 0 UID: 0 PID: 1184 Comm: devlink Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 280.352294][ T1184] Tainted: [W]=WARN [ 280.352296][ T1184] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 280.352298][ T1184] Call Trace: [ 280.352299][ T1184] [ 280.352301][ T1184] dump_stack_lvl+0x6f/0xa0 [ 280.352307][ T1184] ? vprintk_emit+0x31b/0x3e0 [ 280.352309][ T1184] __might_resched.cold+0x1fe/0x2c1 [ 280.352314][ T1184] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 280.352318][ T1184] ? __kmalloc_noprof+0xdb/0x760 [ 280.352323][ T1184] __kmalloc_noprof+0x443/0x760 [ 280.352325][ T1184] ? alloc_buf.isra.0+0x4b/0x260 [ 280.352331][ T1184] ? do_raw_spin_unlock+0x59/0x250 [ 280.352334][ T1184] alloc_buf.isra.0+0x4b/0x260 [ 280.352337][ T1184] put_chars+0x1e1/0x2f0 [ 280.352340][ T1184] ? __send_to_port+0x420/0x420 [ 280.352348][ T1184] hvc_console_print+0x292/0x780 [ 280.352354][ T1184] ? hvc_write+0x3a0/0x3a0 [ 280.352357][ T1184] ? lock_acquire+0x13c/0x160 [ 280.352361][ T1184] console_emit_next_record+0x252/0x4f0 [ 280.352365][ T1184] ? devkmsg_read+0x4e0/0x4e0 [ 280.352370][ T1184] ? rcu_is_watching+0x16/0xd0 [ 280.352374][ T1184] ? lock_acquire+0x13c/0x160 [ 280.352378][ T1184] console_flush_one_record+0x46f/0x710 [ 280.352382][ T1184] ? console_emit_next_record+0x4f0/0x4f0 [ 280.352384][ T1184] ? __lock_acquire+0x518/0xc20 [ 280.352389][ T1184] console_unlock+0xee/0x1f0 [ 280.352392][ T1184] ? console_flush_one_record+0x710/0x710 [ 280.352394][ T1184] ? rcu_is_watching+0x16/0xd0 [ 280.352396][ T1184] ? lock_acquire+0x60/0x160 [ 280.352400][ T1184] ? __down_trylock_console_sem+0x5e/0xa0 [ 280.352401][ T1184] ? vprintk_emit+0x320/0x3e0 [ 280.352405][ T1184] vprintk_emit+0x37c/0x3e0 [ 280.352408][ T1184] ? wake_up_klogd_work_func+0x90/0x90 [ 280.352411][ T1184] ? __rtnl_unlock+0x5b/0x100 [ 280.352415][ T1184] ? netdev_run_todo+0x2a8/0xfd0 [ 280.352420][ T1184] _printk+0xc7/0x100 [ 280.352424][ T1184] ? snapshot_read.cold+0x21/0x21 [ 280.352431][ T1184] ? __mutex_unlock_slowpath+0x14d/0x740 [ 280.352435][ T1184] nsim_fib_create.cold+0x1d/0x22 [netdevsim] [ 280.352446][ T1184] ? nsim_fib_get_val+0xe0/0xe0 [netdevsim] [ 280.352451][ T1184] ? queue_delayed_work_on+0x95/0x100 [ 280.352456][ T1184] ? nsim_dev_traps_init+0x42f/0x5a0 [netdevsim] [ 280.352462][ T1184] nsim_dev_reload_create+0x1cf/0x4c0 [netdevsim] [ 280.352470][ T1184] ? devlink_reload_reinit_sanity_check+0xf8/0x240 [ 280.352473][ T1184] devlink_reload+0x264/0x430 [ 280.352475][ T1184] ? xa_get_mark+0x140/0x550 [ 280.352479][ T1184] ? devlink_notify_unregister+0x60/0x60 [ 280.352482][ T1184] ? devlink_resources_validate+0xb0/0x130 [ 280.352490][ T1184] devlink_nl_reload_doit+0xbd9/0x1160 [ 280.352493][ T1184] ? devlink_get_from_attrs_lock+0x1f0/0x470 [ 280.352496][ T1184] ? devlink_get_from_attrs_lock+0x230/0x470 [ 280.352499][ T1184] ? devlink_reload+0x430/0x430 [ 280.352501][ T1184] ? devlink_nl_msg_reply_and_new+0x180/0x180 [ 280.352505][ T1184] ? __nla_parse+0x22/0x30 [ 280.352509][ T1184] ? genl_family_rcv_msg_attrs_parse.isra.0+0x189/0x330 [ 280.352517][ T1184] genl_family_rcv_msg_doit+0x206/0x300 [ 280.352523][ T1184] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 280.352525][ T1184] ? __lock_release.isra.0+0x69/0x1a0 [ 280.352535][ T1184] ? rcu_is_watching+0x16/0xd0 [ 280.352538][ T1184] ? cap_capable+0x1d7/0x3d0 [ 280.352543][ T1184] ? write_profile+0xf0/0xf0 [ 280.352557][ T1184] ? unwind_get_return_address+0x67/0xd0 [ 280.352563][ T1184] genl_family_rcv_msg+0x3a4/0x640 [ 280.352568][ T1184] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 280.352571][ T1184] ? rcu_read_lock_any_held+0x3c/0x90 [ 280.352573][ T1184] ? devlink_nl_pre_doit_port+0x110/0x110 [ 280.352575][ T1184] ? devlink_reload+0x430/0x430 [ 280.352576][ T1184] ? devlink_nl_post_doit+0x80/0x80 [ 280.352578][ T1184] ? __lock_acquire+0x518/0xc20 [ 280.352584][ T1184] genl_rcv_msg+0xbb/0x160 [ 280.352588][ T1184] netlink_rcv_skb+0x14e/0x3a0 [ 280.352590][ T1184] ? genl_family_rcv_msg+0x640/0x640 [ 280.352594][ T1184] ? netlink_ack+0xcd0/0xcd0 [ 280.352602][ T1184] ? netlink_deliver_tap+0xc5/0x330 [ 280.352604][ T1184] ? netlink_deliver_tap+0x13c/0x330 [ 280.352608][ T1184] genl_rcv+0x28/0x40 [ 280.352610][ T1184] netlink_unicast+0x486/0x750 [ 280.352615][ T1184] ? netlink_attachskb+0x810/0x810 [ 280.352617][ T1184] ? __lock_acquire+0x518/0xc20 [ 280.352622][ T1184] netlink_sendmsg+0x735/0xc60 [ 280.352627][ T1184] ? netlink_unicast+0x750/0x750 [ 280.352631][ T1184] ? __might_fault+0x97/0x140 [ 280.352634][ T1184] ? __might_fault+0x97/0x140 [ 280.352638][ T1184] __sys_sendto+0x2aa/0x400 [ 280.352642][ T1184] ? __ia32_sys_getpeername+0xd0/0xd0 [ 280.352659][ T1184] __x64_sys_sendto+0xe4/0x1f0 [ 280.352662][ T1184] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 280.352667][ T1184] ? lockdep_hardirqs_on+0x91/0x130 [ 280.352671][ T1184] ? do_syscall_64+0xa6/0x530 [ 280.352673][ T1184] do_syscall_64+0xff/0x530 [ 280.352675][ T1184] ? exc_page_fault+0xee/0x100 [ 280.352680][ T1184] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 280.352684][ T1184] RIP: 0033:0x7fea9c55054e [ 280.352688][ 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 [ 280.352690][ T1184] RSP: 002b:00007ffe230c0460 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 280.352693][ T1184] RAX: ffffffffffffffda RBX: 0000000023877980 RCX: 00007fea9c55054e [ 280.352695][ T1184] RDX: 0000000000000038 RSI: 0000000023877ba0 RDI: 0000000000000005 [ 280.352696][ T1184] RBP: 00007ffe230c0470 R08: 00007fea9c803980 R09: 000000000000000c [ 280.352697][ T1184] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000040d0b0 [ 280.352698][ T1184] R13: 0000000023877980 R14: 0000000000000000 R15: 0000000000000003 [ 280.352705][ T1184]