[ 10.002971][ T199] ip (199) used greatest stack depth: 24096 bytes left [ 10.002987][ T199] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.002989][ T199] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 199, name: ip [ 10.002991][ T199] preempt_count: 2, expected: 0 [ 10.002991][ T199] RCU nest depth: 0, expected: 0 [ 10.002992][ T199] locks held by ip/199: 5, last CPU#1: [ 10.002995][ T199] #0: ffffffffa5c027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.003007][ T199] #1: ffffffffa5d99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.003013][ T199] #2: ffffffffa5d99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.003017][ T199] #3: ffffffffa5c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.003020][ T199] #4: ffffffffa5c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.003023][ T199] irq event stamp: 19342 [ 10.003025][ T199] hardirqs last enabled at (19341): [] __down_trylock_console_sem+0x86/0xa0 [ 10.003027][ T199] hardirqs last disabled at (19342): [] console_emit_next_record+0x3f8/0x4f0 [ 10.003029][ T199] softirqs last enabled at (17822): [] netlink_release+0x17b/0xcf0 [ 10.003033][ T199] softirqs last disabled at (17820): [] netlink_release+0xd2/0xcf0 [ 10.003036][ T199] Preemption disabled at: [ 10.003036][ T199] [<0000000000000000>] 0x0 [ 10.003043][ T199] CPU: 1 UID: 0 PID: 199 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.003047][ T199] Tainted: [W]=WARN [ 10.003048][ T199] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.003049][ T199] Call Trace: [ 10.003051][ T199] [ 10.003052][ T199] dump_stack_lvl+0x6f/0xa0 [ 10.003059][ T199] __might_resched.cold+0x1fe/0x2c1 [ 10.003063][ T199] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.003067][ T199] ? __kmalloc_noprof+0xdb/0x760 [ 10.003072][ T199] __kmalloc_noprof+0x443/0x760 [ 10.003074][ T199] ? alloc_buf.isra.0+0x4b/0x260 [ 10.003080][ T199] ? do_raw_spin_unlock+0x59/0x250 [ 10.003083][ T199] alloc_buf.isra.0+0x4b/0x260 [ 10.003086][ T199] put_chars+0x1e1/0x2f0 [ 10.003089][ T199] ? __send_to_port+0x420/0x420 [ 10.003090][ T199] ? printk_get_next_message+0x2fe/0x7d0 [ 10.003094][ T199] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.003097][ T199] ? validate_chain+0x38b/0xc20 [ 10.003101][ T199] hvc_console_print+0x292/0x780 [ 10.003104][ T199] ? __lock_acquire+0x518/0xc20 [ 10.003106][ T199] ? __lock_acquire+0x518/0xc20 [ 10.003110][ T199] ? hvc_write+0x3a0/0x3a0 [ 10.003113][ T199] ? rcu_is_watching+0x16/0xd0 [ 10.003116][ T199] ? lock_acquire+0x13c/0x160 [ 10.003120][ T199] console_emit_next_record+0x252/0x4f0 [ 10.003124][ T199] ? devkmsg_read+0x4e0/0x4e0 [ 10.003128][ T199] ? rcu_is_watching+0x16/0xd0 [ 10.003130][ T199] ? lock_acquire+0x13c/0x160 [ 10.003134][ T199] console_flush_one_record+0x46f/0x710 [ 10.003138][ T199] ? console_emit_next_record+0x4f0/0x4f0 [ 10.003140][ T199] ? __lock_acquire+0x518/0xc20 [ 10.003145][ T199] console_unlock+0xee/0x1f0 [ 10.003148][ T199] ? console_flush_one_record+0x710/0x710 [ 10.003150][ T199] ? rcu_is_watching+0x16/0xd0 [ 10.003152][ T199] ? lock_acquire+0x60/0x160 [ 10.003156][ T199] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.003157][ T199] ? vprintk_emit+0x320/0x3e0 [ 10.003160][ T199] vprintk_emit+0x37c/0x3e0 [ 10.003164][ T199] ? wake_up_klogd_work_func+0x90/0x90 [ 10.003167][ T199] ? __lock_acquire+0x518/0xc20 [ 10.003171][ T199] _printk+0xc7/0x100 [ 10.003174][ T199] ? snapshot_read.cold+0x21/0x21 [ 10.003177][ T199] ? do_raw_spin_lock+0x131/0x280 [ 10.003180][ T199] ? __rwlock_init+0x150/0x150 [ 10.003183][ T199] ? do_raw_spin_lock+0x131/0x280 [ 10.003186][ T199] do_exit.cold+0x82/0x9c [ 10.003190][ T199] ? exit_notify+0x890/0x890 [ 10.003192][ T199] ? __lock_release.isra.0+0x69/0x1a0 [ 10.003194][ T199] ? rcu_is_watching+0x16/0xd0 [ 10.003198][ T199] do_group_exit+0xb8/0x370 [ 10.003202][ T199] __x64_sys_exit_group+0x3c/0x50 [ 10.003204][ T199] x64_sys_call+0x1567/0x1570 [ 10.003207][ T199] do_syscall_64+0xff/0x530 [ 10.003210][ T199] ? exc_page_fault+0xee/0x100 [ 10.003213][ T199] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.003216][ T199] RIP: 0033:0x7f1cfca891b8 [ 10.003218][ T199] Code: Unable to access opcode bytes at 0x7f1cfca8918e. [ 10.003219][ T199] RSP: 002b:00007ffcbd498cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.003222][ T199] RAX: ffffffffffffffda RBX: 00007f1cfcbb9f88 RCX: 00007f1cfca891b8 [ 10.003223][ T199] RDX: 00007f1cfc7d3fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.003224][ T199] RBP: 00007ffcbd498d50 R08: 0000000000000000 R09: 0000000000000050 [ 10.003225][ T199] R10: 00007ffcbd498b10 R11: 0000000000000246 R12: 0000000000000001 [ 10.003226][ T199] R13: 0000000000000000 R14: 00007f1cfcbb8680 R15: 00007f1cfcbb9fa0 [ 10.003233][ T199] [ 11.770587][ T305] ip (305) used greatest stack depth: 24048 bytes left [ 11.770606][ T305] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.770608][ T305] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 305, name: ip [ 11.770610][ T305] preempt_count: 2, expected: 0 [ 11.770611][ T305] RCU nest depth: 0, expected: 0 [ 11.770612][ T305] locks held by ip/305: 5, last CPU#1: [ 11.770615][ T305] #0: ffffffffa5c027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.770628][ T305] #1: ffffffffa5d99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.770633][ T305] #2: ffffffffa5d99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.770637][ T305] #3: ffffffffa5c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.770641][ T305] #4: ffffffffa5c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 11.770645][ T305] irq event stamp: 41378 [ 11.770646][ T305] hardirqs last enabled at (41377): [] __down_trylock_console_sem+0x86/0xa0 [ 11.770649][ T305] hardirqs last disabled at (41378): [] console_emit_next_record+0x3f8/0x4f0 [ 11.770650][ T305] softirqs last enabled at (41340): [] handle_softirqs+0x67c/0x900 [ 11.770653][ T305] softirqs last disabled at (41335): [] __irq_exit_rcu+0x145/0x1c0 [ 11.770656][ T305] Preemption disabled at: [ 11.770656][ T305] [<0000000000000000>] 0x0 [ 11.770663][ T305] CPU: 1 UID: 0 PID: 305 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.770667][ T305] Tainted: [W]=WARN [ 11.770668][ T305] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.770669][ T305] Call Trace: [ 11.770671][ T305] [ 11.770673][ T305] dump_stack_lvl+0x6f/0xa0 [ 11.770679][ T305] __might_resched.cold+0x1fe/0x2c1 [ 11.770684][ T305] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.770688][ T305] ? __kmalloc_noprof+0xdb/0x760 [ 11.770693][ T305] __kmalloc_noprof+0x443/0x760 [ 11.770695][ T305] ? alloc_buf.isra.0+0x4b/0x260 [ 11.770701][ T305] ? do_raw_spin_unlock+0x59/0x250 [ 11.770704][ T305] alloc_buf.isra.0+0x4b/0x260 [ 11.770707][ T305] put_chars+0x1e1/0x2f0 [ 11.770710][ T305] ? __send_to_port+0x420/0x420 [ 11.770711][ T305] ? printk_get_next_message+0x2fe/0x7d0 [ 11.770715][ T305] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.770718][ T305] ? validate_chain+0x38b/0xc20 [ 11.770722][ T305] hvc_console_print+0x292/0x780 [ 11.770725][ T305] ? __lock_acquire+0x518/0xc20 [ 11.770726][ T305] ? __lock_acquire+0x518/0xc20 [ 11.770730][ T305] ? hvc_write+0x3a0/0x3a0 [ 11.770734][ T305] ? rcu_is_watching+0x16/0xd0 [ 11.770737][ T305] ? lock_acquire+0x13c/0x160 [ 11.770741][ T305] console_emit_next_record+0x252/0x4f0 [ 11.770744][ T305] ? devkmsg_read+0x4e0/0x4e0 [ 11.770749][ T305] ? rcu_is_watching+0x16/0xd0 [ 11.770751][ T305] ? lock_acquire+0x13c/0x160 [ 11.770755][ T305] console_flush_one_record+0x46f/0x710 [ 11.770759][ T305] ? console_emit_next_record+0x4f0/0x4f0 [ 11.770760][ T305] ? __lock_acquire+0x518/0xc20 [ 11.770765][ T305] console_unlock+0xee/0x1f0 [ 11.770768][ T305] ? console_flush_one_record+0x710/0x710 [ 11.770770][ T305] ? rcu_is_watching+0x16/0xd0 [ 11.770772][ T305] ? lock_acquire+0x60/0x160 [ 11.770775][ T305] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.770777][ T305] ? vprintk_emit+0x320/0x3e0 [ 11.770780][ T305] vprintk_emit+0x37c/0x3e0 [ 11.770784][ T305] ? wake_up_klogd_work_func+0x90/0x90 [ 11.770787][ T305] ? __lock_acquire+0x518/0xc20 [ 11.770791][ T305] _printk+0xc7/0x100 [ 11.770794][ T305] ? snapshot_read.cold+0x21/0x21 [ 11.770797][ T305] ? do_raw_spin_lock+0x131/0x280 [ 11.770800][ T305] ? __rwlock_init+0x150/0x150 [ 11.770803][ T305] ? do_raw_spin_lock+0x131/0x280 [ 11.770806][ T305] do_exit.cold+0x82/0x9c [ 11.770810][ T305] ? exit_notify+0x890/0x890 [ 11.770812][ T305] ? __lock_release.isra.0+0x69/0x1a0 [ 11.770814][ T305] ? rcu_is_watching+0x16/0xd0 [ 11.770818][ T305] do_group_exit+0xb8/0x370 [ 11.770822][ T305] __x64_sys_exit_group+0x3c/0x50 [ 11.770824][ T305] x64_sys_call+0x1567/0x1570 [ 11.770827][ T305] do_syscall_64+0xff/0x530 [ 11.770830][ T305] ? exc_page_fault+0xee/0x100 [ 11.770833][ T305] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.770836][ T305] RIP: 0033:0x7f4e31f571b8 [ 11.770838][ T305] Code: Unable to access opcode bytes at 0x7f4e31f5718e. [ 11.770839][ T305] RSP: 002b:00007ffe99b51678 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.770842][ T305] RAX: ffffffffffffffda RBX: 00007f4e32087f88 RCX: 00007f4e31f571b8 [ 11.770843][ T305] RDX: 00007f4e31ca1fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.770844][ T305] RBP: 00007ffe99b516d0 R08: 0000000000000000 R09: 0000000000000050 [ 11.770845][ T305] R10: 00007ffe99b51490 R11: 0000000000000246 R12: 0000000000000001 [ 11.770846][ T305] R13: 0000000000000000 R14: 00007f4e32086680 R15: 00007f4e32087fa0 [ 11.770853][ T305] [ 17.322112][ T565] Failed to register fib notifier [ 17.322199][ T565] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.322202][ T565] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 565, name: devlink [ 17.322204][ T565] preempt_count: 1, expected: 0 [ 17.322205][ T565] RCU nest depth: 0, expected: 0 [ 17.322206][ T565] locks held by devlink/565: 7, last CPU#0: [ 17.322208][ T565] #0: ffffffffa655db48 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 17.322221][ T565] #1: ff11000005f53928 (&dev->mutex){....}-{4:4}, at: devlink_get_from_attrs_lock+0x1e8/0x470 [ 17.322227][ T565] #2: ff11000002070a58 (&devlink->lock_key){+.+.}-{4:4}, at: devlink_get_from_attrs_lock+0x1f0/0x470 [ 17.322230][ T565] #3: ffffffffa5d99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.322236][ T565] #4: ffffffffa5d99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.322239][ T565] #5: ffffffffa5c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.322243][ T565] #6: ffffffffa5c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 17.322247][ T565] irq event stamp: 26334 [ 17.322248][ T565] hardirqs last enabled at (26333): [] __down_trylock_console_sem+0x86/0xa0 [ 17.322250][ T565] hardirqs last disabled at (26334): [] console_emit_next_record+0x3f8/0x4f0 [ 17.322252][ T565] softirqs last enabled at (26302): [] nsim_fib_event_nb+0x2f0/0xa80 [netdevsim] [ 17.322259][ T565] softirqs last disabled at (26300): [] nsim_fib_event_nb+0x213/0xa80 [netdevsim] [ 17.322263][ T565] Preemption disabled at: [ 17.322264][ T565] [] vprintk_emit+0x31b/0x3e0 [ 17.322269][ T565] CPU: 0 UID: 0 PID: 565 Comm: devlink Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.322273][ T565] Tainted: [W]=WARN [ 17.322274][ T565] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.322275][ T565] Call Trace: [ 17.322277][ T565] [ 17.322279][ T565] dump_stack_lvl+0x6f/0xa0 [ 17.322284][ T565] ? vprintk_emit+0x31b/0x3e0 [ 17.322286][ T565] __might_resched.cold+0x1fe/0x2c1 [ 17.322291][ T565] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.322295][ T565] ? __kmalloc_noprof+0xdb/0x760 [ 17.322300][ T565] __kmalloc_noprof+0x443/0x760 [ 17.322303][ T565] ? alloc_buf.isra.0+0x4b/0x260 [ 17.322309][ T565] ? do_raw_spin_unlock+0x59/0x250 [ 17.322311][ T565] alloc_buf.isra.0+0x4b/0x260 [ 17.322315][ T565] put_chars+0x1e1/0x2f0 [ 17.322317][ T565] ? __send_to_port+0x420/0x420 [ 17.322329][ T565] hvc_console_print+0x292/0x780 [ 17.322335][ T565] ? hvc_write+0x3a0/0x3a0 [ 17.322338][ T565] ? lock_acquire+0x13c/0x160 [ 17.322342][ T565] console_emit_next_record+0x252/0x4f0 [ 17.322346][ T565] ? devkmsg_read+0x4e0/0x4e0 [ 17.322350][ T565] ? rcu_is_watching+0x16/0xd0 [ 17.322354][ T565] ? lock_acquire+0x13c/0x160 [ 17.322358][ T565] console_flush_one_record+0x46f/0x710 [ 17.322362][ T565] ? console_emit_next_record+0x4f0/0x4f0 [ 17.322364][ T565] ? __lock_acquire+0x518/0xc20 [ 17.322370][ T565] console_unlock+0xee/0x1f0 [ 17.322372][ T565] ? console_flush_one_record+0x710/0x710 [ 17.322374][ T565] ? rcu_is_watching+0x16/0xd0 [ 17.322376][ T565] ? lock_acquire+0x60/0x160 [ 17.322380][ T565] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.322381][ T565] ? vprintk_emit+0x320/0x3e0 [ 17.322385][ T565] vprintk_emit+0x37c/0x3e0 [ 17.322388][ T565] ? wake_up_klogd_work_func+0x90/0x90 [ 17.322391][ T565] ? find_held_lock+0x2b/0x80 [ 17.322397][ T565] _printk+0xc7/0x100 [ 17.322401][ T565] ? snapshot_read.cold+0x21/0x21 [ 17.322404][ T565] ? fib_net_dump+0x16f/0x2e0 [ 17.322409][ T565] ? register_fib_notifier+0x46/0xb0 [ 17.322411][ T565] ? fib_notify+0x48f/0x830 [ 17.322416][ T565] nsim_fib_create.cold+0xc/0x22 [netdevsim] [ 17.322424][ T565] ? nsim_fib_get_val+0xe0/0xe0 [netdevsim] [ 17.322428][ T565] ? queue_delayed_work_on+0x95/0x100 [ 17.322433][ T565] ? nsim_dev_traps_init+0x42f/0x5a0 [netdevsim] [ 17.322439][ T565] nsim_dev_reload_create+0x1cf/0x4c0 [netdevsim] [ 17.322444][ T565] ? devlink_reload_reinit_sanity_check+0xf8/0x240 [ 17.322447][ T565] devlink_reload+0x264/0x430 [ 17.322449][ T565] ? xa_get_mark+0x140/0x550 [ 17.322453][ T565] ? devlink_notify_unregister+0x60/0x60 [ 17.322457][ T565] ? devlink_resources_validate+0xb0/0x130 [ 17.322463][ T565] devlink_nl_reload_doit+0xbd9/0x1160 [ 17.322465][ T565] ? devlink_get_from_attrs_lock+0x1f0/0x470 [ 17.322467][ T565] ? devlink_get_from_attrs_lock+0x230/0x470 [ 17.322469][ T565] ? devlink_reload+0x430/0x430 [ 17.322471][ T565] ? devlink_nl_msg_reply_and_new+0x180/0x180 [ 17.322473][ T565] ? __nla_parse+0x22/0x30 [ 17.322477][ T565] ? genl_family_rcv_msg_attrs_parse.isra.0+0x189/0x330 [ 17.322482][ T565] genl_family_rcv_msg_doit+0x206/0x300 [ 17.322486][ T565] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 17.322488][ T565] ? __lock_release.isra.0+0x69/0x1a0 [ 17.322493][ T565] ? rcu_is_watching+0x16/0xd0 [ 17.322496][ T565] ? cap_capable+0x1d7/0x3d0 [ 17.322499][ T565] ? write_profile+0xf0/0xf0 [ 17.322503][ T565] ? unwind_get_return_address+0x67/0xd0 [ 17.322508][ T565] genl_family_rcv_msg+0x3a4/0x640 [ 17.322512][ T565] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 17.322515][ T565] ? rcu_read_lock_any_held+0x3c/0x90 [ 17.322517][ T565] ? devlink_nl_pre_doit_port+0x110/0x110 [ 17.322519][ T565] ? devlink_reload+0x430/0x430 [ 17.322520][ T565] ? devlink_nl_post_doit+0x80/0x80 [ 17.322522][ T565] ? __lock_acquire+0x518/0xc20 [ 17.322531][ T565] genl_rcv_msg+0xbb/0x160 [ 17.322534][ T565] netlink_rcv_skb+0x14e/0x3a0 [ 17.322537][ T565] ? genl_family_rcv_msg+0x640/0x640 [ 17.322540][ T565] ? netlink_ack+0xcd0/0xcd0 [ 17.322548][ T565] ? netlink_deliver_tap+0xc5/0x330 [ 17.322550][ T565] ? netlink_deliver_tap+0x13c/0x330 [ 17.322555][ T565] genl_rcv+0x28/0x40 [ 17.322557][ T565] netlink_unicast+0x486/0x750 [ 17.322562][ T565] ? netlink_attachskb+0x810/0x810 [ 17.322564][ T565] ? __lock_acquire+0x518/0xc20 [ 17.322569][ T565] netlink_sendmsg+0x735/0xc60 [ 17.322574][ T565] ? netlink_unicast+0x750/0x750 [ 17.322577][ T565] ? __might_fault+0x97/0x140 [ 17.322581][ T565] ? __might_fault+0x97/0x140 [ 17.322585][ T565] __sys_sendto+0x2aa/0x400 [ 17.322588][ T565] ? __ia32_sys_getpeername+0xd0/0xd0 [ 17.322603][ T565] __x64_sys_sendto+0xe4/0x1f0 [ 17.322605][ T565] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 17.322609][ T565] ? lockdep_hardirqs_on+0x91/0x130 [ 17.322612][ T565] ? do_syscall_64+0xa6/0x530 [ 17.322613][ T565] do_syscall_64+0xff/0x530 [ 17.322615][ T565] ? exc_page_fault+0xee/0x100 [ 17.322618][ T565] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.322620][ T565] RIP: 0033:0x7f892c56554e [ 17.322624][ T565] 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.322626][ T565] RSP: 002b:00007ffe999ab080 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 17.322629][ T565] RAX: ffffffffffffffda RBX: 0000000026698980 RCX: 00007f892c56554e [ 17.322630][ T565] RDX: 0000000000000038 RSI: 0000000026698ba0 RDI: 0000000000000005 [ 17.322631][ T565] RBP: 00007ffe999ab090 R08: 00007f892c818980 R09: 000000000000000c [ 17.322632][ T565] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000040d0b0 [ 17.322633][ T565] R13: 0000000026698980 R14: 0000000000000000 R15: 0000000000000003 [ 17.322640][ T565] [ 29.734733][ T1195] Failed to register fib notifier [ 29.734749][ T1195] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 29.734752][ T1195] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1195, name: devlink [ 29.734753][ T1195] preempt_count: 1, expected: 0 [ 29.734754][ T1195] RCU nest depth: 0, expected: 0 [ 29.734755][ T1195] locks held by devlink/1195: 7, last CPU#3: [ 29.734757][ T1195] #0: ffffffffa655db48 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 29.734771][ T1195] #1: ff11000005f53928 (&dev->mutex){....}-{4:4}, at: devlink_get_from_attrs_lock+0x1e8/0x470 [ 29.734777][ T1195] #2: ff11000002070a58 (&devlink->lock_key){+.+.}-{4:4}, at: devlink_get_from_attrs_lock+0x1f0/0x470 [ 29.734781][ T1195] #3: ffffffffa5d99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 29.734787][ T1195] #4: ffffffffa5d99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 29.734790][ T1195] #5: ffffffffa5c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 29.734794][ T1195] #6: ffffffffa5c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 29.734798][ T1195] irq event stamp: 26630 [ 29.734799][ T1195] hardirqs last enabled at (26629): [] __down_trylock_console_sem+0x86/0xa0 [ 29.734801][ T1195] hardirqs last disabled at (26630): [] console_emit_next_record+0x3f8/0x4f0 [ 29.734803][ T1195] softirqs last enabled at (26606): [] handle_softirqs+0x67c/0x900 [ 29.734807][ T1195] softirqs last disabled at (26515): [] do_softirq+0xac/0xe0 [ 29.734810][ T1195] Preemption disabled at: [ 29.734810][ T1195] [] vprintk_emit+0x31b/0x3e0 [ 29.734816][ T1195] CPU: 3 UID: 0 PID: 1195 Comm: devlink Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 29.734820][ T1195] Tainted: [W]=WARN [ 29.734821][ T1195] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 29.734822][ T1195] Call Trace: [ 29.734824][ T1195] [ 29.734826][ T1195] dump_stack_lvl+0x6f/0xa0 [ 29.734832][ T1195] ? vprintk_emit+0x31b/0x3e0 [ 29.734834][ T1195] __might_resched.cold+0x1fe/0x2c1 [ 29.734839][ T1195] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 29.734843][ T1195] ? __kmalloc_noprof+0xdb/0x760 [ 29.734848][ T1195] __kmalloc_noprof+0x443/0x760 [ 29.734850][ T1195] ? alloc_buf.isra.0+0x4b/0x260 [ 29.734856][ T1195] ? do_raw_spin_unlock+0x59/0x250 [ 29.734859][ T1195] alloc_buf.isra.0+0x4b/0x260 [ 29.734862][ T1195] put_chars+0x1e1/0x2f0 [ 29.734864][ T1195] ? desc_read_finalized_seq+0x41/0x120 [ 29.734867][ T1195] ? __send_to_port+0x420/0x420 [ 29.734874][ T1195] hvc_console_print+0x292/0x780 [ 29.734881][ T1195] ? hvc_write+0x3a0/0x3a0 [ 29.734884][ T1195] ? lock_acquire+0x13c/0x160 [ 29.734888][ T1195] console_emit_next_record+0x252/0x4f0 [ 29.734892][ T1195] ? devkmsg_read+0x4e0/0x4e0 [ 29.734897][ T1195] ? rcu_is_watching+0x16/0xd0 [ 29.734900][ T1195] ? lock_acquire+0x13c/0x160 [ 29.734904][ T1195] console_flush_one_record+0x46f/0x710 [ 29.734909][ T1195] ? console_emit_next_record+0x4f0/0x4f0 [ 29.734910][ T1195] ? __lock_acquire+0x518/0xc20 [ 29.734916][ T1195] console_unlock+0xee/0x1f0 [ 29.734919][ T1195] ? console_flush_one_record+0x710/0x710 [ 29.734920][ T1195] ? rcu_is_watching+0x16/0xd0 [ 29.734923][ T1195] ? lock_acquire+0x60/0x160 [ 29.734926][ T1195] ? __down_trylock_console_sem+0x5e/0xa0 [ 29.734928][ T1195] ? vprintk_emit+0x320/0x3e0 [ 29.734931][ T1195] vprintk_emit+0x37c/0x3e0 [ 29.734935][ T1195] ? wake_up_klogd_work_func+0x90/0x90 [ 29.734937][ T1195] ? lockdep_hardirqs_on+0x91/0x130 [ 29.734941][ T1195] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 29.734944][ T1195] ? rcu_preempt_deferred_qs_irqrestore+0x7cf/0xc10 [ 29.734950][ T1195] _printk+0xc7/0x100 [ 29.734953][ T1195] ? snapshot_read.cold+0x21/0x21 [ 29.734956][ T1195] ? fib_net_dump+0x16f/0x2e0 [ 29.734961][ T1195] ? register_fib_notifier+0x46/0xb0 [ 29.734965][ T1195] nsim_fib_create.cold+0xc/0x22 [netdevsim] [ 29.734976][ T1195] ? nsim_fib_get_val+0xe0/0xe0 [netdevsim] [ 29.734982][ T1195] ? queue_delayed_work_on+0x95/0x100 [ 29.734987][ T1195] ? nsim_dev_traps_init+0x42f/0x5a0 [netdevsim] [ 29.734993][ T1195] nsim_dev_reload_create+0x1cf/0x4c0 [netdevsim] [ 29.734998][ T1195] ? devlink_reload_reinit_sanity_check+0xf8/0x240 [ 29.735001][ T1195] devlink_reload+0x264/0x430 [ 29.735003][ T1195] ? xa_get_mark+0x140/0x550 [ 29.735007][ T1195] ? devlink_notify_unregister+0x60/0x60 [ 29.735010][ T1195] ? devlink_resources_validate+0xb0/0x130 [ 29.735017][ T1195] devlink_nl_reload_doit+0xbd9/0x1160 [ 29.735019][ T1195] ? devlink_get_from_attrs_lock+0x1f0/0x470 [ 29.735021][ T1195] ? devlink_get_from_attrs_lock+0x230/0x470 [ 29.735023][ T1195] ? devlink_reload+0x430/0x430 [ 29.735025][ T1195] ? devlink_nl_msg_reply_and_new+0x180/0x180 [ 29.735027][ T1195] ? __nla_parse+0x22/0x30 [ 29.735031][ T1195] ? genl_family_rcv_msg_attrs_parse.isra.0+0x189/0x330 [ 29.735036][ T1195] genl_family_rcv_msg_doit+0x206/0x300 [ 29.735040][ T1195] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 29.735042][ T1195] ? __lock_release.isra.0+0x69/0x1a0 [ 29.735048][ T1195] ? rcu_is_watching+0x16/0xd0 [ 29.735050][ T1195] ? cap_capable+0x1d7/0x3d0 [ 29.735054][ T1195] ? write_profile+0xf0/0xf0 [ 29.735057][ T1195] ? unwind_get_return_address+0x67/0xd0 [ 29.735063][ T1195] genl_family_rcv_msg+0x3a4/0x640 [ 29.735067][ T1195] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 29.735070][ T1195] ? rcu_read_lock_any_held+0x3c/0x90 [ 29.735072][ T1195] ? devlink_nl_pre_doit_port+0x110/0x110 [ 29.735073][ T1195] ? devlink_reload+0x430/0x430 [ 29.735075][ T1195] ? devlink_nl_post_doit+0x80/0x80 [ 29.735077][ T1195] ? __lock_acquire+0x518/0xc20 [ 29.735082][ T1195] genl_rcv_msg+0xbb/0x160 [ 29.735086][ T1195] netlink_rcv_skb+0x14e/0x3a0 [ 29.735088][ T1195] ? genl_family_rcv_msg+0x640/0x640 [ 29.735092][ T1195] ? netlink_ack+0xcd0/0xcd0 [ 29.735100][ T1195] ? netlink_deliver_tap+0xc5/0x330 [ 29.735102][ T1195] ? netlink_deliver_tap+0x13c/0x330 [ 29.735107][ T1195] genl_rcv+0x28/0x40 [ 29.735109][ T1195] netlink_unicast+0x486/0x750 [ 29.735114][ T1195] ? netlink_attachskb+0x810/0x810 [ 29.735116][ T1195] ? __lock_acquire+0x518/0xc20 [ 29.735121][ T1195] netlink_sendmsg+0x735/0xc60 [ 29.735126][ T1195] ? netlink_unicast+0x750/0x750 [ 29.735130][ T1195] ? __might_fault+0x97/0x140 [ 29.735133][ T1195] ? __might_fault+0x97/0x140 [ 29.735137][ T1195] __sys_sendto+0x2aa/0x400 [ 29.735141][ T1195] ? __ia32_sys_getpeername+0xd0/0xd0 [ 29.735156][ T1195] __x64_sys_sendto+0xe4/0x1f0 [ 29.735158][ T1195] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 29.735162][ T1195] ? lockdep_hardirqs_on+0x91/0x130 [ 29.735164][ T1195] ? do_syscall_64+0xa6/0x530 [ 29.735165][ T1195] do_syscall_64+0xff/0x530 [ 29.735167][ T1195] ? exc_page_fault+0xee/0x100 [ 29.735170][ T1195] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 29.735172][ T1195] RIP: 0033:0x7f32050eb54e [ 29.735176][ T1195] 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.735178][ T1195] RSP: 002b:00007ffed1e2e010 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 29.735181][ T1195] RAX: ffffffffffffffda RBX: 0000000032617980 RCX: 00007f32050eb54e [ 29.735182][ T1195] RDX: 0000000000000038 RSI: 0000000032617ba0 RDI: 0000000000000005 [ 29.735183][ T1195] RBP: 00007ffed1e2e020 R08: 00007f320539e980 R09: 000000000000000c [ 29.735184][ T1195] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000040d0b0 [ 29.735185][ T1195] R13: 0000000032617980 R14: 0000000000000000 R15: 0000000000000003 [ 29.735192][ T1195] [ 30.750727][ T1248] ip (1248) used greatest stack depth: 23808 bytes left [ 30.750748][ T1248] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 30.750750][ T1248] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1248, name: ip [ 30.750752][ T1248] preempt_count: 2, expected: 0 [ 30.750753][ T1248] RCU nest depth: 0, expected: 0 [ 30.750754][ T1248] locks held by ip/1248: 5, last CPU#0: [ 30.750756][ T1248] #0: ffffffffa5c027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 30.750769][ T1248] #1: ffffffffa5d99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 30.750775][ T1248] #2: ffffffffa5d99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 30.750779][ T1248] #3: ffffffffa5c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 30.750783][ T1248] #4: ffffffffa5c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 30.750787][ T1248] irq event stamp: 30824 [ 30.750788][ T1248] hardirqs last enabled at (30823): [] __down_trylock_console_sem+0x86/0xa0 [ 30.750790][ T1248] hardirqs last disabled at (30824): [] console_emit_next_record+0x3f8/0x4f0 [ 30.750792][ T1248] softirqs last enabled at (29244): [] netlink_release+0x17b/0xcf0 [ 30.750797][ T1248] softirqs last disabled at (29242): [] netlink_release+0xd2/0xcf0 [ 30.750800][ T1248] Preemption disabled at: [ 30.750801][ T1248] [<0000000000000000>] 0x0 [ 30.750807][ T1248] CPU: 0 UID: 0 PID: 1248 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.750811][ T1248] Tainted: [W]=WARN [ 30.750812][ T1248] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.750814][ T1248] Call Trace: [ 30.750816][ T1248] [ 30.750817][ T1248] dump_stack_lvl+0x6f/0xa0 [ 30.750824][ T1248] __might_resched.cold+0x1fe/0x2c1 [ 30.750829][ T1248] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 30.750833][ T1248] ? __kmalloc_noprof+0xdb/0x760 [ 30.750838][ T1248] __kmalloc_noprof+0x443/0x760 [ 30.750840][ T1248] ? alloc_buf.isra.0+0x4b/0x260 [ 30.750846][ T1248] ? do_raw_spin_unlock+0x59/0x250 [ 30.750849][ T1248] alloc_buf.isra.0+0x4b/0x260 [ 30.750852][ T1248] put_chars+0x1e1/0x2f0 [ 30.750855][ T1248] ? __send_to_port+0x420/0x420 [ 30.750857][ T1248] ? printk_get_next_message+0x2fe/0x7d0 [ 30.750860][ T1248] ? rcu_read_lock_any_held+0x3c/0x90 [ 30.750863][ T1248] ? validate_chain+0x38b/0xc20 [ 30.750868][ T1248] hvc_console_print+0x292/0x780 [ 30.750871][ T1248] ? __lock_acquire+0x518/0xc20 [ 30.750872][ T1248] ? __lock_acquire+0x518/0xc20 [ 30.750877][ T1248] ? hvc_write+0x3a0/0x3a0 [ 30.750880][ T1248] ? rcu_is_watching+0x16/0xd0 [ 30.750883][ T1248] ? lock_acquire+0x13c/0x160 [ 30.750887][ T1248] console_emit_next_record+0x252/0x4f0 [ 30.750891][ T1248] ? devkmsg_read+0x4e0/0x4e0 [ 30.750896][ T1248] ? rcu_is_watching+0x16/0xd0 [ 30.750898][ T1248] ? lock_acquire+0x13c/0x160 [ 30.750902][ T1248] console_flush_one_record+0x46f/0x710 [ 30.750906][ T1248] ? console_emit_next_record+0x4f0/0x4f0 [ 30.750908][ T1248] ? __lock_acquire+0x518/0xc20 [ 30.750913][ T1248] console_unlock+0xee/0x1f0 [ 30.750916][ T1248] ? console_flush_one_record+0x710/0x710 [ 30.750918][ T1248] ? rcu_is_watching+0x16/0xd0 [ 30.750920][ T1248] ? lock_acquire+0x60/0x160 [ 30.750924][ T1248] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.750925][ T1248] ? vprintk_emit+0x320/0x3e0 [ 30.750928][ T1248] vprintk_emit+0x37c/0x3e0 [ 30.750932][ T1248] ? wake_up_klogd_work_func+0x90/0x90 [ 30.750936][ T1248] ? __lock_acquire+0x518/0xc20 [ 30.750939][ T1248] _printk+0xc7/0x100 [ 30.750943][ T1248] ? snapshot_read.cold+0x21/0x21 [ 30.750946][ T1248] ? do_raw_spin_lock+0x131/0x280 [ 30.750949][ T1248] ? __rwlock_init+0x150/0x150 [ 30.750952][ T1248] ? do_raw_spin_lock+0x131/0x280 [ 30.750955][ T1248] do_exit.cold+0x82/0x9c [ 30.750959][ T1248] ? exit_notify+0x890/0x890 [ 30.750961][ T1248] ? __lock_release.isra.0+0x69/0x1a0 [ 30.750963][ T1248] ? rcu_is_watching+0x16/0xd0 [ 30.750968][ T1248] do_group_exit+0xb8/0x370 [ 30.750971][ T1248] __x64_sys_exit_group+0x3c/0x50 [ 30.750974][ T1248] x64_sys_call+0x1567/0x1570 [ 30.750976][ T1248] do_syscall_64+0xff/0x530 [ 30.750979][ T1248] ? exc_page_fault+0xee/0x100 [ 30.750983][ T1248] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.750985][ T1248] RIP: 0033:0x7ff9ecf9f1b8 [ 30.750987][ T1248] Code: Unable to access opcode bytes at 0x7ff9ecf9f18e. [ 30.750989][ T1248] RSP: 002b:00007ffddb5117e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 30.750991][ T1248] RAX: ffffffffffffffda RBX: 00007ff9ed0cff88 RCX: 00007ff9ecf9f1b8 [ 30.750993][ T1248] RDX: 00007ff9ecce9fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 30.750994][ T1248] RBP: 00007ffddb511840 R08: 0000000000000000 R09: 0000000000000020 [ 30.750995][ T1248] R10: 00007ffddb511600 R11: 0000000000000246 R12: 0000000000000001 [ 30.750996][ T1248] R13: 0000000000000000 R14: 00007ff9ed0ce680 R15: 00007ff9ed0cffa0 [ 30.751003][ T1248] [ 37.374122][ T1587] Failed to register fib notifier [ 37.374139][ T1587] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 37.374141][ T1587] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1587, name: devlink [ 37.374143][ T1587] preempt_count: 1, expected: 0 [ 37.374144][ T1587] RCU nest depth: 0, expected: 0 [ 37.374145][ T1587] locks held by devlink/1587: 7, last CPU#2: [ 37.374147][ T1587] #0: ffffffffa655db48 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 37.374160][ T1587] #1: ff11000005f53928 (&dev->mutex){....}-{4:4}, at: devlink_get_from_attrs_lock+0x1e8/0x470 [ 37.374166][ T1587] #2: ff11000002070a58 (&devlink->lock_key){+.+.}-{4:4}, at: devlink_get_from_attrs_lock+0x1f0/0x470 [ 37.374169][ T1587] #3: ffffffffa5d99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 37.374175][ T1587] #4: ffffffffa5d99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 37.374179][ T1587] #5: ffffffffa5c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 37.374182][ T1587] #6: ffffffffa5c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 37.374186][ T1587] irq event stamp: 30786 [ 37.374187][ T1587] hardirqs last enabled at (30785): [] __down_trylock_console_sem+0x86/0xa0 [ 37.374190][ T1587] hardirqs last disabled at (30786): [] console_emit_next_record+0x3f8/0x4f0 [ 37.374191][ T1587] softirqs last enabled at (30758): [] nsim_fib_event_nb+0x2f0/0xa80 [netdevsim] [ 37.374199][ T1587] softirqs last disabled at (30756): [] nsim_fib_event_nb+0x213/0xa80 [netdevsim] [ 37.374204][ T1587] Preemption disabled at: [ 37.374204][ T1587] [] vprintk_emit+0x31b/0x3e0 [ 37.374210][ T1587] CPU: 2 UID: 0 PID: 1587 Comm: devlink Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 37.374214][ T1587] Tainted: [W]=WARN [ 37.374215][ T1587] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 37.374217][ T1587] Call Trace: [ 37.374218][ T1587] [ 37.374220][ T1587] dump_stack_lvl+0x6f/0xa0 [ 37.374225][ T1587] ? vprintk_emit+0x31b/0x3e0 [ 37.374227][ T1587] __might_resched.cold+0x1fe/0x2c1 [ 37.374232][ T1587] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 37.374236][ T1587] ? __kmalloc_noprof+0xdb/0x760 [ 37.374241][ T1587] __kmalloc_noprof+0x443/0x760 [ 37.374243][ T1587] ? alloc_buf.isra.0+0x4b/0x260 [ 37.374249][ T1587] ? do_raw_spin_unlock+0x59/0x250 [ 37.374252][ T1587] alloc_buf.isra.0+0x4b/0x260 [ 37.374255][ T1587] put_chars+0x1e1/0x2f0 [ 37.374257][ T1587] ? desc_read_finalized_seq+0x41/0x120 [ 37.374260][ T1587] ? __send_to_port+0x420/0x420 [ 37.374267][ T1587] hvc_console_print+0x292/0x780 [ 37.374274][ T1587] ? hvc_write+0x3a0/0x3a0 [ 37.374276][ T1587] ? lock_acquire+0x13c/0x160 [ 37.374281][ T1587] console_emit_next_record+0x252/0x4f0 [ 37.374284][ T1587] ? devkmsg_read+0x4e0/0x4e0 [ 37.374289][ T1587] ? rcu_is_watching+0x16/0xd0 [ 37.374292][ T1587] ? lock_acquire+0x13c/0x160 [ 37.374296][ T1587] console_flush_one_record+0x46f/0x710 [ 37.374301][ T1587] ? console_emit_next_record+0x4f0/0x4f0 [ 37.374302][ T1587] ? __lock_acquire+0x518/0xc20 [ 37.374308][ T1587] console_unlock+0xee/0x1f0 [ 37.374310][ T1587] ? console_flush_one_record+0x710/0x710 [ 37.374312][ T1587] ? rcu_is_watching+0x16/0xd0 [ 37.374314][ T1587] ? lock_acquire+0x60/0x160 [ 37.374318][ T1587] ? __down_trylock_console_sem+0x5e/0xa0 [ 37.374319][ T1587] ? vprintk_emit+0x320/0x3e0 [ 37.374323][ T1587] vprintk_emit+0x37c/0x3e0 [ 37.374326][ T1587] ? wake_up_klogd_work_func+0x90/0x90 [ 37.374329][ T1587] ? find_held_lock+0x2b/0x80 [ 37.374335][ T1587] _printk+0xc7/0x100 [ 37.374339][ T1587] ? snapshot_read.cold+0x21/0x21 [ 37.374342][ T1587] ? fib_net_dump+0x16f/0x2e0 [ 37.374347][ T1587] ? register_fib_notifier+0x46/0xb0 [ 37.374349][ T1587] ? fib_notify+0x48f/0x830 [ 37.374354][ T1587] nsim_fib_create.cold+0xc/0x22 [netdevsim] [ 37.374363][ T1587] ? nsim_fib_get_val+0xe0/0xe0 [netdevsim] [ 37.374366][ T1587] ? queue_delayed_work_on+0x95/0x100 [ 37.374372][ T1587] ? nsim_dev_traps_init+0x42f/0x5a0 [netdevsim] [ 37.374377][ T1587] nsim_dev_reload_create+0x1cf/0x4c0 [netdevsim] [ 37.374382][ T1587] ? devlink_reload_reinit_sanity_check+0xf8/0x240 [ 37.374385][ T1587] devlink_reload+0x264/0x430 [ 37.374387][ T1587] ? xa_get_mark+0x140/0x550 [ 37.374392][ T1587] ? devlink_notify_unregister+0x60/0x60 [ 37.374395][ T1587] ? devlink_resources_validate+0xb0/0x130 [ 37.374401][ T1587] devlink_nl_reload_doit+0xbd9/0x1160 [ 37.374404][ T1587] ? devlink_get_from_attrs_lock+0x1f0/0x470 [ 37.374405][ T1587] ? devlink_get_from_attrs_lock+0x230/0x470 [ 37.374407][ T1587] ? devlink_reload+0x430/0x430 [ 37.374409][ T1587] ? devlink_nl_msg_reply_and_new+0x180/0x180 [ 37.374411][ T1587] ? __nla_parse+0x22/0x30 [ 37.374415][ T1587] ? genl_family_rcv_msg_attrs_parse.isra.0+0x189/0x330 [ 37.374420][ T1587] genl_family_rcv_msg_doit+0x206/0x300 [ 37.374424][ T1587] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 37.374426][ T1587] ? __lock_release.isra.0+0x69/0x1a0 [ 37.374432][ T1587] ? rcu_is_watching+0x16/0xd0 [ 37.374434][ T1587] ? cap_capable+0x1d7/0x3d0 [ 37.374437][ T1587] ? write_profile+0xf0/0xf0 [ 37.374440][ T1587] ? unwind_get_return_address+0x67/0xd0 [ 37.374446][ T1587] genl_family_rcv_msg+0x3a4/0x640 [ 37.374450][ T1587] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 37.374453][ T1587] ? rcu_read_lock_any_held+0x3c/0x90 [ 37.374455][ T1587] ? devlink_nl_pre_doit_port+0x110/0x110 [ 37.374457][ T1587] ? devlink_reload+0x430/0x430 [ 37.374458][ T1587] ? devlink_nl_post_doit+0x80/0x80 [ 37.374460][ T1587] ? __lock_acquire+0x518/0xc20 [ 37.374466][ T1587] genl_rcv_msg+0xbb/0x160 [ 37.374469][ T1587] netlink_rcv_skb+0x14e/0x3a0 [ 37.374471][ T1587] ? genl_family_rcv_msg+0x640/0x640 [ 37.374475][ T1587] ? netlink_ack+0xcd0/0xcd0 [ 37.374483][ T1587] ? netlink_deliver_tap+0xc5/0x330 [ 37.374485][ T1587] ? netlink_deliver_tap+0x13c/0x330 [ 37.374490][ T1587] genl_rcv+0x28/0x40 [ 37.374492][ T1587] netlink_unicast+0x486/0x750 [ 37.374496][ T1587] ? netlink_attachskb+0x810/0x810 [ 37.374504][ T1587] ? __lock_acquire+0x518/0xc20 [ 37.374509][ T1587] netlink_sendmsg+0x735/0xc60 [ 37.374513][ T1587] ? netlink_unicast+0x750/0x750 [ 37.374517][ T1587] ? __might_fault+0x97/0x140 [ 37.374521][ T1587] ? __might_fault+0x97/0x140 [ 37.374525][ T1587] __sys_sendto+0x2aa/0x400 [ 37.374532][ T1587] ? __ia32_sys_getpeername+0xd0/0xd0 [ 37.374546][ T1587] __x64_sys_sendto+0xe4/0x1f0 [ 37.374548][ T1587] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 37.374553][ T1587] ? lockdep_hardirqs_on+0x91/0x130 [ 37.374555][ T1587] ? do_syscall_64+0xa6/0x530 [ 37.374557][ T1587] do_syscall_64+0xff/0x530 [ 37.374558][ T1587] ? exc_page_fault+0xee/0x100 [ 37.374561][ T1587] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 37.374563][ T1587] RIP: 0033:0x7f464298654e [ 37.374567][ T1587] 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.374569][ T1587] RSP: 002b:00007ffdf3f74b10 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 37.374572][ T1587] RAX: ffffffffffffffda RBX: 0000000027897980 RCX: 00007f464298654e [ 37.374573][ T1587] RDX: 0000000000000038 RSI: 0000000027897ba0 RDI: 0000000000000005 [ 37.374574][ T1587] RBP: 00007ffdf3f74b20 R08: 00007f4642c39980 R09: 000000000000000c [ 37.374575][ T1587] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000040d0b0 [ 37.374576][ T1587] R13: 0000000027897980 R14: 0000000000000000 R15: 0000000000000003 [ 37.374583][ T1587] [ 49.668978][ T2217] Failed to register fib notifier [ 49.668994][ T2217] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 49.668996][ T2217] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 2217, name: devlink [ 49.668997][ T2217] preempt_count: 1, expected: 0 [ 49.668998][ T2217] RCU nest depth: 0, expected: 0 [ 49.668999][ T2217] locks held by devlink/2217: 7, last CPU#3: [ 49.669001][ T2217] #0: ffffffffa655db48 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 49.669014][ T2217] #1: ff11000005f53928 (&dev->mutex){....}-{4:4}, at: devlink_get_from_attrs_lock+0x1e8/0x470 [ 49.669020][ T2217] #2: ff11000002070a58 (&devlink->lock_key){+.+.}-{4:4}, at: devlink_get_from_attrs_lock+0x1f0/0x470 [ 49.669024][ T2217] #3: ffffffffa5d99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 49.669029][ T2217] #4: ffffffffa5d99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 49.669033][ T2217] #5: ffffffffa5c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 49.669037][ T2217] #6: ffffffffa5c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 49.669041][ T2217] irq event stamp: 36498 [ 49.669041][ T2217] hardirqs last enabled at (36497): [] __down_trylock_console_sem+0x86/0xa0 [ 49.669044][ T2217] hardirqs last disabled at (36498): [] console_emit_next_record+0x3f8/0x4f0 [ 49.669046][ T2217] softirqs last enabled at (36478): [] fib6_tables_dump+0x3f5/0x670 [ 49.669049][ T2217] softirqs last disabled at (36272): [] fib6_tables_dump+0x217/0x670 [ 49.669051][ T2217] Preemption disabled at: [ 49.669052][ T2217] [] vprintk_emit+0x31b/0x3e0 [ 49.669057][ T2217] CPU: 3 UID: 0 PID: 2217 Comm: devlink Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 49.669061][ T2217] Tainted: [W]=WARN [ 49.669062][ T2217] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 49.669063][ T2217] Call Trace: [ 49.669065][ T2217] [ 49.669067][ T2217] dump_stack_lvl+0x6f/0xa0 [ 49.669072][ T2217] ? vprintk_emit+0x31b/0x3e0 [ 49.669074][ T2217] __might_resched.cold+0x1fe/0x2c1 [ 49.669079][ T2217] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 49.669083][ T2217] ? __kmalloc_noprof+0xdb/0x760 [ 49.669088][ T2217] __kmalloc_noprof+0x443/0x760 [ 49.669090][ T2217] ? alloc_buf.isra.0+0x4b/0x260 [ 49.669096][ T2217] ? do_raw_spin_unlock+0x59/0x250 [ 49.669098][ T2217] alloc_buf.isra.0+0x4b/0x260 [ 49.669101][ T2217] put_chars+0x1e1/0x2f0 [ 49.669103][ T2217] ? desc_read_finalized_seq+0x41/0x120 [ 49.669106][ T2217] ? __send_to_port+0x420/0x420 [ 49.669114][ T2217] hvc_console_print+0x292/0x780 [ 49.669120][ T2217] ? hvc_write+0x3a0/0x3a0 [ 49.669123][ T2217] ? lock_acquire+0x13c/0x160 [ 49.669127][ T2217] console_emit_next_record+0x252/0x4f0 [ 49.669131][ T2217] ? devkmsg_read+0x4e0/0x4e0 [ 49.669136][ T2217] ? rcu_is_watching+0x16/0xd0 [ 49.669140][ T2217] ? lock_acquire+0x13c/0x160 [ 49.669144][ T2217] console_flush_one_record+0x46f/0x710 [ 49.669148][ T2217] ? console_emit_next_record+0x4f0/0x4f0 [ 49.669150][ T2217] ? __lock_acquire+0x518/0xc20 [ 49.669155][ T2217] console_unlock+0xee/0x1f0 [ 49.669158][ T2217] ? console_flush_one_record+0x710/0x710 [ 49.669160][ T2217] ? rcu_is_watching+0x16/0xd0 [ 49.669162][ T2217] ? lock_acquire+0x60/0x160 [ 49.669166][ T2217] ? __down_trylock_console_sem+0x5e/0xa0 [ 49.669167][ T2217] ? vprintk_emit+0x320/0x3e0 [ 49.669171][ T2217] vprintk_emit+0x37c/0x3e0 [ 49.669175][ T2217] ? wake_up_klogd_work_func+0x90/0x90 [ 49.669177][ T2217] ? call_fib6_entry_notifiers_replace+0x1a0/0x1a0 [ 49.669179][ T2217] ? find_held_lock+0x2b/0x80 [ 49.669185][ T2217] _printk+0xc7/0x100 [ 49.669189][ T2217] ? snapshot_read.cold+0x21/0x21 [ 49.669192][ T2217] ? fib_net_dump+0x16f/0x2e0 [ 49.669197][ T2217] ? register_fib_notifier+0x46/0xb0 [ 49.669201][ T2217] nsim_fib_create.cold+0xc/0x22 [netdevsim] [ 49.669212][ T2217] ? nsim_fib_get_val+0xe0/0xe0 [netdevsim] [ 49.669218][ T2217] ? queue_delayed_work_on+0x95/0x100 [ 49.669223][ T2217] ? nsim_dev_traps_init+0x42f/0x5a0 [netdevsim] [ 49.669229][ T2217] nsim_dev_reload_create+0x1cf/0x4c0 [netdevsim] [ 49.669234][ T2217] ? devlink_reload_reinit_sanity_check+0xf8/0x240 [ 49.669237][ T2217] devlink_reload+0x264/0x430 [ 49.669239][ T2217] ? xa_get_mark+0x140/0x550 [ 49.669243][ T2217] ? devlink_notify_unregister+0x60/0x60 [ 49.669247][ T2217] ? devlink_resources_validate+0xb0/0x130 [ 49.669253][ T2217] devlink_nl_reload_doit+0xbd9/0x1160 [ 49.669255][ T2217] ? devlink_get_from_attrs_lock+0x1f0/0x470 [ 49.669257][ T2217] ? devlink_get_from_attrs_lock+0x230/0x470 [ 49.669259][ T2217] ? devlink_reload+0x430/0x430 [ 49.669261][ T2217] ? devlink_nl_msg_reply_and_new+0x180/0x180 [ 49.669263][ T2217] ? __nla_parse+0x22/0x30 [ 49.669267][ T2217] ? genl_family_rcv_msg_attrs_parse.isra.0+0x189/0x330 [ 49.669272][ T2217] genl_family_rcv_msg_doit+0x206/0x300 [ 49.669276][ T2217] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 49.669278][ T2217] ? __lock_release.isra.0+0x69/0x1a0 [ 49.669284][ T2217] ? rcu_is_watching+0x16/0xd0 [ 49.669286][ T2217] ? cap_capable+0x1d7/0x3d0 [ 49.669290][ T2217] ? write_profile+0xf0/0xf0 [ 49.669293][ T2217] ? unwind_get_return_address+0x67/0xd0 [ 49.669299][ T2217] genl_family_rcv_msg+0x3a4/0x640 [ 49.669303][ T2217] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 49.669306][ T2217] ? rcu_read_lock_any_held+0x3c/0x90 [ 49.669308][ T2217] ? devlink_nl_pre_doit_port+0x110/0x110 [ 49.669309][ T2217] ? devlink_reload+0x430/0x430 [ 49.669311][ T2217] ? devlink_nl_post_doit+0x80/0x80 [ 49.669313][ T2217] ? __lock_acquire+0x518/0xc20 [ 49.669318][ T2217] genl_rcv_msg+0xbb/0x160 [ 49.669322][ T2217] netlink_rcv_skb+0x14e/0x3a0 [ 49.669324][ T2217] ? genl_family_rcv_msg+0x640/0x640 [ 49.669328][ T2217] ? netlink_ack+0xcd0/0xcd0 [ 49.669336][ T2217] ? netlink_deliver_tap+0xc5/0x330 [ 49.669337][ T2217] ? netlink_deliver_tap+0x13c/0x330 [ 49.669342][ T2217] genl_rcv+0x28/0x40 [ 49.669344][ T2217] netlink_unicast+0x486/0x750 [ 49.669349][ T2217] ? netlink_attachskb+0x810/0x810 [ 49.669351][ T2217] ? __lock_acquire+0x518/0xc20 [ 49.669356][ T2217] netlink_sendmsg+0x735/0xc60 [ 49.669361][ T2217] ? netlink_unicast+0x750/0x750 [ 49.669365][ T2217] ? __might_fault+0x97/0x140 [ 49.669368][ T2217] ? __might_fault+0x97/0x140 [ 49.669372][ T2217] __sys_sendto+0x2aa/0x400 [ 49.669376][ T2217] ? __ia32_sys_getpeername+0xd0/0xd0 [ 49.669391][ T2217] __x64_sys_sendto+0xe4/0x1f0 [ 49.669393][ T2217] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 49.669397][ T2217] ? lockdep_hardirqs_on+0x91/0x130 [ 49.669399][ T2217] ? do_syscall_64+0xa6/0x530 [ 49.669401][ T2217] do_syscall_64+0xff/0x530 [ 49.669402][ T2217] ? exc_page_fault+0xee/0x100 [ 49.669405][ T2217] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 49.669407][ T2217] RIP: 0033:0x7f23c4b4d54e [ 49.669411][ T2217] 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 [ 49.669413][ T2217] RSP: 002b:00007fff31fc2d70 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 49.669416][ T2217] RAX: ffffffffffffffda RBX: 0000000008c90980 RCX: 00007f23c4b4d54e [ 49.669417][ T2217] RDX: 0000000000000038 RSI: 0000000008c90ba0 RDI: 0000000000000005 [ 49.669418][ T2217] RBP: 00007fff31fc2d80 R08: 00007f23c4e00980 R09: 000000000000000c [ 49.669419][ T2217] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000040d0b0 [ 49.669420][ T2217] R13: 0000000008c90980 R14: 0000000000000000 R15: 0000000000000003 [ 49.669427][ T2217]