[ 20.491336][ T568] Failed to register fib notifier [ 20.491465][ T568] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 20.491469][ T568] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 568, name: devlink [ 20.491472][ T568] preempt_count: 1, expected: 0 [ 20.491473][ T568] RCU nest depth: 0, expected: 0 [ 20.491474][ T568] locks held by devlink/568: 7, last CPU#0: [ 20.491477][ T568] #0: ffffffffaa35db48 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 20.491494][ T568] #1: ff1100000b493928 (&dev->mutex){....}-{4:4}, at: devlink_get_from_attrs_lock+0x1e8/0x470 [ 20.491503][ T568] #2: ff1100000d4a8a58 (&devlink->lock_key){+.+.}-{4:4}, at: devlink_get_from_attrs_lock+0x1f0/0x470 [ 20.491509][ T568] #3: ffffffffa9b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 20.491518][ T568] #4: ffffffffa9b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 20.491524][ T568] #5: ffffffffa9a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 20.491530][ T568] #6: ffffffffa9a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 20.491537][ T568] irq event stamp: 36140 [ 20.491538][ T568] hardirqs last enabled at (36139): [] __down_trylock_console_sem+0x86/0xa0 [ 20.491542][ T568] hardirqs last disabled at (36140): [] console_emit_next_record+0x3f8/0x4f0 [ 20.491545][ T568] softirqs last enabled at (36106): [] nsim_fib_event_nb+0x2f0/0xa80 [netdevsim] [ 20.491556][ T568] softirqs last disabled at (36104): [] nsim_fib_event_nb+0x213/0xa80 [netdevsim] [ 20.491564][ T568] Preemption disabled at: [ 20.491565][ T568] [] vprintk_emit+0x31b/0x3e0 [ 20.491574][ T568] CPU: 0 UID: 0 PID: 568 Comm: devlink Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 20.491579][ T568] Tainted: [W]=WARN [ 20.491580][ T568] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.491583][ T568] Call Trace: [ 20.491585][ T568] [ 20.491588][ T568] dump_stack_lvl+0x6f/0xa0 [ 20.491596][ T568] ? vprintk_emit+0x31b/0x3e0 [ 20.491599][ T568] __might_resched.cold+0x1fe/0x2c1 [ 20.491605][ T568] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 20.491611][ T568] ? __kmalloc_noprof+0xdb/0x760 [ 20.491619][ T568] __kmalloc_noprof+0x443/0x760 [ 20.491623][ T568] ? alloc_buf.isra.0+0x4b/0x260 [ 20.491632][ T568] ? do_raw_spin_unlock+0x59/0x250 [ 20.491636][ T568] alloc_buf.isra.0+0x4b/0x260 [ 20.491642][ T568] put_chars+0x1e1/0x2f0 [ 20.491647][ T568] ? __send_to_port+0x420/0x420 [ 20.491660][ T568] hvc_console_print+0x292/0x780 [ 20.491672][ T568] ? hvc_write+0x3a0/0x3a0 [ 20.491678][ T568] ? lock_acquire+0x13c/0x160 [ 20.491685][ T568] console_emit_next_record+0x252/0x4f0 [ 20.491692][ T568] ? devkmsg_read+0x4e0/0x4e0 [ 20.491700][ T568] ? rcu_is_watching+0x16/0xd0 [ 20.491706][ T568] ? lock_acquire+0x13c/0x160 [ 20.491713][ T568] console_flush_one_record+0x46f/0x710 [ 20.491721][ T568] ? console_emit_next_record+0x4f0/0x4f0 [ 20.491724][ T568] ? __lock_acquire+0x518/0xc20 [ 20.491735][ T568] console_unlock+0xee/0x1f0 [ 20.491739][ T568] ? console_flush_one_record+0x710/0x710 [ 20.491742][ T568] ? rcu_is_watching+0x16/0xd0 [ 20.491746][ T568] ? lock_acquire+0x60/0x160 [ 20.491753][ T568] ? __down_trylock_console_sem+0x5e/0xa0 [ 20.491755][ T568] ? vprintk_emit+0x320/0x3e0 [ 20.491762][ T568] vprintk_emit+0x37c/0x3e0 [ 20.491768][ T568] ? wake_up_klogd_work_func+0x90/0x90 [ 20.491772][ T568] ? lockdep_hardirqs_on+0x91/0x130 [ 20.491776][ T568] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 20.491780][ T568] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 20.491790][ T568] ? rcu_preempt_deferred_qs_irqrestore+0x562/0xc10 [ 20.491799][ T568] _printk+0xc7/0x100 [ 20.491804][ T568] ? snapshot_read.cold+0x21/0x21 [ 20.491809][ T568] ? fib_net_dump+0x16f/0x2e0 [ 20.491817][ T568] ? register_fib_notifier+0x46/0xb0 [ 20.491825][ T568] nsim_fib_create.cold+0xc/0x22 [netdevsim] [ 20.491841][ T568] ? nsim_fib_get_val+0xe0/0xe0 [netdevsim] [ 20.491848][ T568] ? queue_delayed_work_on+0x95/0x100 [ 20.491856][ T568] ? nsim_dev_traps_init+0x42f/0x5a0 [netdevsim] [ 20.491867][ T568] nsim_dev_reload_create+0x1cf/0x4c0 [netdevsim] [ 20.491876][ T568] ? devlink_reload_reinit_sanity_check+0xf8/0x240 [ 20.491881][ T568] devlink_reload+0x264/0x430 [ 20.491886][ T568] ? xa_get_mark+0x140/0x550 [ 20.491891][ T568] ? devlink_notify_unregister+0x60/0x60 [ 20.491897][ T568] ? devlink_resources_validate+0xb0/0x130 [ 20.491908][ T568] devlink_nl_reload_doit+0xbd9/0x1160 [ 20.491912][ T568] ? devlink_get_from_attrs_lock+0x1f0/0x470 [ 20.491915][ T568] ? devlink_get_from_attrs_lock+0x230/0x470 [ 20.491919][ T568] ? devlink_reload+0x430/0x430 [ 20.491921][ T568] ? devlink_nl_msg_reply_and_new+0x180/0x180 [ 20.491926][ T568] ? __nla_parse+0x22/0x30 [ 20.491931][ T568] ? genl_family_rcv_msg_attrs_parse.isra.0+0x189/0x330 [ 20.491941][ T568] genl_family_rcv_msg_doit+0x206/0x300 [ 20.491948][ T568] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 20.491951][ T568] ? __lock_release.isra.0+0x69/0x1a0 [ 20.491962][ T568] ? rcu_is_watching+0x16/0xd0 [ 20.491966][ T568] ? cap_capable+0x1d7/0x3d0 [ 20.491971][ T568] ? write_profile+0xf0/0xf0 [ 20.491975][ T568] ? unwind_get_return_address+0x67/0xd0 [ 20.491984][ T568] genl_family_rcv_msg+0x3a4/0x640 [ 20.491991][ T568] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 20.491996][ T568] ? rcu_read_lock_any_held+0x3c/0x90 [ 20.491999][ T568] ? devlink_nl_pre_doit_port+0x110/0x110 [ 20.492001][ T568] ? devlink_reload+0x430/0x430 [ 20.492004][ T568] ? devlink_nl_post_doit+0x80/0x80 [ 20.492007][ T568] ? __lock_acquire+0x518/0xc20 [ 20.492018][ T568] genl_rcv_msg+0xbb/0x160 [ 20.492024][ T568] netlink_rcv_skb+0x14e/0x3a0 [ 20.492028][ T568] ? genl_family_rcv_msg+0x640/0x640 [ 20.492040][ T568] ? netlink_ack+0xcd0/0xcd0 [ 20.492055][ T568] ? netlink_deliver_tap+0xc5/0x330 [ 20.492058][ T568] ? netlink_deliver_tap+0x13c/0x330 [ 20.492065][ T568] genl_rcv+0x28/0x40 [ 20.492068][ T568] netlink_unicast+0x486/0x750 [ 20.492074][ T568] ? netlink_attachskb+0x810/0x810 [ 20.492078][ T568] ? __lock_acquire+0x518/0xc20 [ 20.492086][ T568] netlink_sendmsg+0x735/0xc60 [ 20.492093][ T568] ? netlink_unicast+0x750/0x750 [ 20.492100][ T568] ? __might_fault+0x97/0x140 [ 20.492105][ T568] ? __might_fault+0x97/0x140 [ 20.492112][ T568] __sys_sendto+0x2aa/0x400 [ 20.492117][ T568] ? __ia32_sys_getpeername+0xd0/0xd0 [ 20.492148][ T568] __x64_sys_sendto+0xe4/0x1f0 [ 20.492151][ T568] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 20.492157][ T568] ? lockdep_hardirqs_on+0x91/0x130 [ 20.492160][ T568] ? do_syscall_64+0xa6/0x530 [ 20.492163][ T568] do_syscall_64+0xff/0x530 [ 20.492166][ T568] ? exc_page_fault+0xee/0x100 [ 20.492171][ T568] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 20.492175][ T568] RIP: 0033:0x7f4c038a254e [ 20.492181][ T568] 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 [ 20.492185][ T568] RSP: 002b:00007fff1f170020 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 20.492189][ T568] RAX: ffffffffffffffda RBX: 000000000466c980 RCX: 00007f4c038a254e [ 20.492192][ T568] RDX: 0000000000000038 RSI: 000000000466cba0 RDI: 0000000000000005 [ 20.492193][ T568] RBP: 00007fff1f170030 R08: 00007f4c03b55980 R09: 000000000000000c [ 20.492195][ T568] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000040d0b0 [ 20.492197][ T568] R13: 000000000466c980 R14: 0000000000000000 R15: 0000000000000003 [ 20.492213][ T568] [ 35.902469][ T1198] Failed to register fib notifier [ 35.902491][ T1198] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 35.902494][ T1198] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1198, name: devlink [ 35.902497][ T1198] preempt_count: 1, expected: 0 [ 35.902498][ T1198] RCU nest depth: 0, expected: 0 [ 35.902500][ T1198] locks held by devlink/1198: 7, last CPU#3: [ 35.902503][ T1198] #0: ffffffffaa35db48 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 35.902519][ T1198] #1: ff1100000b493928 (&dev->mutex){....}-{4:4}, at: devlink_get_from_attrs_lock+0x1e8/0x470 [ 35.902527][ T1198] #2: ff1100000d4a8a58 (&devlink->lock_key){+.+.}-{4:4}, at: devlink_get_from_attrs_lock+0x1f0/0x470 [ 35.902531][ T1198] #3: ffffffffa9b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 35.902538][ T1198] #4: ffffffffa9b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 35.902543][ T1198] #5: ffffffffa9a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 35.902548][ T1198] #6: ffffffffa9a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 35.902553][ T1198] irq event stamp: 32856 [ 35.902554][ T1198] hardirqs last enabled at (32855): [] __down_trylock_console_sem+0x86/0xa0 [ 35.902558][ T1198] hardirqs last disabled at (32856): [] console_emit_next_record+0x3f8/0x4f0 [ 35.902560][ T1198] softirqs last enabled at (32832): [] fib6_tables_dump+0x3f5/0x670 [ 35.902564][ T1198] softirqs last disabled at (32614): [] fib6_tables_dump+0x217/0x670 [ 35.902567][ T1198] Preemption disabled at: [ 35.902568][ T1198] [] vprintk_emit+0x31b/0x3e0 [ 35.902576][ T1198] CPU: 3 UID: 0 PID: 1198 Comm: devlink Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 35.902580][ T1198] Tainted: [W]=WARN [ 35.902581][ T1198] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 35.902584][ T1198] Call Trace: [ 35.902585][ T1198] [ 35.902588][ T1198] dump_stack_lvl+0x6f/0xa0 [ 35.902594][ T1198] ? vprintk_emit+0x31b/0x3e0 [ 35.902597][ T1198] __might_resched.cold+0x1fe/0x2c1 [ 35.902604][ T1198] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 35.902610][ T1198] ? __kmalloc_noprof+0xdb/0x760 [ 35.902617][ T1198] __kmalloc_noprof+0x443/0x760 [ 35.902621][ T1198] ? alloc_buf.isra.0+0x4b/0x260 [ 35.902629][ T1198] ? do_raw_spin_unlock+0x59/0x250 [ 35.902633][ T1198] alloc_buf.isra.0+0x4b/0x260 [ 35.902639][ T1198] put_chars+0x1e1/0x2f0 [ 35.902642][ T1198] ? desc_read_finalized_seq+0x41/0x120 [ 35.902646][ T1198] ? __send_to_port+0x420/0x420 [ 35.902658][ T1198] hvc_console_print+0x292/0x780 [ 35.902669][ T1198] ? hvc_write+0x3a0/0x3a0 [ 35.902674][ T1198] ? lock_acquire+0x13c/0x160 [ 35.902681][ T1198] console_emit_next_record+0x252/0x4f0 [ 35.902687][ T1198] ? devkmsg_read+0x4e0/0x4e0 [ 35.902695][ T1198] ? rcu_is_watching+0x16/0xd0 [ 35.902700][ T1198] ? lock_acquire+0x13c/0x160 [ 35.902708][ T1198] console_flush_one_record+0x46f/0x710 [ 35.902715][ T1198] ? console_emit_next_record+0x4f0/0x4f0 [ 35.902718][ T1198] ? __lock_acquire+0x518/0xc20 [ 35.902727][ T1198] console_unlock+0xee/0x1f0 [ 35.902732][ T1198] ? console_flush_one_record+0x710/0x710 [ 35.902734][ T1198] ? rcu_is_watching+0x16/0xd0 [ 35.902737][ T1198] ? lock_acquire+0x60/0x160 [ 35.902743][ T1198] ? __down_trylock_console_sem+0x5e/0xa0 [ 35.902746][ T1198] ? vprintk_emit+0x320/0x3e0 [ 35.902751][ T1198] vprintk_emit+0x37c/0x3e0 [ 35.902758][ T1198] ? wake_up_klogd_work_func+0x90/0x90 [ 35.902760][ T1198] ? lockdep_hardirqs_on+0x91/0x130 [ 35.902765][ T1198] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 35.902769][ T1198] ? rcu_preempt_deferred_qs_irqrestore+0x7cf/0xc10 [ 35.902777][ T1198] _printk+0xc7/0x100 [ 35.902788][ T1198] ? snapshot_read.cold+0x21/0x21 [ 35.902794][ T1198] ? fib_net_dump+0x16f/0x2e0 [ 35.902802][ T1198] ? register_fib_notifier+0x46/0xb0 [ 35.902809][ T1198] nsim_fib_create.cold+0xc/0x22 [netdevsim] [ 35.902826][ T1198] ? nsim_fib_get_val+0xe0/0xe0 [netdevsim] [ 35.902834][ T1198] ? queue_delayed_work_on+0x95/0x100 [ 35.902841][ T1198] ? nsim_dev_traps_init+0x42f/0x5a0 [netdevsim] [ 35.902852][ T1198] nsim_dev_reload_create+0x1cf/0x4c0 [netdevsim] [ 35.902860][ T1198] ? devlink_reload_reinit_sanity_check+0xf8/0x240 [ 35.902864][ T1198] devlink_reload+0x264/0x430 [ 35.902868][ T1198] ? xa_get_mark+0x140/0x550 [ 35.902873][ T1198] ? devlink_notify_unregister+0x60/0x60 [ 35.902878][ T1198] ? devlink_resources_validate+0xb0/0x130 [ 35.902888][ T1198] devlink_nl_reload_doit+0xbd9/0x1160 [ 35.902892][ T1198] ? devlink_get_from_attrs_lock+0x1f0/0x470 [ 35.902894][ T1198] ? devlink_get_from_attrs_lock+0x230/0x470 [ 35.902898][ T1198] ? devlink_reload+0x430/0x430 [ 35.902900][ T1198] ? devlink_nl_msg_reply_and_new+0x180/0x180 [ 35.902904][ T1198] ? __nla_parse+0x22/0x30 [ 35.902909][ T1198] ? genl_family_rcv_msg_attrs_parse.isra.0+0x189/0x330 [ 35.902918][ T1198] genl_family_rcv_msg_doit+0x206/0x300 [ 35.902924][ T1198] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 35.902927][ T1198] ? __lock_release.isra.0+0x69/0x1a0 [ 35.902938][ T1198] ? rcu_is_watching+0x16/0xd0 [ 35.902941][ T1198] ? cap_capable+0x1d7/0x3d0 [ 35.902946][ T1198] ? write_profile+0xf0/0xf0 [ 35.902950][ T1198] ? unwind_get_return_address+0x67/0xd0 [ 35.902958][ T1198] genl_family_rcv_msg+0x3a4/0x640 [ 35.902964][ T1198] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 35.902968][ T1198] ? rcu_read_lock_any_held+0x3c/0x90 [ 35.902971][ T1198] ? devlink_nl_pre_doit_port+0x110/0x110 [ 35.902973][ T1198] ? devlink_reload+0x430/0x430 [ 35.902976][ T1198] ? devlink_nl_post_doit+0x80/0x80 [ 35.902979][ T1198] ? __lock_acquire+0x518/0xc20 [ 35.902988][ T1198] genl_rcv_msg+0xbb/0x160 [ 35.902994][ T1198] netlink_rcv_skb+0x14e/0x3a0 [ 35.902997][ T1198] ? genl_family_rcv_msg+0x640/0x640 [ 35.903003][ T1198] ? netlink_ack+0xcd0/0xcd0 [ 35.903016][ T1198] ? netlink_deliver_tap+0xc5/0x330 [ 35.903019][ T1198] ? netlink_deliver_tap+0x13c/0x330 [ 35.903026][ T1198] genl_rcv+0x28/0x40 [ 35.903030][ T1198] netlink_unicast+0x486/0x750 [ 35.903037][ T1198] ? netlink_attachskb+0x810/0x810 [ 35.903041][ T1198] ? __lock_acquire+0x518/0xc20 [ 35.903050][ T1198] netlink_sendmsg+0x735/0xc60 [ 35.903057][ T1198] ? netlink_unicast+0x750/0x750 [ 35.903064][ T1198] ? __might_fault+0x97/0x140 [ 35.903069][ T1198] ? __might_fault+0x97/0x140 [ 35.903075][ T1198] __sys_sendto+0x2aa/0x400 [ 35.903081][ T1198] ? __ia32_sys_getpeername+0xd0/0xd0 [ 35.903108][ T1198] __x64_sys_sendto+0xe4/0x1f0 [ 35.903111][ T1198] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 35.903116][ T1198] ? lockdep_hardirqs_on+0x91/0x130 [ 35.903118][ T1198] ? do_syscall_64+0xa6/0x530 [ 35.903121][ T1198] do_syscall_64+0xff/0x530 [ 35.903123][ T1198] ? exc_page_fault+0xee/0x100 [ 35.903133][ T1198] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 35.903137][ T1198] RIP: 0033:0x7effba62e54e [ 35.903142][ 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 [ 35.903145][ T1198] RSP: 002b:00007fffb57d73e0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 35.903149][ T1198] RAX: ffffffffffffffda RBX: 0000000022f22980 RCX: 00007effba62e54e [ 35.903151][ T1198] RDX: 0000000000000038 RSI: 0000000022f22ba0 RDI: 0000000000000005 [ 35.903153][ T1198] RBP: 00007fffb57d73f0 R08: 00007effba8e1980 R09: 000000000000000c [ 35.903154][ T1198] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000040d0b0 [ 35.903155][ T1198] R13: 0000000022f22980 R14: 0000000000000000 R15: 0000000000000003 [ 35.903170][ T1198] [ 45.447399][ T1591] Failed to register fib notifier [ 45.447416][ T1591] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 45.447418][ T1591] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1591, name: devlink [ 45.447420][ T1591] preempt_count: 1, expected: 0 [ 45.447421][ T1591] RCU nest depth: 0, expected: 0 [ 45.447422][ T1591] locks held by devlink/1591: 7, last CPU#0: [ 45.447425][ T1591] #0: ffffffffaa35db48 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 45.447437][ T1591] #1: ff1100000b493928 (&dev->mutex){....}-{4:4}, at: devlink_get_from_attrs_lock+0x1e8/0x470 [ 45.447443][ T1591] #2: ff1100000d4a8a58 (&devlink->lock_key){+.+.}-{4:4}, at: devlink_get_from_attrs_lock+0x1f0/0x470 [ 45.447447][ T1591] #3: ffffffffa9b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 45.447452][ T1591] #4: ffffffffa9b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 45.447456][ T1591] #5: ffffffffa9a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 45.447459][ T1591] #6: ffffffffa9a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 45.447463][ T1591] irq event stamp: 24648 [ 45.447464][ T1591] hardirqs last enabled at (24647): [] __down_trylock_console_sem+0x86/0xa0 [ 45.447466][ T1591] hardirqs last disabled at (24648): [] console_emit_next_record+0x3f8/0x4f0 [ 45.447468][ T1591] softirqs last enabled at (24620): [] nsim_fib_event_nb+0x2f0/0xa80 [netdevsim] [ 45.447476][ T1591] softirqs last disabled at (24618): [] nsim_fib_event_nb+0x213/0xa80 [netdevsim] [ 45.447481][ T1591] Preemption disabled at: [ 45.447481][ T1591] [] vprintk_emit+0x31b/0x3e0 [ 45.447488][ T1591] CPU: 0 UID: 0 PID: 1591 Comm: devlink Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 45.447491][ T1591] Tainted: [W]=WARN [ 45.447492][ T1591] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 45.447494][ T1591] Call Trace: [ 45.447496][ T1591] [ 45.447498][ T1591] dump_stack_lvl+0x6f/0xa0 [ 45.447503][ T1591] ? vprintk_emit+0x31b/0x3e0 [ 45.447505][ T1591] __might_resched.cold+0x1fe/0x2c1 [ 45.447510][ T1591] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 45.447514][ T1591] ? __kmalloc_noprof+0xdb/0x760 [ 45.447519][ T1591] __kmalloc_noprof+0x443/0x760 [ 45.447521][ T1591] ? alloc_buf.isra.0+0x4b/0x260 [ 45.447527][ T1591] ? do_raw_spin_unlock+0x59/0x250 [ 45.447529][ T1591] alloc_buf.isra.0+0x4b/0x260 [ 45.447533][ T1591] put_chars+0x1e1/0x2f0 [ 45.447535][ T1591] ? desc_read_finalized_seq+0x41/0x120 [ 45.447538][ T1591] ? __send_to_port+0x420/0x420 [ 45.447545][ T1591] hvc_console_print+0x292/0x780 [ 45.447552][ T1591] ? hvc_write+0x3a0/0x3a0 [ 45.447554][ T1591] ? lock_acquire+0x13c/0x160 [ 45.447559][ T1591] console_emit_next_record+0x252/0x4f0 [ 45.447562][ T1591] ? devkmsg_read+0x4e0/0x4e0 [ 45.447567][ T1591] ? rcu_is_watching+0x16/0xd0 [ 45.447570][ T1591] ? lock_acquire+0x13c/0x160 [ 45.447575][ T1591] console_flush_one_record+0x46f/0x710 [ 45.447579][ T1591] ? console_emit_next_record+0x4f0/0x4f0 [ 45.447581][ T1591] ? __lock_acquire+0x518/0xc20 [ 45.447586][ T1591] console_unlock+0xee/0x1f0 [ 45.447589][ T1591] ? console_flush_one_record+0x710/0x710 [ 45.447591][ T1591] ? rcu_is_watching+0x16/0xd0 [ 45.447593][ T1591] ? lock_acquire+0x60/0x160 [ 45.447597][ T1591] ? __down_trylock_console_sem+0x5e/0xa0 [ 45.447598][ T1591] ? vprintk_emit+0x320/0x3e0 [ 45.447602][ T1591] vprintk_emit+0x37c/0x3e0 [ 45.447606][ T1591] ? wake_up_klogd_work_func+0x90/0x90 [ 45.447608][ T1591] ? find_held_lock+0x2b/0x80 [ 45.447614][ T1591] _printk+0xc7/0x100 [ 45.447618][ T1591] ? snapshot_read.cold+0x21/0x21 [ 45.447621][ T1591] ? fib_net_dump+0x16f/0x2e0 [ 45.447626][ T1591] ? register_fib_notifier+0x46/0xb0 [ 45.447628][ T1591] ? fib_notify+0x48f/0x830 [ 45.447633][ T1591] nsim_fib_create.cold+0xc/0x22 [netdevsim] [ 45.447642][ T1591] ? nsim_fib_get_val+0xe0/0xe0 [netdevsim] [ 45.447646][ T1591] ? queue_delayed_work_on+0x95/0x100 [ 45.447651][ T1591] ? nsim_dev_traps_init+0x42f/0x5a0 [netdevsim] [ 45.447657][ T1591] nsim_dev_reload_create+0x1cf/0x4c0 [netdevsim] [ 45.447663][ T1591] ? devlink_reload_reinit_sanity_check+0xf8/0x240 [ 45.447665][ T1591] devlink_reload+0x264/0x430 [ 45.447668][ T1591] ? xa_get_mark+0x140/0x550 [ 45.447672][ T1591] ? devlink_notify_unregister+0x60/0x60 [ 45.447675][ T1591] ? devlink_resources_validate+0xb0/0x130 [ 45.447682][ T1591] devlink_nl_reload_doit+0xbd9/0x1160 [ 45.447684][ T1591] ? devlink_get_from_attrs_lock+0x1f0/0x470 [ 45.447685][ T1591] ? devlink_get_from_attrs_lock+0x230/0x470 [ 45.447687][ T1591] ? devlink_reload+0x430/0x430 [ 45.447689][ T1591] ? devlink_nl_msg_reply_and_new+0x180/0x180 [ 45.447692][ T1591] ? __nla_parse+0x22/0x30 [ 45.447695][ T1591] ? genl_family_rcv_msg_attrs_parse.isra.0+0x189/0x330 [ 45.447700][ T1591] genl_family_rcv_msg_doit+0x206/0x300 [ 45.447704][ T1591] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 45.447706][ T1591] ? __lock_release.isra.0+0x69/0x1a0 [ 45.447711][ T1591] ? rcu_is_watching+0x16/0xd0 [ 45.447714][ T1591] ? cap_capable+0x1d7/0x3d0 [ 45.447718][ T1591] ? write_profile+0xf0/0xf0 [ 45.447721][ T1591] ? unwind_get_return_address+0x67/0xd0 [ 45.447726][ T1591] genl_family_rcv_msg+0x3a4/0x640 [ 45.447731][ T1591] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 45.447733][ T1591] ? rcu_read_lock_any_held+0x3c/0x90 [ 45.447735][ T1591] ? devlink_nl_pre_doit_port+0x110/0x110 [ 45.447737][ T1591] ? devlink_reload+0x430/0x430 [ 45.447738][ T1591] ? devlink_nl_post_doit+0x80/0x80 [ 45.447740][ T1591] ? __lock_acquire+0x518/0xc20 [ 45.447746][ T1591] genl_rcv_msg+0xbb/0x160 [ 45.447749][ T1591] netlink_rcv_skb+0x14e/0x3a0 [ 45.447751][ T1591] ? genl_family_rcv_msg+0x640/0x640 [ 45.447755][ T1591] ? netlink_ack+0xcd0/0xcd0 [ 45.447763][ T1591] ? netlink_deliver_tap+0xc5/0x330 [ 45.447765][ T1591] ? netlink_deliver_tap+0x13c/0x330 [ 45.447769][ T1591] genl_rcv+0x28/0x40 [ 45.447772][ T1591] netlink_unicast+0x486/0x750 [ 45.447776][ T1591] ? netlink_attachskb+0x810/0x810 [ 45.447779][ T1591] ? __lock_acquire+0x518/0xc20 [ 45.447788][ T1591] netlink_sendmsg+0x735/0xc60 [ 45.447793][ T1591] ? netlink_unicast+0x750/0x750 [ 45.447797][ T1591] ? __might_fault+0x97/0x140 [ 45.447800][ T1591] ? __might_fault+0x97/0x140 [ 45.447804][ T1591] __sys_sendto+0x2aa/0x400 [ 45.447808][ T1591] ? __ia32_sys_getpeername+0xd0/0xd0 [ 45.447823][ T1591] __x64_sys_sendto+0xe4/0x1f0 [ 45.447825][ T1591] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 45.447830][ T1591] ? lockdep_hardirqs_on+0x91/0x130 [ 45.447832][ T1591] ? do_syscall_64+0xa6/0x530 [ 45.447833][ T1591] do_syscall_64+0xff/0x530 [ 45.447835][ T1591] ? exc_page_fault+0xee/0x100 [ 45.447838][ T1591] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 45.447840][ T1591] RIP: 0033:0x7f98e5e0054e [ 45.447844][ 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 [ 45.447846][ T1591] RSP: 002b:00007fffbbe37680 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 45.447849][ T1591] RAX: ffffffffffffffda RBX: 000000001084e980 RCX: 00007f98e5e0054e [ 45.447851][ T1591] RDX: 0000000000000038 RSI: 000000001084eba0 RDI: 0000000000000005 [ 45.447852][ T1591] RBP: 00007fffbbe37690 R08: 00007f98e60b3980 R09: 000000000000000c [ 45.447853][ T1591] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000040d0b0 [ 45.447853][ T1591] R13: 000000001084e980 R14: 0000000000000000 R15: 0000000000000003 [ 45.447861][ T1591] [ 60.396850][ T2220] Failed to register fib notifier [ 60.396867][ T2220] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 60.396869][ T2220] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 2220, name: devlink [ 60.396871][ T2220] preempt_count: 1, expected: 0 [ 60.396872][ T2220] RCU nest depth: 0, expected: 0 [ 60.396873][ T2220] locks held by devlink/2220: 7, last CPU#1: [ 60.396875][ T2220] #0: ffffffffaa35db48 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 60.396887][ T2220] #1: ff1100000b493928 (&dev->mutex){....}-{4:4}, at: devlink_get_from_attrs_lock+0x1e8/0x470 [ 60.396892][ T2220] #2: ff1100000d4a8a58 (&devlink->lock_key){+.+.}-{4:4}, at: devlink_get_from_attrs_lock+0x1f0/0x470 [ 60.396896][ T2220] #3: ffffffffa9b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 60.396902][ T2220] #4: ffffffffa9b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 60.396905][ T2220] #5: ffffffffa9a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 60.396909][ T2220] #6: ffffffffa9a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 60.396913][ T2220] irq event stamp: 30466 [ 60.396914][ T2220] hardirqs last enabled at (30465): [] __down_trylock_console_sem+0x86/0xa0 [ 60.396916][ T2220] hardirqs last disabled at (30466): [] console_emit_next_record+0x3f8/0x4f0 [ 60.396918][ T2220] softirqs last enabled at (30442): [] fib6_tables_dump+0x3f5/0x670 [ 60.396921][ T2220] softirqs last disabled at (30234): [] fib6_tables_dump+0x217/0x670 [ 60.396923][ T2220] Preemption disabled at: [ 60.396923][ T2220] [] vprintk_emit+0x31b/0x3e0 [ 60.396929][ T2220] CPU: 1 UID: 0 PID: 2220 Comm: devlink Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 60.396933][ T2220] Tainted: [W]=WARN [ 60.396934][ T2220] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 60.396936][ T2220] Call Trace: [ 60.396937][ T2220] [ 60.396939][ T2220] dump_stack_lvl+0x6f/0xa0 [ 60.396945][ T2220] ? vprintk_emit+0x31b/0x3e0 [ 60.396947][ T2220] __might_resched.cold+0x1fe/0x2c1 [ 60.396951][ T2220] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 60.396956][ T2220] ? __kmalloc_noprof+0xdb/0x760 [ 60.396961][ T2220] __kmalloc_noprof+0x443/0x760 [ 60.396963][ T2220] ? alloc_buf.isra.0+0x4b/0x260 [ 60.396969][ T2220] ? do_raw_spin_unlock+0x59/0x250 [ 60.396971][ T2220] alloc_buf.isra.0+0x4b/0x260 [ 60.396975][ T2220] put_chars+0x1e1/0x2f0 [ 60.396977][ T2220] ? desc_read_finalized_seq+0x41/0x120 [ 60.396980][ T2220] ? __send_to_port+0x420/0x420 [ 60.396987][ T2220] hvc_console_print+0x292/0x780 [ 60.396994][ T2220] ? hvc_write+0x3a0/0x3a0 [ 60.396996][ T2220] ? lock_acquire+0x13c/0x160 [ 60.397001][ T2220] console_emit_next_record+0x252/0x4f0 [ 60.397004][ T2220] ? devkmsg_read+0x4e0/0x4e0 [ 60.397009][ T2220] ? rcu_is_watching+0x16/0xd0 [ 60.397012][ T2220] ? lock_acquire+0x13c/0x160 [ 60.397017][ T2220] console_flush_one_record+0x46f/0x710 [ 60.397021][ T2220] ? console_emit_next_record+0x4f0/0x4f0 [ 60.397023][ T2220] ? __lock_acquire+0x518/0xc20 [ 60.397028][ T2220] console_unlock+0xee/0x1f0 [ 60.397031][ T2220] ? console_flush_one_record+0x710/0x710 [ 60.397032][ T2220] ? rcu_is_watching+0x16/0xd0 [ 60.397035][ T2220] ? lock_acquire+0x60/0x160 [ 60.397038][ T2220] ? __down_trylock_console_sem+0x5e/0xa0 [ 60.397040][ T2220] ? vprintk_emit+0x320/0x3e0 [ 60.397043][ T2220] vprintk_emit+0x37c/0x3e0 [ 60.397047][ T2220] ? wake_up_klogd_work_func+0x90/0x90 [ 60.397049][ T2220] ? lockdep_hardirqs_on+0x91/0x130 [ 60.397053][ T2220] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 60.397055][ T2220] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 60.397058][ T2220] ? rcu_preempt_deferred_qs_irqrestore+0x562/0xc10 [ 60.397062][ T2220] _printk+0xc7/0x100 [ 60.397066][ T2220] ? snapshot_read.cold+0x21/0x21 [ 60.397069][ T2220] ? fib_net_dump+0x16f/0x2e0 [ 60.397074][ T2220] ? register_fib_notifier+0x46/0xb0 [ 60.397078][ T2220] nsim_fib_create.cold+0xc/0x22 [netdevsim] [ 60.397089][ T2220] ? nsim_fib_get_val+0xe0/0xe0 [netdevsim] [ 60.397095][ T2220] ? queue_delayed_work_on+0x95/0x100 [ 60.397100][ T2220] ? nsim_dev_traps_init+0x42f/0x5a0 [netdevsim] [ 60.397106][ T2220] nsim_dev_reload_create+0x1cf/0x4c0 [netdevsim] [ 60.397112][ T2220] ? devlink_reload_reinit_sanity_check+0xf8/0x240 [ 60.397114][ T2220] devlink_reload+0x264/0x430 [ 60.397117][ T2220] ? xa_get_mark+0x140/0x550 [ 60.397120][ T2220] ? devlink_notify_unregister+0x60/0x60 [ 60.397123][ T2220] ? devlink_resources_validate+0xb0/0x130 [ 60.397129][ T2220] devlink_nl_reload_doit+0xbd9/0x1160 [ 60.397132][ T2220] ? devlink_get_from_attrs_lock+0x1f0/0x470 [ 60.397133][ T2220] ? devlink_get_from_attrs_lock+0x230/0x470 [ 60.397135][ T2220] ? devlink_reload+0x430/0x430 [ 60.397137][ T2220] ? devlink_nl_msg_reply_and_new+0x180/0x180 [ 60.397140][ T2220] ? __nla_parse+0x22/0x30 [ 60.397143][ T2220] ? genl_family_rcv_msg_attrs_parse.isra.0+0x189/0x330 [ 60.397148][ T2220] genl_family_rcv_msg_doit+0x206/0x300 [ 60.397152][ T2220] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 60.397154][ T2220] ? __lock_release.isra.0+0x69/0x1a0 [ 60.397160][ T2220] ? rcu_is_watching+0x16/0xd0 [ 60.397162][ T2220] ? cap_capable+0x1d7/0x3d0 [ 60.397165][ T2220] ? write_profile+0xf0/0xf0 [ 60.397169][ T2220] ? unwind_get_return_address+0x67/0xd0 [ 60.397174][ T2220] genl_family_rcv_msg+0x3a4/0x640 [ 60.397178][ T2220] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 60.397181][ T2220] ? rcu_read_lock_any_held+0x3c/0x90 [ 60.397183][ T2220] ? devlink_nl_pre_doit_port+0x110/0x110 [ 60.397184][ T2220] ? devlink_reload+0x430/0x430 [ 60.397186][ T2220] ? devlink_nl_post_doit+0x80/0x80 [ 60.397188][ T2220] ? __lock_acquire+0x518/0xc20 [ 60.397194][ T2220] genl_rcv_msg+0xbb/0x160 [ 60.397197][ T2220] netlink_rcv_skb+0x14e/0x3a0 [ 60.397199][ T2220] ? genl_family_rcv_msg+0x640/0x640 [ 60.397203][ T2220] ? netlink_ack+0xcd0/0xcd0 [ 60.397211][ T2220] ? netlink_deliver_tap+0xc5/0x330 [ 60.397213][ T2220] ? netlink_deliver_tap+0x13c/0x330 [ 60.397217][ T2220] genl_rcv+0x28/0x40 [ 60.397220][ T2220] netlink_unicast+0x486/0x750 [ 60.397224][ T2220] ? netlink_attachskb+0x810/0x810 [ 60.397227][ T2220] ? __lock_acquire+0x518/0xc20 [ 60.397232][ T2220] netlink_sendmsg+0x735/0xc60 [ 60.397236][ T2220] ? netlink_unicast+0x750/0x750 [ 60.397240][ T2220] ? __might_fault+0x97/0x140 [ 60.397243][ T2220] ? __might_fault+0x97/0x140 [ 60.397247][ T2220] __sys_sendto+0x2aa/0x400 [ 60.397251][ T2220] ? __ia32_sys_getpeername+0xd0/0xd0 [ 60.397267][ T2220] __x64_sys_sendto+0xe4/0x1f0 [ 60.397269][ T2220] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 60.397280][ T2220] ? lockdep_hardirqs_on+0x91/0x130 [ 60.397282][ T2220] ? do_syscall_64+0xa6/0x530 [ 60.397284][ T2220] do_syscall_64+0xff/0x530 [ 60.397285][ T2220] ? exc_page_fault+0xee/0x100 [ 60.397288][ T2220] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 60.397290][ T2220] RIP: 0033:0x7fb2a050054e [ 60.397294][ 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 [ 60.397296][ T2220] RSP: 002b:00007fff285d7a70 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 60.397299][ T2220] RAX: ffffffffffffffda RBX: 000000003d6c7980 RCX: 00007fb2a050054e [ 60.397300][ T2220] RDX: 0000000000000038 RSI: 000000003d6c7ba0 RDI: 0000000000000005 [ 60.397301][ T2220] RBP: 00007fff285d7a80 R08: 00007fb2a07b3980 R09: 000000000000000c [ 60.397302][ T2220] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000040d0b0 [ 60.397303][ T2220] R13: 000000003d6c7980 R14: 0000000000000000 R15: 0000000000000003 [ 60.397311][ T2220]