[ 12.312334][ T348] ip (348) used greatest stack depth: 24160 bytes left [ 12.312351][ T348] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.312353][ T348] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 348, name: ip [ 12.312355][ T348] preempt_count: 2, expected: 0 [ 12.312356][ T348] RCU nest depth: 0, expected: 0 [ 12.312357][ T348] locks held by ip/348: 5, last CPU#2: [ 12.312359][ T348] #0: ffffffff8fc027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.312372][ T348] #1: ffffffff8fd99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.312378][ T348] #2: ffffffff8fd99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.312382][ T348] #3: ffffffff8fc89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.312385][ T348] #4: ffffffff8fc89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 12.312389][ T348] irq event stamp: 31472 [ 12.312390][ T348] hardirqs last enabled at (31471): [] __down_trylock_console_sem+0x86/0xa0 [ 12.312392][ T348] hardirqs last disabled at (31472): [] console_emit_next_record+0x3f8/0x4f0 [ 12.312394][ T348] softirqs last enabled at (30938): [] handle_softirqs+0x67c/0x900 [ 12.312397][ T348] softirqs last disabled at (30933): [] __irq_exit_rcu+0x145/0x1c0 [ 12.312399][ T348] Preemption disabled at: [ 12.312400][ T348] [<0000000000000000>] 0x0 [ 12.312407][ T348] CPU: 2 UID: 0 PID: 348 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.312410][ T348] Tainted: [W]=WARN [ 12.312411][ T348] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.312413][ T348] Call Trace: [ 12.312415][ T348] [ 12.312416][ T348] dump_stack_lvl+0x6f/0xa0 [ 12.312422][ T348] __might_resched.cold+0x1fe/0x2c1 [ 12.312427][ T348] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.312431][ T348] ? __kmalloc_noprof+0xdb/0x760 [ 12.312435][ T348] __kmalloc_noprof+0x443/0x760 [ 12.312437][ T348] ? alloc_buf.isra.0+0x4b/0x260 [ 12.312443][ T348] ? do_raw_spin_unlock+0x59/0x250 [ 12.312445][ T348] alloc_buf.isra.0+0x4b/0x260 [ 12.312448][ T348] put_chars+0x1e1/0x2f0 [ 12.312451][ T348] ? __send_to_port+0x420/0x420 [ 12.312452][ T348] ? printk_get_next_message+0x2fe/0x7d0 [ 12.312455][ T348] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.312458][ T348] ? validate_chain+0x38b/0xc20 [ 12.312462][ T348] hvc_console_print+0x292/0x780 [ 12.312465][ T348] ? __lock_acquire+0x518/0xc20 [ 12.312466][ T348] ? __lock_acquire+0x518/0xc20 [ 12.312470][ T348] ? hvc_write+0x3a0/0x3a0 [ 12.312473][ T348] ? rcu_is_watching+0x16/0xd0 [ 12.312476][ T348] ? lock_acquire+0x13c/0x160 [ 12.312480][ T348] console_emit_next_record+0x252/0x4f0 [ 12.312483][ T348] ? devkmsg_read+0x4e0/0x4e0 [ 12.312488][ T348] ? rcu_is_watching+0x16/0xd0 [ 12.312490][ T348] ? lock_acquire+0x13c/0x160 [ 12.312493][ T348] console_flush_one_record+0x46f/0x710 [ 12.312497][ T348] ? console_emit_next_record+0x4f0/0x4f0 [ 12.312499][ T348] ? __lock_acquire+0x518/0xc20 [ 12.312503][ T348] console_unlock+0xee/0x1f0 [ 12.312506][ T348] ? console_flush_one_record+0x710/0x710 [ 12.312507][ T348] ? rcu_is_watching+0x16/0xd0 [ 12.312510][ T348] ? lock_acquire+0x60/0x160 [ 12.312513][ T348] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.312514][ T348] ? vprintk_emit+0x320/0x3e0 [ 12.312517][ T348] vprintk_emit+0x37c/0x3e0 [ 12.312521][ T348] ? wake_up_klogd_work_func+0x90/0x90 [ 12.312524][ T348] ? __lock_acquire+0x518/0xc20 [ 12.312527][ T348] _printk+0xc7/0x100 [ 12.312531][ T348] ? snapshot_read.cold+0x21/0x21 [ 12.312534][ T348] ? do_raw_spin_lock+0x131/0x280 [ 12.312536][ T348] ? __rwlock_init+0x150/0x150 [ 12.312540][ T348] ? do_raw_spin_lock+0x131/0x280 [ 12.312542][ T348] do_exit.cold+0x82/0x9c [ 12.312546][ T348] ? exit_notify+0x890/0x890 [ 12.312548][ T348] ? __lock_release.isra.0+0x69/0x1a0 [ 12.312550][ T348] ? rcu_is_watching+0x16/0xd0 [ 12.312554][ T348] do_group_exit+0xb8/0x370 [ 12.312557][ T348] __x64_sys_exit_group+0x3c/0x50 [ 12.312560][ T348] x64_sys_call+0x1567/0x1570 [ 12.312562][ T348] do_syscall_64+0xff/0x530 [ 12.312565][ T348] ? exc_page_fault+0xee/0x100 [ 12.312568][ T348] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.312571][ T348] RIP: 0033:0x7ffb919241b8 [ 12.312573][ T348] Code: Unable to access opcode bytes at 0x7ffb9192418e. [ 12.312574][ T348] RSP: 002b:00007ffef3d1eaf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.312576][ T348] RAX: ffffffffffffffda RBX: 00007ffb91a54f88 RCX: 00007ffb919241b8 [ 12.312578][ T348] RDX: 00007ffb9166efc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 12.312579][ T348] RBP: 00007ffef3d1eb50 R08: 0000000000000000 R09: 0000000000000050 [ 12.312579][ T348] R10: 00007ffef3d1e910 R11: 0000000000000246 R12: 0000000000000001 [ 12.312580][ T348] R13: 0000000000000000 R14: 00007ffb91a53680 R15: 00007ffb91a54fa0 [ 12.312587][ T348] [ 17.102010][ T567] Failed to register fib notifier [ 17.102111][ T567] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.102113][ T567] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 567, name: devlink [ 17.102115][ T567] preempt_count: 1, expected: 0 [ 17.102116][ T567] RCU nest depth: 0, expected: 0 [ 17.102117][ T567] locks held by devlink/567: 7, last CPU#3: [ 17.102119][ T567] #0: ffffffff9055db48 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 17.102132][ T567] #1: ff1100000cdfd128 (&dev->mutex){....}-{4:4}, at: devlink_get_from_attrs_lock+0x1e8/0x470 [ 17.102137][ T567] #2: ff1100000dd82258 (&devlink->lock_key){+.+.}-{4:4}, at: devlink_get_from_attrs_lock+0x1f0/0x470 [ 17.102141][ T567] #3: ffffffff8fd99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.102146][ T567] #4: ffffffff8fd99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.102150][ T567] #5: ffffffff8fc89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.102153][ T567] #6: ffffffff8fc89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 17.102156][ T567] irq event stamp: 32070 [ 17.102157][ T567] hardirqs last enabled at (32069): [] __down_trylock_console_sem+0x86/0xa0 [ 17.102159][ T567] hardirqs last disabled at (32070): [] console_emit_next_record+0x3f8/0x4f0 [ 17.102161][ T567] softirqs last enabled at (32036): [] nsim_fib_event_nb+0x2f0/0xa80 [netdevsim] [ 17.102168][ T567] softirqs last disabled at (32034): [] nsim_fib_event_nb+0x213/0xa80 [netdevsim] [ 17.102173][ T567] Preemption disabled at: [ 17.102173][ T567] [] vprintk_emit+0x31b/0x3e0 [ 17.102179][ T567] CPU: 3 UID: 0 PID: 567 Comm: devlink Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.102183][ T567] Tainted: [W]=WARN [ 17.102183][ T567] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.102185][ T567] Call Trace: [ 17.102187][ T567] [ 17.102189][ T567] dump_stack_lvl+0x6f/0xa0 [ 17.102194][ T567] ? vprintk_emit+0x31b/0x3e0 [ 17.102196][ T567] __might_resched.cold+0x1fe/0x2c1 [ 17.102201][ T567] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.102204][ T567] ? __kmalloc_noprof+0xdb/0x760 [ 17.102209][ T567] __kmalloc_noprof+0x443/0x760 [ 17.102211][ T567] ? alloc_buf.isra.0+0x4b/0x260 [ 17.102217][ T567] ? do_raw_spin_unlock+0x59/0x250 [ 17.102219][ T567] alloc_buf.isra.0+0x4b/0x260 [ 17.102222][ T567] put_chars+0x1e1/0x2f0 [ 17.102225][ T567] ? __send_to_port+0x420/0x420 [ 17.102231][ T567] hvc_console_print+0x292/0x780 [ 17.102238][ T567] ? hvc_write+0x3a0/0x3a0 [ 17.102240][ T567] ? lock_acquire+0x13c/0x160 [ 17.102244][ T567] console_emit_next_record+0x252/0x4f0 [ 17.102248][ T567] ? devkmsg_read+0x4e0/0x4e0 [ 17.102252][ T567] ? rcu_is_watching+0x16/0xd0 [ 17.102255][ T567] ? lock_acquire+0x13c/0x160 [ 17.102259][ T567] console_flush_one_record+0x46f/0x710 [ 17.102263][ T567] ? console_emit_next_record+0x4f0/0x4f0 [ 17.102264][ T567] ? __lock_acquire+0x518/0xc20 [ 17.102269][ T567] console_unlock+0xee/0x1f0 [ 17.102272][ T567] ? console_flush_one_record+0x710/0x710 [ 17.102274][ T567] ? rcu_is_watching+0x16/0xd0 [ 17.102276][ T567] ? lock_acquire+0x60/0x160 [ 17.102279][ T567] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.102280][ T567] ? vprintk_emit+0x320/0x3e0 [ 17.102284][ T567] vprintk_emit+0x37c/0x3e0 [ 17.102287][ T567] ? wake_up_klogd_work_func+0x90/0x90 [ 17.102289][ T567] ? lockdep_hardirqs_on+0x91/0x130 [ 17.102292][ T567] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 17.102295][ T567] ? rcu_preempt_deferred_qs_irqrestore+0x7cf/0xc10 [ 17.102300][ T567] _printk+0xc7/0x100 [ 17.102303][ T567] ? snapshot_read.cold+0x21/0x21 [ 17.102306][ T567] ? fib_net_dump+0x16f/0x2e0 [ 17.102311][ T567] ? register_fib_notifier+0x46/0xb0 [ 17.102314][ T567] nsim_fib_create.cold+0xc/0x22 [netdevsim] [ 17.102323][ T567] ? nsim_fib_get_val+0xe0/0xe0 [netdevsim] [ 17.102326][ T567] ? queue_delayed_work_on+0x95/0x100 [ 17.102331][ T567] ? nsim_dev_traps_init+0x42f/0x5a0 [netdevsim] [ 17.102336][ T567] nsim_dev_reload_create+0x1cf/0x4c0 [netdevsim] [ 17.102341][ T567] ? devlink_reload_reinit_sanity_check+0xf8/0x240 [ 17.102343][ T567] devlink_reload+0x264/0x430 [ 17.102346][ T567] ? xa_get_mark+0x140/0x550 [ 17.102349][ T567] ? devlink_notify_unregister+0x60/0x60 [ 17.102352][ T567] ? devlink_resources_validate+0xb0/0x130 [ 17.102358][ T567] devlink_nl_reload_doit+0xbd9/0x1160 [ 17.102360][ T567] ? devlink_get_from_attrs_lock+0x1f0/0x470 [ 17.102362][ T567] ? devlink_get_from_attrs_lock+0x230/0x470 [ 17.102364][ T567] ? devlink_reload+0x430/0x430 [ 17.102365][ T567] ? devlink_nl_msg_reply_and_new+0x180/0x180 [ 17.102368][ T567] ? __nla_parse+0x22/0x30 [ 17.102371][ T567] ? genl_family_rcv_msg_attrs_parse.isra.0+0x189/0x330 [ 17.102376][ T567] genl_family_rcv_msg_doit+0x206/0x300 [ 17.102379][ T567] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 17.102381][ T567] ? __lock_release.isra.0+0x69/0x1a0 [ 17.102387][ T567] ? rcu_is_watching+0x16/0xd0 [ 17.102389][ T567] ? cap_capable+0x1d7/0x3d0 [ 17.102392][ T567] ? write_profile+0xf0/0xf0 [ 17.102395][ T567] ? unwind_get_return_address+0x67/0xd0 [ 17.102401][ T567] genl_family_rcv_msg+0x3a4/0x640 [ 17.102404][ T567] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 17.102407][ T567] ? rcu_read_lock_any_held+0x3c/0x90 [ 17.102408][ T567] ? devlink_nl_pre_doit_port+0x110/0x110 [ 17.102410][ T567] ? devlink_reload+0x430/0x430 [ 17.102411][ T567] ? devlink_nl_post_doit+0x80/0x80 [ 17.102413][ T567] ? __lock_acquire+0x518/0xc20 [ 17.102418][ T567] genl_rcv_msg+0xbb/0x160 [ 17.102422][ T567] netlink_rcv_skb+0x14e/0x3a0 [ 17.102424][ T567] ? genl_family_rcv_msg+0x640/0x640 [ 17.102427][ T567] ? netlink_ack+0xcd0/0xcd0 [ 17.102435][ T567] ? netlink_deliver_tap+0xc5/0x330 [ 17.102437][ T567] ? netlink_deliver_tap+0x13c/0x330 [ 17.102441][ T567] genl_rcv+0x28/0x40 [ 17.102443][ T567] netlink_unicast+0x486/0x750 [ 17.102447][ T567] ? netlink_attachskb+0x810/0x810 [ 17.102450][ T567] ? __lock_acquire+0x518/0xc20 [ 17.102454][ T567] netlink_sendmsg+0x735/0xc60 [ 17.102458][ T567] ? netlink_unicast+0x750/0x750 [ 17.102462][ T567] ? __might_fault+0x97/0x140 [ 17.102465][ T567] ? __might_fault+0x97/0x140 [ 17.102469][ T567] __sys_sendto+0x2aa/0x400 [ 17.102472][ T567] ? __ia32_sys_getpeername+0xd0/0xd0 [ 17.102486][ T567] __x64_sys_sendto+0xe4/0x1f0 [ 17.102488][ T567] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 17.102492][ T567] ? lockdep_hardirqs_on+0x91/0x130 [ 17.102494][ T567] ? do_syscall_64+0xa6/0x530 [ 17.102495][ T567] do_syscall_64+0xff/0x530 [ 17.102497][ T567] ? exc_page_fault+0xee/0x100 [ 17.102499][ T567] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.102502][ T567] RIP: 0033:0x7face398d54e [ 17.102505][ T567] 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 [ 17.102507][ T567] RSP: 002b:00007ffeb5da6ab0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 17.102510][ T567] RAX: ffffffffffffffda RBX: 0000000014f14980 RCX: 00007face398d54e [ 17.102512][ T567] RDX: 0000000000000038 RSI: 0000000014f14ba0 RDI: 0000000000000005 [ 17.102513][ T567] RBP: 00007ffeb5da6ac0 R08: 00007face3c40980 R09: 000000000000000c [ 17.102513][ T567] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000040d0b0 [ 17.102514][ T567] R13: 0000000014f14980 R14: 0000000000000000 R15: 0000000000000003 [ 17.102521][ T567] [ 29.933384][ T1198] Failed to register fib notifier [ 29.933401][ T1198] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 29.933404][ T1198] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1198, name: devlink [ 29.933405][ T1198] preempt_count: 1, expected: 0 [ 29.933406][ T1198] RCU nest depth: 0, expected: 0 [ 29.933407][ T1198] locks held by devlink/1198: 7, last CPU#0: [ 29.933409][ T1198] #0: ffffffff9055db48 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 29.933423][ T1198] #1: ff1100000cdfd128 (&dev->mutex){....}-{4:4}, at: devlink_get_from_attrs_lock+0x1e8/0x470 [ 29.933429][ T1198] #2: ff1100000dd82258 (&devlink->lock_key){+.+.}-{4:4}, at: devlink_get_from_attrs_lock+0x1f0/0x470 [ 29.933432][ T1198] #3: ffffffff8fd99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 29.933438][ T1198] #4: ffffffff8fd99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 29.933441][ T1198] #5: ffffffff8fc89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 29.933445][ T1198] #6: ffffffff8fc89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 29.933448][ T1198] irq event stamp: 26246 [ 29.933449][ T1198] hardirqs last enabled at (26245): [] __down_trylock_console_sem+0x86/0xa0 [ 29.933452][ T1198] hardirqs last disabled at (26246): [] console_emit_next_record+0x3f8/0x4f0 [ 29.933453][ T1198] softirqs last enabled at (26222): [] fib6_tables_dump+0x3f5/0x670 [ 29.933456][ T1198] softirqs last disabled at (26008): [] fib6_tables_dump+0x217/0x670 [ 29.933458][ T1198] Preemption disabled at: [ 29.933459][ T1198] [] vprintk_emit+0x31b/0x3e0 [ 29.933465][ T1198] CPU: 0 UID: 0 PID: 1198 Comm: devlink Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 29.933468][ T1198] Tainted: [W]=WARN [ 29.933469][ T1198] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 29.933471][ T1198] Call Trace: [ 29.933473][ T1198] [ 29.933474][ T1198] dump_stack_lvl+0x6f/0xa0 [ 29.933480][ T1198] ? vprintk_emit+0x31b/0x3e0 [ 29.933482][ T1198] __might_resched.cold+0x1fe/0x2c1 [ 29.933486][ T1198] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 29.933490][ T1198] ? __kmalloc_noprof+0xdb/0x760 [ 29.933495][ T1198] __kmalloc_noprof+0x443/0x760 [ 29.933497][ T1198] ? alloc_buf.isra.0+0x4b/0x260 [ 29.933503][ T1198] ? do_raw_spin_unlock+0x59/0x250 [ 29.933506][ T1198] alloc_buf.isra.0+0x4b/0x260 [ 29.933509][ T1198] put_chars+0x1e1/0x2f0 [ 29.933511][ T1198] ? desc_read_finalized_seq+0x41/0x120 [ 29.933514][ T1198] ? __send_to_port+0x420/0x420 [ 29.933521][ T1198] hvc_console_print+0x292/0x780 [ 29.933528][ T1198] ? hvc_write+0x3a0/0x3a0 [ 29.933530][ T1198] ? lock_acquire+0x13c/0x160 [ 29.933534][ T1198] console_emit_next_record+0x252/0x4f0 [ 29.933538][ T1198] ? devkmsg_read+0x4e0/0x4e0 [ 29.933543][ T1198] ? rcu_is_watching+0x16/0xd0 [ 29.933546][ T1198] ? lock_acquire+0x13c/0x160 [ 29.933550][ T1198] console_flush_one_record+0x46f/0x710 [ 29.933554][ T1198] ? console_emit_next_record+0x4f0/0x4f0 [ 29.933556][ T1198] ? __lock_acquire+0x518/0xc20 [ 29.933561][ T1198] console_unlock+0xee/0x1f0 [ 29.933563][ T1198] ? console_flush_one_record+0x710/0x710 [ 29.933565][ T1198] ? rcu_is_watching+0x16/0xd0 [ 29.933567][ T1198] ? lock_acquire+0x60/0x160 [ 29.933571][ T1198] ? __down_trylock_console_sem+0x5e/0xa0 [ 29.933572][ T1198] ? vprintk_emit+0x320/0x3e0 [ 29.933576][ T1198] vprintk_emit+0x37c/0x3e0 [ 29.933579][ T1198] ? wake_up_klogd_work_func+0x90/0x90 [ 29.933581][ T1198] ? lockdep_hardirqs_on+0x91/0x130 [ 29.933584][ T1198] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 29.933588][ T1198] ? rcu_preempt_deferred_qs_irqrestore+0x7cf/0xc10 [ 29.933593][ T1198] _printk+0xc7/0x100 [ 29.933597][ T1198] ? snapshot_read.cold+0x21/0x21 [ 29.933599][ T1198] ? fib_net_dump+0x16f/0x2e0 [ 29.933604][ T1198] ? register_fib_notifier+0x46/0xb0 [ 29.933608][ T1198] nsim_fib_create.cold+0xc/0x22 [netdevsim] [ 29.933619][ T1198] ? nsim_fib_get_val+0xe0/0xe0 [netdevsim] [ 29.933625][ T1198] ? queue_delayed_work_on+0x95/0x100 [ 29.933630][ T1198] ? nsim_dev_traps_init+0x42f/0x5a0 [netdevsim] [ 29.933636][ T1198] nsim_dev_reload_create+0x1cf/0x4c0 [netdevsim] [ 29.933641][ T1198] ? devlink_reload_reinit_sanity_check+0xf8/0x240 [ 29.933643][ T1198] devlink_reload+0x264/0x430 [ 29.933646][ T1198] ? xa_get_mark+0x140/0x550 [ 29.933649][ T1198] ? devlink_notify_unregister+0x60/0x60 [ 29.933652][ T1198] ? devlink_resources_validate+0xb0/0x130 [ 29.933663][ T1198] devlink_nl_reload_doit+0xbd9/0x1160 [ 29.933665][ T1198] ? devlink_get_from_attrs_lock+0x1f0/0x470 [ 29.933667][ T1198] ? devlink_get_from_attrs_lock+0x230/0x470 [ 29.933669][ T1198] ? devlink_reload+0x430/0x430 [ 29.933670][ T1198] ? devlink_nl_msg_reply_and_new+0x180/0x180 [ 29.933673][ T1198] ? __nla_parse+0x22/0x30 [ 29.933676][ T1198] ? genl_family_rcv_msg_attrs_parse.isra.0+0x189/0x330 [ 29.933681][ T1198] genl_family_rcv_msg_doit+0x206/0x300 [ 29.933685][ T1198] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 29.933687][ T1198] ? __lock_release.isra.0+0x69/0x1a0 [ 29.933692][ T1198] ? rcu_is_watching+0x16/0xd0 [ 29.933694][ T1198] ? cap_capable+0x1d7/0x3d0 [ 29.933698][ T1198] ? write_profile+0xf0/0xf0 [ 29.933701][ T1198] ? unwind_get_return_address+0x67/0xd0 [ 29.933707][ T1198] genl_family_rcv_msg+0x3a4/0x640 [ 29.933710][ T1198] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 29.933713][ T1198] ? rcu_read_lock_any_held+0x3c/0x90 [ 29.933715][ T1198] ? devlink_nl_pre_doit_port+0x110/0x110 [ 29.933716][ T1198] ? devlink_reload+0x430/0x430 [ 29.933718][ T1198] ? devlink_nl_post_doit+0x80/0x80 [ 29.933720][ T1198] ? __lock_acquire+0x518/0xc20 [ 29.933725][ T1198] genl_rcv_msg+0xbb/0x160 [ 29.933728][ T1198] netlink_rcv_skb+0x14e/0x3a0 [ 29.933730][ T1198] ? genl_family_rcv_msg+0x640/0x640 [ 29.933734][ T1198] ? netlink_ack+0xcd0/0xcd0 [ 29.933742][ T1198] ? netlink_deliver_tap+0xc5/0x330 [ 29.933743][ T1198] ? netlink_deliver_tap+0x13c/0x330 [ 29.933748][ T1198] genl_rcv+0x28/0x40 [ 29.933750][ T1198] netlink_unicast+0x486/0x750 [ 29.933754][ T1198] ? netlink_attachskb+0x810/0x810 [ 29.933757][ T1198] ? __lock_acquire+0x518/0xc20 [ 29.933761][ T1198] netlink_sendmsg+0x735/0xc60 [ 29.933766][ T1198] ? netlink_unicast+0x750/0x750 [ 29.933770][ T1198] ? __might_fault+0x97/0x140 [ 29.933773][ T1198] ? __might_fault+0x97/0x140 [ 29.933776][ T1198] __sys_sendto+0x2aa/0x400 [ 29.933780][ T1198] ? __ia32_sys_getpeername+0xd0/0xd0 [ 29.933795][ T1198] __x64_sys_sendto+0xe4/0x1f0 [ 29.933797][ T1198] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 29.933801][ T1198] ? lockdep_hardirqs_on+0x91/0x130 [ 29.933802][ T1198] ? do_syscall_64+0xa6/0x530 [ 29.933804][ T1198] do_syscall_64+0xff/0x530 [ 29.933805][ T1198] ? exc_page_fault+0xee/0x100 [ 29.933808][ T1198] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 29.933810][ T1198] RIP: 0033:0x7f4f6aebf54e [ 29.933814][ T1198] 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 [ 29.933816][ T1198] RSP: 002b:00007ffe79f67b90 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 29.933819][ T1198] RAX: ffffffffffffffda RBX: 000000001f7ec980 RCX: 00007f4f6aebf54e [ 29.933820][ T1198] RDX: 0000000000000038 RSI: 000000001f7ecba0 RDI: 0000000000000005 [ 29.933821][ T1198] RBP: 00007ffe79f67ba0 R08: 00007f4f6b172980 R09: 000000000000000c [ 29.933822][ T1198] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000040d0b0 [ 29.933823][ T1198] R13: 000000001f7ec980 R14: 0000000000000000 R15: 0000000000000003 [ 29.933830][ T1198] [ 30.737103][ T1235] ip (1235) used greatest stack depth: 23712 bytes left [ 31.338708][ T1272] ip (1272) used greatest stack depth: 23408 bytes left [ 31.338729][ T1272] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 31.338731][ T1272] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1272, name: ip [ 31.338732][ T1272] preempt_count: 2, expected: 0 [ 31.338733][ T1272] RCU nest depth: 0, expected: 0 [ 31.338734][ T1272] locks held by ip/1272: 5, last CPU#1: [ 31.338737][ T1272] #0: ffffffff8fc027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 31.338749][ T1272] #1: ffffffff8fd99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 31.338755][ T1272] #2: ffffffff8fd99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 31.338759][ T1272] #3: ffffffff8fc89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 31.338762][ T1272] #4: ffffffff8fc89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 31.338766][ T1272] irq event stamp: 22212 [ 31.338767][ T1272] hardirqs last enabled at (22211): [] __down_trylock_console_sem+0x86/0xa0 [ 31.338769][ T1272] hardirqs last disabled at (22212): [] console_emit_next_record+0x3f8/0x4f0 [ 31.338771][ T1272] softirqs last enabled at (22204): [] handle_softirqs+0x67c/0x900 [ 31.338773][ T1272] softirqs last disabled at (22193): [] __irq_exit_rcu+0x145/0x1c0 [ 31.338776][ T1272] Preemption disabled at: [ 31.338777][ T1272] [<0000000000000000>] 0x0 [ 31.338784][ T1272] CPU: 1 UID: 0 PID: 1272 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 31.338788][ T1272] Tainted: [W]=WARN [ 31.338789][ T1272] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 31.338791][ T1272] Call Trace: [ 31.338792][ T1272] [ 31.338794][ T1272] dump_stack_lvl+0x6f/0xa0 [ 31.338800][ T1272] __might_resched.cold+0x1fe/0x2c1 [ 31.338805][ T1272] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 31.338809][ T1272] ? __kmalloc_noprof+0xdb/0x760 [ 31.338813][ T1272] __kmalloc_noprof+0x443/0x760 [ 31.338815][ T1272] ? alloc_buf.isra.0+0x4b/0x260 [ 31.338821][ T1272] ? do_raw_spin_unlock+0x59/0x250 [ 31.338823][ T1272] alloc_buf.isra.0+0x4b/0x260 [ 31.338826][ T1272] put_chars+0x1e1/0x2f0 [ 31.338829][ T1272] ? __send_to_port+0x420/0x420 [ 31.338830][ T1272] ? printk_get_next_message+0x2fe/0x7d0 [ 31.338833][ T1272] ? rcu_read_lock_any_held+0x3c/0x90 [ 31.338836][ T1272] ? validate_chain+0x38b/0xc20 [ 31.338841][ T1272] hvc_console_print+0x292/0x780 [ 31.338843][ T1272] ? __lock_acquire+0x518/0xc20 [ 31.338845][ T1272] ? __lock_acquire+0x518/0xc20 [ 31.338849][ T1272] ? hvc_write+0x3a0/0x3a0 [ 31.338852][ T1272] ? rcu_is_watching+0x16/0xd0 [ 31.338855][ T1272] ? lock_acquire+0x13c/0x160 [ 31.338858][ T1272] console_emit_next_record+0x252/0x4f0 [ 31.338862][ T1272] ? devkmsg_read+0x4e0/0x4e0 [ 31.338866][ T1272] ? rcu_is_watching+0x16/0xd0 [ 31.338868][ T1272] ? lock_acquire+0x13c/0x160 [ 31.338879][ T1272] console_flush_one_record+0x46f/0x710 [ 31.338883][ T1272] ? console_emit_next_record+0x4f0/0x4f0 [ 31.338885][ T1272] ? __lock_acquire+0x518/0xc20 [ 31.338890][ T1272] console_unlock+0xee/0x1f0 [ 31.338892][ T1272] ? console_flush_one_record+0x710/0x710 [ 31.338894][ T1272] ? rcu_is_watching+0x16/0xd0 [ 31.338896][ T1272] ? lock_acquire+0x60/0x160 [ 31.338899][ T1272] ? __down_trylock_console_sem+0x5e/0xa0 [ 31.338901][ T1272] ? vprintk_emit+0x320/0x3e0 [ 31.338904][ T1272] vprintk_emit+0x37c/0x3e0 [ 31.338907][ T1272] ? wake_up_klogd_work_func+0x90/0x90 [ 31.338911][ T1272] ? __lock_acquire+0x518/0xc20 [ 31.338914][ T1272] _printk+0xc7/0x100 [ 31.338918][ T1272] ? snapshot_read.cold+0x21/0x21 [ 31.338921][ T1272] ? do_raw_spin_lock+0x131/0x280 [ 31.338923][ T1272] ? __rwlock_init+0x150/0x150 [ 31.338926][ T1272] ? do_raw_spin_lock+0x131/0x280 [ 31.338929][ T1272] do_exit.cold+0x82/0x9c [ 31.338933][ T1272] ? exit_notify+0x890/0x890 [ 31.338935][ T1272] ? __lock_release.isra.0+0x69/0x1a0 [ 31.338937][ T1272] ? rcu_is_watching+0x16/0xd0 [ 31.338941][ T1272] do_group_exit+0xb8/0x370 [ 31.338945][ T1272] __x64_sys_exit_group+0x3c/0x50 [ 31.338947][ T1272] x64_sys_call+0x1567/0x1570 [ 31.338949][ T1272] do_syscall_64+0xff/0x530 [ 31.338952][ T1272] ? exc_page_fault+0xee/0x100 [ 31.338956][ T1272] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 31.338958][ T1272] RIP: 0033:0x7f0893b0a1b8 [ 31.338960][ T1272] Code: Unable to access opcode bytes at 0x7f0893b0a18e. [ 31.338961][ T1272] RSP: 002b:00007fffac663198 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 31.338963][ T1272] RAX: ffffffffffffffda RBX: 00007f0893c3af88 RCX: 00007f0893b0a1b8 [ 31.338965][ T1272] RDX: 00007f0893854fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 31.338966][ T1272] RBP: 00007fffac6631f0 R08: 0000000000000000 R09: 0000000000000050 [ 31.338967][ T1272] R10: 00007fffac662fb0 R11: 0000000000000246 R12: 0000000000000001 [ 31.338967][ T1272] R13: 0000000000000000 R14: 00007f0893c39680 R15: 00007f0893c3afa0 [ 31.338974][ T1272] [ 37.854309][ T1591] Failed to register fib notifier [ 37.854328][ T1591] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 37.854331][ T1591] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1591, name: devlink [ 37.854333][ T1591] preempt_count: 1, expected: 0 [ 37.854334][ T1591] RCU nest depth: 0, expected: 0 [ 37.854336][ T1591] locks held by devlink/1591: 7, last CPU#1: [ 37.854339][ T1591] #0: ffffffff9055db48 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 37.854354][ T1591] #1: ff1100000cdfd128 (&dev->mutex){....}-{4:4}, at: devlink_get_from_attrs_lock+0x1e8/0x470 [ 37.854361][ T1591] #2: ff1100000dd82258 (&devlink->lock_key){+.+.}-{4:4}, at: devlink_get_from_attrs_lock+0x1f0/0x470 [ 37.854367][ T1591] #3: ffffffff8fd99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 37.854374][ T1591] #4: ffffffff8fd99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 37.854380][ T1591] #5: ffffffff8fc89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 37.854385][ T1591] #6: ffffffff8fc89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 37.854391][ T1591] irq event stamp: 27068 [ 37.854392][ T1591] hardirqs last enabled at (27067): [] __down_trylock_console_sem+0x86/0xa0 [ 37.854395][ T1591] hardirqs last disabled at (27068): [] console_emit_next_record+0x3f8/0x4f0 [ 37.854398][ T1591] softirqs last enabled at (27038): [] nsim_fib_event_nb+0x2f0/0xa80 [netdevsim] [ 37.854407][ T1591] softirqs last disabled at (27036): [] nsim_fib_event_nb+0x213/0xa80 [netdevsim] [ 37.854414][ T1591] Preemption disabled at: [ 37.854414][ T1591] [] vprintk_emit+0x31b/0x3e0 [ 37.854421][ T1591] CPU: 1 UID: 0 PID: 1591 Comm: devlink Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 37.854426][ T1591] Tainted: [W]=WARN [ 37.854427][ T1591] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 37.854429][ T1591] Call Trace: [ 37.854431][ T1591] [ 37.854433][ T1591] dump_stack_lvl+0x6f/0xa0 [ 37.854440][ T1591] ? vprintk_emit+0x31b/0x3e0 [ 37.854443][ T1591] __might_resched.cold+0x1fe/0x2c1 [ 37.854449][ T1591] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 37.854454][ T1591] ? __kmalloc_noprof+0xdb/0x760 [ 37.854461][ T1591] __kmalloc_noprof+0x443/0x760 [ 37.854465][ T1591] ? alloc_buf.isra.0+0x4b/0x260 [ 37.854473][ T1591] ? do_raw_spin_unlock+0x59/0x250 [ 37.854477][ T1591] alloc_buf.isra.0+0x4b/0x260 [ 37.854482][ T1591] put_chars+0x1e1/0x2f0 [ 37.854485][ T1591] ? desc_read_finalized_seq+0x41/0x120 [ 37.854489][ T1591] ? __send_to_port+0x420/0x420 [ 37.854501][ T1591] hvc_console_print+0x292/0x780 [ 37.854511][ T1591] ? hvc_write+0x3a0/0x3a0 [ 37.854516][ T1591] ? lock_acquire+0x13c/0x160 [ 37.854523][ T1591] console_emit_next_record+0x252/0x4f0 [ 37.854529][ T1591] ? devkmsg_read+0x4e0/0x4e0 [ 37.854536][ T1591] ? rcu_is_watching+0x16/0xd0 [ 37.854541][ T1591] ? lock_acquire+0x13c/0x160 [ 37.854548][ T1591] console_flush_one_record+0x46f/0x710 [ 37.854555][ T1591] ? console_emit_next_record+0x4f0/0x4f0 [ 37.854557][ T1591] ? __lock_acquire+0x518/0xc20 [ 37.854566][ T1591] console_unlock+0xee/0x1f0 [ 37.854571][ T1591] ? console_flush_one_record+0x710/0x710 [ 37.854573][ T1591] ? rcu_is_watching+0x16/0xd0 [ 37.854576][ T1591] ? lock_acquire+0x60/0x160 [ 37.854582][ T1591] ? __down_trylock_console_sem+0x5e/0xa0 [ 37.854585][ T1591] ? vprintk_emit+0x320/0x3e0 [ 37.854590][ T1591] vprintk_emit+0x37c/0x3e0 [ 37.854596][ T1591] ? wake_up_klogd_work_func+0x90/0x90 [ 37.854599][ T1591] ? lockdep_hardirqs_on+0x91/0x130 [ 37.854603][ T1591] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 37.854607][ T1591] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 37.854610][ T1591] ? rcu_preempt_deferred_qs_irqrestore+0x562/0xc10 [ 37.854617][ T1591] _printk+0xc7/0x100 [ 37.854622][ T1591] ? snapshot_read.cold+0x21/0x21 [ 37.854627][ T1591] ? fib_net_dump+0x16f/0x2e0 [ 37.854634][ T1591] ? register_fib_notifier+0x46/0xb0 [ 37.854640][ T1591] nsim_fib_create.cold+0xc/0x22 [netdevsim] [ 37.854658][ T1591] ? nsim_fib_get_val+0xe0/0xe0 [netdevsim] [ 37.854664][ T1591] ? queue_delayed_work_on+0x95/0x100 [ 37.854671][ T1591] ? nsim_dev_traps_init+0x42f/0x5a0 [netdevsim] [ 37.854681][ T1591] nsim_dev_reload_create+0x1cf/0x4c0 [netdevsim] [ 37.854689][ T1591] ? devlink_reload_reinit_sanity_check+0xf8/0x240 [ 37.854693][ T1591] devlink_reload+0x264/0x430 [ 37.854697][ T1591] ? xa_get_mark+0x140/0x550 [ 37.854702][ T1591] ? devlink_notify_unregister+0x60/0x60 [ 37.854707][ T1591] ? devlink_resources_validate+0xb0/0x130 [ 37.854717][ T1591] devlink_nl_reload_doit+0xbd9/0x1160 [ 37.854720][ T1591] ? devlink_get_from_attrs_lock+0x1f0/0x470 [ 37.854723][ T1591] ? devlink_get_from_attrs_lock+0x230/0x470 [ 37.854726][ T1591] ? devlink_reload+0x430/0x430 [ 37.854728][ T1591] ? devlink_nl_msg_reply_and_new+0x180/0x180 [ 37.854733][ T1591] ? __nla_parse+0x22/0x30 [ 37.854737][ T1591] ? genl_family_rcv_msg_attrs_parse.isra.0+0x189/0x330 [ 37.854746][ T1591] genl_family_rcv_msg_doit+0x206/0x300 [ 37.854751][ T1591] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 37.854754][ T1591] ? __lock_release.isra.0+0x69/0x1a0 [ 37.854764][ T1591] ? rcu_is_watching+0x16/0xd0 [ 37.854768][ T1591] ? cap_capable+0x1d7/0x3d0 [ 37.854772][ T1591] ? write_profile+0xf0/0xf0 [ 37.854776][ T1591] ? unwind_get_return_address+0x67/0xd0 [ 37.854784][ T1591] genl_family_rcv_msg+0x3a4/0x640 [ 37.854791][ T1591] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 37.854794][ T1591] ? rcu_read_lock_any_held+0x3c/0x90 [ 37.854797][ T1591] ? devlink_nl_pre_doit_port+0x110/0x110 [ 37.854799][ T1591] ? devlink_reload+0x430/0x430 [ 37.854801][ T1591] ? devlink_nl_post_doit+0x80/0x80 [ 37.854804][ T1591] ? __lock_acquire+0x518/0xc20 [ 37.854814][ T1591] genl_rcv_msg+0xbb/0x160 [ 37.854819][ T1591] netlink_rcv_skb+0x14e/0x3a0 [ 37.854822][ T1591] ? genl_family_rcv_msg+0x640/0x640 [ 37.854828][ T1591] ? netlink_ack+0xcd0/0xcd0 [ 37.854841][ T1591] ? netlink_deliver_tap+0xc5/0x330 [ 37.854844][ T1591] ? netlink_deliver_tap+0x13c/0x330 [ 37.854851][ T1591] genl_rcv+0x28/0x40 [ 37.854854][ T1591] netlink_unicast+0x486/0x750 [ 37.854861][ T1591] ? netlink_attachskb+0x810/0x810 [ 37.854865][ T1591] ? __lock_acquire+0x518/0xc20 [ 37.854869][ T1591] ? rcu_tasks_need_gpcb+0x831/0x880 [ 37.854875][ T1591] netlink_sendmsg+0x735/0xc60 [ 37.854882][ T1591] ? netlink_unicast+0x750/0x750 [ 37.854888][ T1591] ? __might_fault+0x97/0x140 [ 37.854897][ T1591] ? __might_fault+0x97/0x140 [ 37.854904][ T1591] __sys_sendto+0x2aa/0x400 [ 37.854909][ T1591] ? __ia32_sys_getpeername+0xd0/0xd0 [ 37.854918][ T1591] ? __schedule+0xfa5/0x20e0 [ 37.854932][ T1591] ? trace_irq_enable.constprop.0+0x30/0x160 [ 37.854941][ T1591] __x64_sys_sendto+0xe4/0x1f0 [ 37.854944][ T1591] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 37.854947][ T1591] ? lockdep_hardirqs_on+0x91/0x130 [ 37.854950][ T1591] ? do_syscall_64+0xa6/0x530 [ 37.854952][ T1591] do_syscall_64+0xff/0x530 [ 37.854955][ T1591] ? irq_exit_rcu+0x1a/0x30 [ 37.854961][ T1591] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 37.854964][ T1591] RIP: 0033:0x7f0c1d2e354e [ 37.854968][ T1591] 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 [ 37.854971][ T1591] RSP: 002b:00007ffdaf7b6d10 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 37.854975][ T1591] RAX: ffffffffffffffda RBX: 00000000058f7980 RCX: 00007f0c1d2e354e [ 37.854977][ T1591] RDX: 0000000000000038 RSI: 00000000058f7ba0 RDI: 0000000000000005 [ 37.854978][ T1591] RBP: 00007ffdaf7b6d20 R08: 00007f0c1d596980 R09: 000000000000000c [ 37.854980][ T1591] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000040d0b0 [ 37.854981][ T1591] R13: 00000000058f7980 R14: 0000000000000000 R15: 0000000000000003 [ 37.854994][ T1591] [ 50.738372][ T2220] Failed to register fib notifier [ 50.738388][ T2220] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 50.738390][ T2220] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 2220, name: devlink [ 50.738392][ T2220] preempt_count: 1, expected: 0 [ 50.738393][ T2220] RCU nest depth: 0, expected: 0 [ 50.738394][ T2220] locks held by devlink/2220: 7, last CPU#0: [ 50.738396][ T2220] #0: ffffffff9055db48 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 50.738411][ T2220] #1: ff1100000cdfd128 (&dev->mutex){....}-{4:4}, at: devlink_get_from_attrs_lock+0x1e8/0x470 [ 50.738417][ T2220] #2: ff1100000dd82258 (&devlink->lock_key){+.+.}-{4:4}, at: devlink_get_from_attrs_lock+0x1f0/0x470 [ 50.738421][ T2220] #3: ffffffff8fd99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 50.738426][ T2220] #4: ffffffff8fd99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 50.738430][ T2220] #5: ffffffff8fc89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 50.738433][ T2220] #6: ffffffff8fc89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 50.738437][ T2220] irq event stamp: 21712 [ 50.738438][ T2220] hardirqs last enabled at (21711): [] __down_trylock_console_sem+0x86/0xa0 [ 50.738440][ T2220] hardirqs last disabled at (21712): [] console_emit_next_record+0x3f8/0x4f0 [ 50.738442][ T2220] softirqs last enabled at (21688): [] fib6_tables_dump+0x3f5/0x670 [ 50.738445][ T2220] softirqs last disabled at (21482): [] fib6_tables_dump+0x217/0x670 [ 50.738447][ T2220] Preemption disabled at: [ 50.738448][ T2220] [] vprintk_emit+0x31b/0x3e0 [ 50.738454][ T2220] CPU: 0 UID: 0 PID: 2220 Comm: devlink Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 50.738458][ T2220] Tainted: [W]=WARN [ 50.738458][ T2220] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 50.738460][ T2220] Call Trace: [ 50.738462][ T2220] [ 50.738464][ T2220] dump_stack_lvl+0x6f/0xa0 [ 50.738469][ T2220] ? vprintk_emit+0x31b/0x3e0 [ 50.738471][ T2220] __might_resched.cold+0x1fe/0x2c1 [ 50.738476][ T2220] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 50.738480][ T2220] ? __kmalloc_noprof+0xdb/0x760 [ 50.738485][ T2220] __kmalloc_noprof+0x443/0x760 [ 50.738487][ T2220] ? alloc_buf.isra.0+0x4b/0x260 [ 50.738493][ T2220] ? do_raw_spin_unlock+0x59/0x250 [ 50.738495][ T2220] alloc_buf.isra.0+0x4b/0x260 [ 50.738498][ T2220] put_chars+0x1e1/0x2f0 [ 50.738500][ T2220] ? desc_read_finalized_seq+0x41/0x120 [ 50.738503][ T2220] ? __send_to_port+0x420/0x420 [ 50.738510][ T2220] hvc_console_print+0x292/0x780 [ 50.738516][ T2220] ? hvc_write+0x3a0/0x3a0 [ 50.738519][ T2220] ? lock_acquire+0x13c/0x160 [ 50.738525][ T2220] console_emit_next_record+0x252/0x4f0 [ 50.738530][ T2220] ? devkmsg_read+0x4e0/0x4e0 [ 50.738535][ T2220] ? rcu_is_watching+0x16/0xd0 [ 50.738539][ T2220] ? lock_acquire+0x13c/0x160 [ 50.738542][ T2220] console_flush_one_record+0x46f/0x710 [ 50.738547][ T2220] ? console_emit_next_record+0x4f0/0x4f0 [ 50.738548][ T2220] ? __lock_acquire+0x518/0xc20 [ 50.738554][ T2220] console_unlock+0xee/0x1f0 [ 50.738556][ T2220] ? console_flush_one_record+0x710/0x710 [ 50.738558][ T2220] ? rcu_is_watching+0x16/0xd0 [ 50.738560][ T2220] ? lock_acquire+0x60/0x160 [ 50.738563][ T2220] ? __down_trylock_console_sem+0x5e/0xa0 [ 50.738565][ T2220] ? vprintk_emit+0x320/0x3e0 [ 50.738568][ T2220] vprintk_emit+0x37c/0x3e0 [ 50.738572][ T2220] ? wake_up_klogd_work_func+0x90/0x90 [ 50.738574][ T2220] ? lockdep_hardirqs_on+0x91/0x130 [ 50.738577][ T2220] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 50.738581][ T2220] ? rcu_preempt_deferred_qs_irqrestore+0x7cf/0xc10 [ 50.738586][ T2220] _printk+0xc7/0x100 [ 50.738590][ T2220] ? snapshot_read.cold+0x21/0x21 [ 50.738592][ T2220] ? fib_net_dump+0x16f/0x2e0 [ 50.738597][ T2220] ? register_fib_notifier+0x46/0xb0 [ 50.738601][ T2220] nsim_fib_create.cold+0xc/0x22 [netdevsim] [ 50.738613][ T2220] ? nsim_fib_get_val+0xe0/0xe0 [netdevsim] [ 50.738618][ T2220] ? queue_delayed_work_on+0x95/0x100 [ 50.738623][ T2220] ? nsim_dev_traps_init+0x42f/0x5a0 [netdevsim] [ 50.738628][ T2220] nsim_dev_reload_create+0x1cf/0x4c0 [netdevsim] [ 50.738633][ T2220] ? devlink_reload_reinit_sanity_check+0xf8/0x240 [ 50.738636][ T2220] devlink_reload+0x264/0x430 [ 50.738638][ T2220] ? xa_get_mark+0x140/0x550 [ 50.738642][ T2220] ? devlink_notify_unregister+0x60/0x60 [ 50.738645][ T2220] ? devlink_resources_validate+0xb0/0x130 [ 50.738651][ T2220] devlink_nl_reload_doit+0xbd9/0x1160 [ 50.738653][ T2220] ? devlink_get_from_attrs_lock+0x1f0/0x470 [ 50.738658][ T2220] ? devlink_get_from_attrs_lock+0x230/0x470 [ 50.738660][ T2220] ? devlink_reload+0x430/0x430 [ 50.738661][ T2220] ? devlink_nl_msg_reply_and_new+0x180/0x180 [ 50.738664][ T2220] ? __nla_parse+0x22/0x30 [ 50.738668][ T2220] ? genl_family_rcv_msg_attrs_parse.isra.0+0x189/0x330 [ 50.738673][ T2220] genl_family_rcv_msg_doit+0x206/0x300 [ 50.738676][ T2220] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 50.738678][ T2220] ? __lock_release.isra.0+0x69/0x1a0 [ 50.738686][ T2220] ? rcu_is_watching+0x16/0xd0 [ 50.738690][ T2220] ? cap_capable+0x1d7/0x3d0 [ 50.738694][ T2220] ? write_profile+0xf0/0xf0 [ 50.738697][ T2220] ? unwind_get_return_address+0x67/0xd0 [ 50.738702][ T2220] genl_family_rcv_msg+0x3a4/0x640 [ 50.738706][ T2220] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 50.738709][ T2220] ? rcu_read_lock_any_held+0x3c/0x90 [ 50.738711][ T2220] ? devlink_nl_pre_doit_port+0x110/0x110 [ 50.738712][ T2220] ? devlink_reload+0x430/0x430 [ 50.738714][ T2220] ? devlink_nl_post_doit+0x80/0x80 [ 50.738716][ T2220] ? __lock_acquire+0x518/0xc20 [ 50.738721][ T2220] genl_rcv_msg+0xbb/0x160 [ 50.738725][ T2220] netlink_rcv_skb+0x14e/0x3a0 [ 50.738727][ T2220] ? genl_family_rcv_msg+0x640/0x640 [ 50.738730][ T2220] ? netlink_ack+0xcd0/0xcd0 [ 50.738738][ T2220] ? netlink_deliver_tap+0xc5/0x330 [ 50.738740][ T2220] ? netlink_deliver_tap+0x13c/0x330 [ 50.738744][ T2220] genl_rcv+0x28/0x40 [ 50.738746][ T2220] netlink_unicast+0x486/0x750 [ 50.738751][ T2220] ? netlink_attachskb+0x810/0x810 [ 50.738753][ T2220] ? __lock_acquire+0x518/0xc20 [ 50.738758][ T2220] netlink_sendmsg+0x735/0xc60 [ 50.738762][ T2220] ? netlink_unicast+0x750/0x750 [ 50.738766][ T2220] ? __might_fault+0x97/0x140 [ 50.738769][ T2220] ? __might_fault+0x97/0x140 [ 50.738773][ T2220] __sys_sendto+0x2aa/0x400 [ 50.738777][ T2220] ? __ia32_sys_getpeername+0xd0/0xd0 [ 50.738792][ T2220] __x64_sys_sendto+0xe4/0x1f0 [ 50.738794][ T2220] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 50.738798][ T2220] ? lockdep_hardirqs_on+0x91/0x130 [ 50.738800][ T2220] ? do_syscall_64+0xa6/0x530 [ 50.738802][ T2220] do_syscall_64+0xff/0x530 [ 50.738803][ T2220] ? irq_exit_rcu+0x1a/0x30 [ 50.738807][ T2220] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 50.738810][ T2220] RIP: 0033:0x7f38cf93b54e [ 50.738813][ T2220] 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 [ 50.738816][ T2220] RSP: 002b:00007fff60e72a20 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 50.738818][ T2220] RAX: ffffffffffffffda RBX: 0000000020785980 RCX: 00007f38cf93b54e [ 50.738820][ T2220] RDX: 0000000000000038 RSI: 0000000020785ba0 RDI: 0000000000000005 [ 50.738821][ T2220] RBP: 00007fff60e72a30 R08: 00007f38cfbee980 R09: 000000000000000c [ 50.738821][ T2220] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000040d0b0 [ 50.738822][ T2220] R13: 0000000020785980 R14: 0000000000000000 R15: 0000000000000003 [ 50.738829][ T2220]