[ 11.284262][ T305] ip (305) used greatest stack depth: 24032 bytes left [ 11.284278][ T305] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.284280][ T305] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 305, name: ip [ 11.284282][ T305] preempt_count: 2, expected: 0 [ 11.284283][ T305] RCU nest depth: 0, expected: 0 [ 11.284284][ T305] locks held by ip/305: 5, last CPU#0: [ 11.284286][ T305] #0: ffffffff9ae027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.284299][ T305] #1: ffffffff9af99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.284304][ T305] #2: ffffffff9af99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.284309][ T305] #3: ffffffff9ae89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.284312][ T305] #4: ffffffff9ae89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 11.284316][ T305] irq event stamp: 34322 [ 11.284317][ T305] hardirqs last enabled at (34321): [] __down_trylock_console_sem+0x86/0xa0 [ 11.284319][ T305] hardirqs last disabled at (34322): [] console_emit_next_record+0x3f8/0x4f0 [ 11.284321][ T305] softirqs last enabled at (33858): [] handle_softirqs+0x67c/0x900 [ 11.284323][ T305] softirqs last disabled at (33853): [] __irq_exit_rcu+0x145/0x1c0 [ 11.284327][ T305] Preemption disabled at: [ 11.284328][ T305] [<0000000000000000>] 0x0 [ 11.284335][ T305] CPU: 0 UID: 0 PID: 305 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.284338][ T305] Tainted: [W]=WARN [ 11.284339][ T305] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.284341][ T305] Call Trace: [ 11.284342][ T305] [ 11.284344][ T305] dump_stack_lvl+0x6f/0xa0 [ 11.284350][ T305] __might_resched.cold+0x1fe/0x2c1 [ 11.284354][ T305] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.284358][ T305] ? __kmalloc_noprof+0xdb/0x760 [ 11.284363][ T305] __kmalloc_noprof+0x443/0x760 [ 11.284365][ T305] ? alloc_buf.isra.0+0x4b/0x260 [ 11.284371][ T305] ? do_raw_spin_unlock+0x59/0x250 [ 11.284373][ T305] alloc_buf.isra.0+0x4b/0x260 [ 11.284376][ T305] put_chars+0x1e1/0x2f0 [ 11.284379][ T305] ? __send_to_port+0x420/0x420 [ 11.284380][ T305] ? printk_get_next_message+0x2fe/0x7d0 [ 11.284384][ T305] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.284387][ T305] ? validate_chain+0x38b/0xc20 [ 11.284391][ T305] hvc_console_print+0x292/0x780 [ 11.284394][ T305] ? __lock_acquire+0x518/0xc20 [ 11.284395][ T305] ? __lock_acquire+0x518/0xc20 [ 11.284399][ T305] ? hvc_write+0x3a0/0x3a0 [ 11.284402][ T305] ? rcu_is_watching+0x16/0xd0 [ 11.284405][ T305] ? lock_acquire+0x13c/0x160 [ 11.284409][ T305] console_emit_next_record+0x252/0x4f0 [ 11.284413][ T305] ? devkmsg_read+0x4e0/0x4e0 [ 11.284417][ T305] ? rcu_is_watching+0x16/0xd0 [ 11.284419][ T305] ? lock_acquire+0x13c/0x160 [ 11.284423][ T305] console_flush_one_record+0x46f/0x710 [ 11.284427][ T305] ? console_emit_next_record+0x4f0/0x4f0 [ 11.284429][ T305] ? __lock_acquire+0x518/0xc20 [ 11.284434][ T305] console_unlock+0xee/0x1f0 [ 11.284436][ T305] ? console_flush_one_record+0x710/0x710 [ 11.284438][ T305] ? rcu_is_watching+0x16/0xd0 [ 11.284440][ T305] ? lock_acquire+0x60/0x160 [ 11.284443][ T305] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.284445][ T305] ? vprintk_emit+0x320/0x3e0 [ 11.284448][ T305] vprintk_emit+0x37c/0x3e0 [ 11.284452][ T305] ? wake_up_klogd_work_func+0x90/0x90 [ 11.284455][ T305] ? __lock_acquire+0x518/0xc20 [ 11.284458][ T305] _printk+0xc7/0x100 [ 11.284462][ T305] ? snapshot_read.cold+0x21/0x21 [ 11.284465][ T305] ? do_raw_spin_lock+0x131/0x280 [ 11.284467][ T305] ? __rwlock_init+0x150/0x150 [ 11.284471][ T305] ? do_raw_spin_lock+0x131/0x280 [ 11.284473][ T305] do_exit.cold+0x82/0x9c [ 11.284477][ T305] ? exit_notify+0x890/0x890 [ 11.284479][ T305] ? __lock_release.isra.0+0x69/0x1a0 [ 11.284481][ T305] ? rcu_is_watching+0x16/0xd0 [ 11.284485][ T305] do_group_exit+0xb8/0x370 [ 11.284489][ T305] __x64_sys_exit_group+0x3c/0x50 [ 11.284491][ T305] x64_sys_call+0x1567/0x1570 [ 11.284497][ T305] do_syscall_64+0xff/0x530 [ 11.284500][ T305] ? exc_page_fault+0xee/0x100 [ 11.284504][ T305] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.284506][ T305] RIP: 0033:0x7f59c0c331b8 [ 11.284508][ T305] Code: Unable to access opcode bytes at 0x7f59c0c3318e. [ 11.284509][ T305] RSP: 002b:00007ffc5a40dbf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.284512][ T305] RAX: ffffffffffffffda RBX: 00007f59c0d63f88 RCX: 00007f59c0c331b8 [ 11.284513][ T305] RDX: 00007f59c097dfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.284514][ T305] RBP: 00007ffc5a40dc50 R08: 0000000000000000 R09: 0000000000000050 [ 11.284515][ T305] R10: 00007ffc5a40da10 R11: 0000000000000246 R12: 0000000000000001 [ 11.284516][ T305] R13: 0000000000000000 R14: 00007f59c0d62680 R15: 00007f59c0d63fa0 [ 11.284523][ T305] [ 13.868197][ T467] ip (467) used greatest stack depth: 24000 bytes left [ 13.868212][ T467] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.868215][ T467] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 467, name: ip [ 13.868216][ T467] preempt_count: 2, expected: 0 [ 13.868217][ T467] RCU nest depth: 0, expected: 0 [ 13.868218][ T467] locks held by ip/467: 5, last CPU#2: [ 13.868221][ T467] #0: ffffffff9ae027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 13.868234][ T467] #1: ffffffff9af99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.868240][ T467] #2: ffffffff9af99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.868244][ T467] #3: ffffffff9ae89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.868248][ T467] #4: ffffffff9ae89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 13.868252][ T467] irq event stamp: 26798 [ 13.868252][ T467] hardirqs last enabled at (26797): [] __down_trylock_console_sem+0x86/0xa0 [ 13.868255][ T467] hardirqs last disabled at (26798): [] console_emit_next_record+0x3f8/0x4f0 [ 13.868257][ T467] softirqs last enabled at (25780): [] handle_softirqs+0x67c/0x900 [ 13.868259][ T467] softirqs last disabled at (25775): [] __irq_exit_rcu+0x145/0x1c0 [ 13.868263][ T467] Preemption disabled at: [ 13.868263][ T467] [<0000000000000000>] 0x0 [ 13.868270][ T467] CPU: 2 UID: 0 PID: 467 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.868274][ T467] Tainted: [W]=WARN [ 13.868275][ T467] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.868276][ T467] Call Trace: [ 13.868278][ T467] [ 13.868279][ T467] dump_stack_lvl+0x6f/0xa0 [ 13.868286][ T467] __might_resched.cold+0x1fe/0x2c1 [ 13.868290][ T467] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.868294][ T467] ? __kmalloc_noprof+0xdb/0x760 [ 13.868299][ T467] __kmalloc_noprof+0x443/0x760 [ 13.868301][ T467] ? alloc_buf.isra.0+0x4b/0x260 [ 13.868307][ T467] ? do_raw_spin_unlock+0x59/0x250 [ 13.868310][ T467] alloc_buf.isra.0+0x4b/0x260 [ 13.868313][ T467] put_chars+0x1e1/0x2f0 [ 13.868316][ T467] ? __send_to_port+0x420/0x420 [ 13.868317][ T467] ? printk_get_next_message+0x2fe/0x7d0 [ 13.868320][ T467] ? rcu_read_lock_any_held+0x3c/0x90 [ 13.868323][ T467] ? validate_chain+0x38b/0xc20 [ 13.868328][ T467] hvc_console_print+0x292/0x780 [ 13.868331][ T467] ? __lock_acquire+0x518/0xc20 [ 13.868332][ T467] ? __lock_acquire+0x518/0xc20 [ 13.868336][ T467] ? hvc_write+0x3a0/0x3a0 [ 13.868339][ T467] ? rcu_is_watching+0x16/0xd0 [ 13.868342][ T467] ? lock_acquire+0x13c/0x160 [ 13.868346][ T467] console_emit_next_record+0x252/0x4f0 [ 13.868350][ T467] ? devkmsg_read+0x4e0/0x4e0 [ 13.868354][ T467] ? rcu_is_watching+0x16/0xd0 [ 13.868357][ T467] ? lock_acquire+0x13c/0x160 [ 13.868360][ T467] console_flush_one_record+0x46f/0x710 [ 13.868364][ T467] ? console_emit_next_record+0x4f0/0x4f0 [ 13.868366][ T467] ? __lock_acquire+0x518/0xc20 [ 13.868371][ T467] console_unlock+0xee/0x1f0 [ 13.868374][ T467] ? console_flush_one_record+0x710/0x710 [ 13.868376][ T467] ? rcu_is_watching+0x16/0xd0 [ 13.868378][ T467] ? lock_acquire+0x60/0x160 [ 13.868381][ T467] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.868383][ T467] ? vprintk_emit+0x320/0x3e0 [ 13.868386][ T467] vprintk_emit+0x37c/0x3e0 [ 13.868390][ T467] ? wake_up_klogd_work_func+0x90/0x90 [ 13.868393][ T467] ? __lock_acquire+0x518/0xc20 [ 13.868396][ T467] _printk+0xc7/0x100 [ 13.868400][ T467] ? snapshot_read.cold+0x21/0x21 [ 13.868403][ T467] ? do_raw_spin_lock+0x131/0x280 [ 13.868406][ T467] ? __rwlock_init+0x150/0x150 [ 13.868409][ T467] ? do_raw_spin_lock+0x131/0x280 [ 13.868412][ T467] do_exit.cold+0x82/0x9c [ 13.868416][ T467] ? exit_notify+0x890/0x890 [ 13.868417][ T467] ? __lock_release.isra.0+0x69/0x1a0 [ 13.868420][ T467] ? rcu_is_watching+0x16/0xd0 [ 13.868424][ T467] do_group_exit+0xb8/0x370 [ 13.868428][ T467] __x64_sys_exit_group+0x3c/0x50 [ 13.868430][ T467] x64_sys_call+0x1567/0x1570 [ 13.868432][ T467] do_syscall_64+0xff/0x530 [ 13.868435][ T467] ? exc_page_fault+0xee/0x100 [ 13.868439][ T467] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.868441][ T467] RIP: 0033:0x7ff0543301b8 [ 13.868443][ T467] Code: Unable to access opcode bytes at 0x7ff05433018e. [ 13.868444][ T467] RSP: 002b:00007ffe7688d368 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 13.868447][ T467] RAX: ffffffffffffffda RBX: 00007ff054460f88 RCX: 00007ff0543301b8 [ 13.868448][ T467] RDX: 00007ff05407afc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 13.868449][ T467] RBP: 00007ffe7688d3c0 R08: 0000000000000000 R09: 0000000000000050 [ 13.868450][ T467] R10: 00007ffe7688d180 R11: 0000000000000246 R12: 0000000000000001 [ 13.868451][ T467] R13: 0000000000000000 R14: 00007ff05445f680 R15: 00007ff054460fa0 [ 13.868458][ T467] [ 16.450112][ T564] Failed to register fib notifier [ 16.450187][ T564] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.450190][ T564] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 564, name: devlink [ 16.450191][ T564] preempt_count: 1, expected: 0 [ 16.450192][ T564] RCU nest depth: 0, expected: 0 [ 16.450193][ T564] locks held by devlink/564: 7, last CPU#0: [ 16.450196][ T564] #0: ffffffff9b75db48 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 16.450208][ T564] #1: ff110000028e3928 (&dev->mutex){....}-{4:4}, at: devlink_get_from_attrs_lock+0x1e8/0x470 [ 16.450214][ T564] #2: ff1100000ccb0a58 (&devlink->lock_key){+.+.}-{4:4}, at: devlink_get_from_attrs_lock+0x1f0/0x470 [ 16.450218][ T564] #3: ffffffff9af99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.450224][ T564] #4: ffffffff9af99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.450228][ T564] #5: ffffffff9ae89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.450231][ T564] #6: ffffffff9ae89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 16.450235][ T564] irq event stamp: 29980 [ 16.450236][ T564] hardirqs last enabled at (29979): [] __down_trylock_console_sem+0x86/0xa0 [ 16.450238][ T564] hardirqs last disabled at (29980): [] console_emit_next_record+0x3f8/0x4f0 [ 16.450240][ T564] softirqs last enabled at (29946): [] nsim_fib_event_nb+0x2f0/0xa80 [netdevsim] [ 16.450248][ T564] softirqs last disabled at (29944): [] nsim_fib_event_nb+0x213/0xa80 [netdevsim] [ 16.450253][ T564] Preemption disabled at: [ 16.450253][ T564] [] vprintk_emit+0x31b/0x3e0 [ 16.450259][ T564] CPU: 0 UID: 0 PID: 564 Comm: devlink Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.450263][ T564] Tainted: [W]=WARN [ 16.450264][ T564] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.450266][ T564] Call Trace: [ 16.450267][ T564] [ 16.450269][ T564] dump_stack_lvl+0x6f/0xa0 [ 16.450275][ T564] ? vprintk_emit+0x31b/0x3e0 [ 16.450277][ T564] __might_resched.cold+0x1fe/0x2c1 [ 16.450281][ T564] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.450285][ T564] ? __kmalloc_noprof+0xdb/0x760 [ 16.450290][ T564] __kmalloc_noprof+0x443/0x760 [ 16.450293][ T564] ? alloc_buf.isra.0+0x4b/0x260 [ 16.450298][ T564] ? do_raw_spin_unlock+0x59/0x250 [ 16.450300][ T564] alloc_buf.isra.0+0x4b/0x260 [ 16.450304][ T564] put_chars+0x1e1/0x2f0 [ 16.450307][ T564] ? __send_to_port+0x420/0x420 [ 16.450314][ T564] hvc_console_print+0x292/0x780 [ 16.450321][ T564] ? hvc_write+0x3a0/0x3a0 [ 16.450324][ T564] ? lock_acquire+0x13c/0x160 [ 16.450328][ T564] console_emit_next_record+0x252/0x4f0 [ 16.450332][ T564] ? devkmsg_read+0x4e0/0x4e0 [ 16.450337][ T564] ? rcu_is_watching+0x16/0xd0 [ 16.450341][ T564] ? lock_acquire+0x13c/0x160 [ 16.450345][ T564] console_flush_one_record+0x46f/0x710 [ 16.450349][ T564] ? console_emit_next_record+0x4f0/0x4f0 [ 16.450351][ T564] ? __lock_acquire+0x518/0xc20 [ 16.450356][ T564] console_unlock+0xee/0x1f0 [ 16.450359][ T564] ? console_flush_one_record+0x710/0x710 [ 16.450361][ T564] ? rcu_is_watching+0x16/0xd0 [ 16.450363][ T564] ? lock_acquire+0x60/0x160 [ 16.450367][ T564] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.450368][ T564] ? vprintk_emit+0x320/0x3e0 [ 16.450372][ T564] vprintk_emit+0x37c/0x3e0 [ 16.450375][ T564] ? wake_up_klogd_work_func+0x90/0x90 [ 16.450377][ T564] ? lockdep_hardirqs_on+0x91/0x130 [ 16.450381][ T564] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 16.450384][ T564] ? rcu_preempt_deferred_qs_irqrestore+0x7cf/0xc10 [ 16.450389][ T564] _printk+0xc7/0x100 [ 16.450393][ T564] ? snapshot_read.cold+0x21/0x21 [ 16.450396][ T564] ? fib_net_dump+0x16f/0x2e0 [ 16.450401][ T564] ? register_fib_notifier+0x46/0xb0 [ 16.450405][ T564] nsim_fib_create.cold+0xc/0x22 [netdevsim] [ 16.450414][ T564] ? nsim_fib_get_val+0xe0/0xe0 [netdevsim] [ 16.450417][ T564] ? queue_delayed_work_on+0x95/0x100 [ 16.450422][ T564] ? nsim_dev_traps_init+0x42f/0x5a0 [netdevsim] [ 16.450428][ T564] nsim_dev_reload_create+0x1cf/0x4c0 [netdevsim] [ 16.450433][ T564] ? devlink_reload_reinit_sanity_check+0xf8/0x240 [ 16.450435][ T564] devlink_reload+0x264/0x430 [ 16.450438][ T564] ? xa_get_mark+0x140/0x550 [ 16.450442][ T564] ? devlink_notify_unregister+0x60/0x60 [ 16.450445][ T564] ? devlink_resources_validate+0xb0/0x130 [ 16.450451][ T564] devlink_nl_reload_doit+0xbd9/0x1160 [ 16.450454][ T564] ? devlink_get_from_attrs_lock+0x1f0/0x470 [ 16.450455][ T564] ? devlink_get_from_attrs_lock+0x230/0x470 [ 16.450457][ T564] ? devlink_reload+0x430/0x430 [ 16.450459][ T564] ? devlink_nl_msg_reply_and_new+0x180/0x180 [ 16.450462][ T564] ? __nla_parse+0x22/0x30 [ 16.450465][ T564] ? genl_family_rcv_msg_attrs_parse.isra.0+0x189/0x330 [ 16.450470][ T564] genl_family_rcv_msg_doit+0x206/0x300 [ 16.450474][ T564] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 16.450476][ T564] ? __lock_release.isra.0+0x69/0x1a0 [ 16.450482][ T564] ? rcu_is_watching+0x16/0xd0 [ 16.450484][ T564] ? cap_capable+0x1d7/0x3d0 [ 16.450488][ T564] ? write_profile+0xf0/0xf0 [ 16.450491][ T564] ? unwind_get_return_address+0x67/0xd0 [ 16.450497][ T564] genl_family_rcv_msg+0x3a4/0x640 [ 16.450501][ T564] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 16.450504][ T564] ? rcu_read_lock_any_held+0x3c/0x90 [ 16.450506][ T564] ? devlink_nl_pre_doit_port+0x110/0x110 [ 16.450507][ T564] ? devlink_reload+0x430/0x430 [ 16.450509][ T564] ? devlink_nl_post_doit+0x80/0x80 [ 16.450511][ T564] ? __lock_acquire+0x518/0xc20 [ 16.450517][ T564] genl_rcv_msg+0xbb/0x160 [ 16.450520][ T564] netlink_rcv_skb+0x14e/0x3a0 [ 16.450522][ T564] ? genl_family_rcv_msg+0x640/0x640 [ 16.450533][ T564] ? netlink_ack+0xcd0/0xcd0 [ 16.450540][ T564] ? netlink_deliver_tap+0xc5/0x330 [ 16.450543][ T564] ? netlink_deliver_tap+0x13c/0x330 [ 16.450547][ T564] genl_rcv+0x28/0x40 [ 16.450550][ T564] netlink_unicast+0x486/0x750 [ 16.450554][ T564] ? netlink_attachskb+0x810/0x810 [ 16.450557][ T564] ? __lock_acquire+0x518/0xc20 [ 16.450561][ T564] netlink_sendmsg+0x735/0xc60 [ 16.450566][ T564] ? netlink_unicast+0x750/0x750 [ 16.450570][ T564] ? __might_fault+0x97/0x140 [ 16.450573][ T564] ? __might_fault+0x97/0x140 [ 16.450577][ T564] __sys_sendto+0x2aa/0x400 [ 16.450581][ T564] ? __ia32_sys_getpeername+0xd0/0xd0 [ 16.450596][ T564] __x64_sys_sendto+0xe4/0x1f0 [ 16.450598][ T564] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.450602][ T564] ? lockdep_hardirqs_on+0x91/0x130 [ 16.450603][ T564] ? do_syscall_64+0xa6/0x530 [ 16.450605][ T564] do_syscall_64+0xff/0x530 [ 16.450606][ T564] ? exc_page_fault+0xee/0x100 [ 16.450609][ T564] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.450612][ T564] RIP: 0033:0x7f53c948354e [ 16.450615][ T564] 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 [ 16.450617][ T564] RSP: 002b:00007ffc60682380 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 16.450620][ T564] RAX: ffffffffffffffda RBX: 0000000018173980 RCX: 00007f53c948354e [ 16.450622][ T564] RDX: 0000000000000038 RSI: 0000000018173ba0 RDI: 0000000000000005 [ 16.450622][ T564] RBP: 00007ffc60682390 R08: 00007f53c9736980 R09: 000000000000000c [ 16.450623][ T564] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000040d0b0 [ 16.450624][ T564] R13: 0000000018173980 R14: 0000000000000000 R15: 0000000000000003 [ 16.450632][ T564] [ 28.259099][ T1194] Failed to register fib notifier [ 28.259114][ T1194] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 28.259117][ T1194] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1194, name: devlink [ 28.259118][ T1194] preempt_count: 1, expected: 0 [ 28.259119][ T1194] RCU nest depth: 0, expected: 0 [ 28.259120][ T1194] locks held by devlink/1194: 7, last CPU#0: [ 28.259123][ T1194] #0: ffffffff9b75db48 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 28.259136][ T1194] #1: ff110000028e3928 (&dev->mutex){....}-{4:4}, at: devlink_get_from_attrs_lock+0x1e8/0x470 [ 28.259141][ T1194] #2: ff1100000ccb0a58 (&devlink->lock_key){+.+.}-{4:4}, at: devlink_get_from_attrs_lock+0x1f0/0x470 [ 28.259145][ T1194] #3: ffffffff9af99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 28.259150][ T1194] #4: ffffffff9af99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 28.259154][ T1194] #5: ffffffff9ae89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 28.259158][ T1194] #6: ffffffff9ae89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 28.259162][ T1194] irq event stamp: 32728 [ 28.259163][ T1194] hardirqs last enabled at (32727): [] __down_trylock_console_sem+0x86/0xa0 [ 28.259165][ T1194] hardirqs last disabled at (32728): [] console_emit_next_record+0x3f8/0x4f0 [ 28.259167][ T1194] softirqs last enabled at (32704): [] fib6_tables_dump+0x3f5/0x670 [ 28.259170][ T1194] softirqs last disabled at (32488): [] fib6_tables_dump+0x217/0x670 [ 28.259173][ T1194] Preemption disabled at: [ 28.259174][ T1194] [] vprintk_emit+0x31b/0x3e0 [ 28.259179][ T1194] CPU: 0 UID: 0 PID: 1194 Comm: devlink Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 28.259183][ T1194] Tainted: [W]=WARN [ 28.259184][ T1194] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 28.259186][ T1194] Call Trace: [ 28.259187][ T1194] [ 28.259189][ T1194] dump_stack_lvl+0x6f/0xa0 [ 28.259195][ T1194] ? vprintk_emit+0x31b/0x3e0 [ 28.259197][ T1194] __might_resched.cold+0x1fe/0x2c1 [ 28.259201][ T1194] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 28.259205][ T1194] ? __kmalloc_noprof+0xdb/0x760 [ 28.259210][ T1194] __kmalloc_noprof+0x443/0x760 [ 28.259212][ T1194] ? alloc_buf.isra.0+0x4b/0x260 [ 28.259218][ T1194] ? do_raw_spin_unlock+0x59/0x250 [ 28.259221][ T1194] alloc_buf.isra.0+0x4b/0x260 [ 28.259224][ T1194] put_chars+0x1e1/0x2f0 [ 28.259226][ T1194] ? desc_read_finalized_seq+0x41/0x120 [ 28.259229][ T1194] ? __send_to_port+0x420/0x420 [ 28.259236][ T1194] hvc_console_print+0x292/0x780 [ 28.259244][ T1194] ? hvc_write+0x3a0/0x3a0 [ 28.259247][ T1194] ? lock_acquire+0x13c/0x160 [ 28.259251][ T1194] console_emit_next_record+0x252/0x4f0 [ 28.259255][ T1194] ? devkmsg_read+0x4e0/0x4e0 [ 28.259259][ T1194] ? rcu_is_watching+0x16/0xd0 [ 28.259263][ T1194] ? lock_acquire+0x13c/0x160 [ 28.259267][ T1194] console_flush_one_record+0x46f/0x710 [ 28.259271][ T1194] ? console_emit_next_record+0x4f0/0x4f0 [ 28.259273][ T1194] ? __lock_acquire+0x518/0xc20 [ 28.259278][ T1194] console_unlock+0xee/0x1f0 [ 28.259281][ T1194] ? console_flush_one_record+0x710/0x710 [ 28.259283][ T1194] ? rcu_is_watching+0x16/0xd0 [ 28.259285][ T1194] ? lock_acquire+0x60/0x160 [ 28.259289][ T1194] ? __down_trylock_console_sem+0x5e/0xa0 [ 28.259290][ T1194] ? vprintk_emit+0x320/0x3e0 [ 28.259294][ T1194] vprintk_emit+0x37c/0x3e0 [ 28.259298][ T1194] ? wake_up_klogd_work_func+0x90/0x90 [ 28.259300][ T1194] ? lockdep_hardirqs_on+0x91/0x130 [ 28.259303][ T1194] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 28.259307][ T1194] ? rcu_preempt_deferred_qs_irqrestore+0x7cf/0xc10 [ 28.259312][ T1194] _printk+0xc7/0x100 [ 28.259316][ T1194] ? snapshot_read.cold+0x21/0x21 [ 28.259319][ T1194] ? fib_net_dump+0x16f/0x2e0 [ 28.259324][ T1194] ? register_fib_notifier+0x46/0xb0 [ 28.259328][ T1194] nsim_fib_create.cold+0xc/0x22 [netdevsim] [ 28.259339][ T1194] ? nsim_fib_get_val+0xe0/0xe0 [netdevsim] [ 28.259344][ T1194] ? queue_delayed_work_on+0x95/0x100 [ 28.259349][ T1194] ? nsim_dev_traps_init+0x42f/0x5a0 [netdevsim] [ 28.259355][ T1194] nsim_dev_reload_create+0x1cf/0x4c0 [netdevsim] [ 28.259360][ T1194] ? devlink_reload_reinit_sanity_check+0xf8/0x240 [ 28.259363][ T1194] devlink_reload+0x264/0x430 [ 28.259365][ T1194] ? xa_get_mark+0x140/0x550 [ 28.259369][ T1194] ? devlink_notify_unregister+0x60/0x60 [ 28.259372][ T1194] ? devlink_resources_validate+0xb0/0x130 [ 28.259378][ T1194] devlink_nl_reload_doit+0xbd9/0x1160 [ 28.259381][ T1194] ? devlink_get_from_attrs_lock+0x1f0/0x470 [ 28.259382][ T1194] ? devlink_get_from_attrs_lock+0x230/0x470 [ 28.259384][ T1194] ? devlink_reload+0x430/0x430 [ 28.259386][ T1194] ? devlink_nl_msg_reply_and_new+0x180/0x180 [ 28.259389][ T1194] ? __nla_parse+0x22/0x30 [ 28.259392][ T1194] ? genl_family_rcv_msg_attrs_parse.isra.0+0x189/0x330 [ 28.259397][ T1194] genl_family_rcv_msg_doit+0x206/0x300 [ 28.259401][ T1194] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 28.259403][ T1194] ? __lock_release.isra.0+0x69/0x1a0 [ 28.259409][ T1194] ? rcu_is_watching+0x16/0xd0 [ 28.259411][ T1194] ? cap_capable+0x1d7/0x3d0 [ 28.259415][ T1194] ? write_profile+0xf0/0xf0 [ 28.259418][ T1194] ? unwind_get_return_address+0x67/0xd0 [ 28.259424][ T1194] genl_family_rcv_msg+0x3a4/0x640 [ 28.259428][ T1194] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 28.259430][ T1194] ? rcu_read_lock_any_held+0x3c/0x90 [ 28.259432][ T1194] ? devlink_nl_pre_doit_port+0x110/0x110 [ 28.259434][ T1194] ? devlink_reload+0x430/0x430 [ 28.259435][ T1194] ? devlink_nl_post_doit+0x80/0x80 [ 28.259437][ T1194] ? __lock_acquire+0x518/0xc20 [ 28.259443][ T1194] genl_rcv_msg+0xbb/0x160 [ 28.259446][ T1194] netlink_rcv_skb+0x14e/0x3a0 [ 28.259448][ T1194] ? genl_family_rcv_msg+0x640/0x640 [ 28.259452][ T1194] ? netlink_ack+0xcd0/0xcd0 [ 28.259460][ T1194] ? netlink_deliver_tap+0xc5/0x330 [ 28.259462][ T1194] ? netlink_deliver_tap+0x13c/0x330 [ 28.259466][ T1194] genl_rcv+0x28/0x40 [ 28.259469][ T1194] netlink_unicast+0x486/0x750 [ 28.259473][ T1194] ? netlink_attachskb+0x810/0x810 [ 28.259476][ T1194] ? __lock_acquire+0x518/0xc20 [ 28.259481][ T1194] netlink_sendmsg+0x735/0xc60 [ 28.259485][ T1194] ? netlink_unicast+0x750/0x750 [ 28.259489][ T1194] ? __might_fault+0x97/0x140 [ 28.259492][ T1194] ? __might_fault+0x97/0x140 [ 28.259496][ T1194] __sys_sendto+0x2aa/0x400 [ 28.259500][ T1194] ? __ia32_sys_getpeername+0xd0/0xd0 [ 28.259515][ T1194] __x64_sys_sendto+0xe4/0x1f0 [ 28.259517][ T1194] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 28.259521][ T1194] ? lockdep_hardirqs_on+0x91/0x130 [ 28.259522][ T1194] ? do_syscall_64+0xa6/0x530 [ 28.259524][ T1194] do_syscall_64+0xff/0x530 [ 28.259525][ T1194] ? exc_page_fault+0xee/0x100 [ 28.259528][ T1194] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 28.259530][ T1194] RIP: 0033:0x7eff0b63454e [ 28.259534][ T1194] 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 [ 28.259536][ T1194] RSP: 002b:00007ffda0178390 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 28.259539][ T1194] RAX: ffffffffffffffda RBX: 0000000027f47980 RCX: 00007eff0b63454e [ 28.259540][ T1194] RDX: 0000000000000038 RSI: 0000000027f47ba0 RDI: 0000000000000005 [ 28.259541][ T1194] RBP: 00007ffda01783a0 R08: 00007eff0b8e7980 R09: 000000000000000c [ 28.259542][ T1194] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000040d0b0 [ 28.259543][ T1194] R13: 0000000027f47980 R14: 0000000000000000 R15: 0000000000000003 [ 28.259550][ T1194] [ 35.523292][ T1587] Failed to register fib notifier [ 35.523308][ T1587] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 35.523310][ T1587] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1587, name: devlink [ 35.523312][ T1587] preempt_count: 1, expected: 0 [ 35.523313][ T1587] RCU nest depth: 0, expected: 0 [ 35.523314][ T1587] locks held by devlink/1587: 7, last CPU#2: [ 35.523316][ T1587] #0: ffffffff9b75db48 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 35.523329][ T1587] #1: ff110000028e3928 (&dev->mutex){....}-{4:4}, at: devlink_get_from_attrs_lock+0x1e8/0x470 [ 35.523335][ T1587] #2: ff1100000ccb0a58 (&devlink->lock_key){+.+.}-{4:4}, at: devlink_get_from_attrs_lock+0x1f0/0x470 [ 35.523338][ T1587] #3: ffffffff9af99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 35.523344][ T1587] #4: ffffffff9af99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 35.523348][ T1587] #5: ffffffff9ae89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 35.523352][ T1587] #6: ffffffff9ae89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 35.523355][ T1587] irq event stamp: 22450 [ 35.523356][ T1587] hardirqs last enabled at (22449): [] __down_trylock_console_sem+0x86/0xa0 [ 35.523359][ T1587] hardirqs last disabled at (22450): [] console_emit_next_record+0x3f8/0x4f0 [ 35.523360][ T1587] softirqs last enabled at (22420): [] nsim_fib_event_nb+0x2f0/0xa80 [netdevsim] [ 35.523368][ T1587] softirqs last disabled at (22418): [] nsim_fib_event_nb+0x213/0xa80 [netdevsim] [ 35.523373][ T1587] Preemption disabled at: [ 35.523373][ T1587] [] vprintk_emit+0x31b/0x3e0 [ 35.523379][ T1587] CPU: 2 UID: 0 PID: 1587 Comm: devlink Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 35.523382][ T1587] Tainted: [W]=WARN [ 35.523383][ T1587] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 35.523385][ T1587] Call Trace: [ 35.523387][ T1587] [ 35.523388][ T1587] dump_stack_lvl+0x6f/0xa0 [ 35.523394][ T1587] ? vprintk_emit+0x31b/0x3e0 [ 35.523396][ T1587] __might_resched.cold+0x1fe/0x2c1 [ 35.523401][ T1587] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 35.523405][ T1587] ? __kmalloc_noprof+0xdb/0x760 [ 35.523410][ T1587] __kmalloc_noprof+0x443/0x760 [ 35.523412][ T1587] ? alloc_buf.isra.0+0x4b/0x260 [ 35.523418][ T1587] ? do_raw_spin_unlock+0x59/0x250 [ 35.523421][ T1587] alloc_buf.isra.0+0x4b/0x260 [ 35.523424][ T1587] put_chars+0x1e1/0x2f0 [ 35.523426][ T1587] ? desc_read_finalized_seq+0x41/0x120 [ 35.523429][ T1587] ? __send_to_port+0x420/0x420 [ 35.523436][ T1587] hvc_console_print+0x292/0x780 [ 35.523443][ T1587] ? hvc_write+0x3a0/0x3a0 [ 35.523445][ T1587] ? lock_acquire+0x13c/0x160 [ 35.523449][ T1587] console_emit_next_record+0x252/0x4f0 [ 35.523453][ T1587] ? devkmsg_read+0x4e0/0x4e0 [ 35.523458][ T1587] ? rcu_is_watching+0x16/0xd0 [ 35.523461][ T1587] ? lock_acquire+0x13c/0x160 [ 35.523465][ T1587] console_flush_one_record+0x46f/0x710 [ 35.523469][ T1587] ? console_emit_next_record+0x4f0/0x4f0 [ 35.523471][ T1587] ? __lock_acquire+0x518/0xc20 [ 35.523477][ T1587] console_unlock+0xee/0x1f0 [ 35.523479][ T1587] ? console_flush_one_record+0x710/0x710 [ 35.523481][ T1587] ? rcu_is_watching+0x16/0xd0 [ 35.523483][ T1587] ? lock_acquire+0x60/0x160 [ 35.523487][ T1587] ? __down_trylock_console_sem+0x5e/0xa0 [ 35.523488][ T1587] ? vprintk_emit+0x320/0x3e0 [ 35.523492][ T1587] vprintk_emit+0x37c/0x3e0 [ 35.523496][ T1587] ? wake_up_klogd_work_func+0x90/0x90 [ 35.523497][ T1587] ? lockdep_hardirqs_on+0x91/0x130 [ 35.523501][ T1587] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 35.523504][ T1587] ? rcu_preempt_deferred_qs_irqrestore+0x7cf/0xc10 [ 35.523509][ T1587] _printk+0xc7/0x100 [ 35.523514][ T1587] ? snapshot_read.cold+0x21/0x21 [ 35.523517][ T1587] ? fib_net_dump+0x16f/0x2e0 [ 35.523521][ T1587] ? register_fib_notifier+0x46/0xb0 [ 35.523525][ T1587] nsim_fib_create.cold+0xc/0x22 [netdevsim] [ 35.523534][ T1587] ? nsim_fib_get_val+0xe0/0xe0 [netdevsim] [ 35.523538][ T1587] ? queue_delayed_work_on+0x95/0x100 [ 35.523543][ T1587] ? nsim_dev_traps_init+0x42f/0x5a0 [netdevsim] [ 35.523548][ T1587] nsim_dev_reload_create+0x1cf/0x4c0 [netdevsim] [ 35.523553][ T1587] ? devlink_reload_reinit_sanity_check+0xf8/0x240 [ 35.523556][ T1587] devlink_reload+0x264/0x430 [ 35.523558][ T1587] ? xa_get_mark+0x140/0x550 [ 35.523562][ T1587] ? devlink_notify_unregister+0x60/0x60 [ 35.523565][ T1587] ? devlink_resources_validate+0xb0/0x130 [ 35.523572][ T1587] devlink_nl_reload_doit+0xbd9/0x1160 [ 35.523574][ T1587] ? devlink_get_from_attrs_lock+0x1f0/0x470 [ 35.523576][ T1587] ? devlink_get_from_attrs_lock+0x230/0x470 [ 35.523578][ T1587] ? devlink_reload+0x430/0x430 [ 35.523579][ T1587] ? devlink_nl_msg_reply_and_new+0x180/0x180 [ 35.523582][ T1587] ? __nla_parse+0x22/0x30 [ 35.523586][ T1587] ? genl_family_rcv_msg_attrs_parse.isra.0+0x189/0x330 [ 35.523591][ T1587] genl_family_rcv_msg_doit+0x206/0x300 [ 35.523594][ T1587] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 35.523596][ T1587] ? __lock_release.isra.0+0x69/0x1a0 [ 35.523602][ T1587] ? rcu_is_watching+0x16/0xd0 [ 35.523604][ T1587] ? cap_capable+0x1d7/0x3d0 [ 35.523608][ T1587] ? write_profile+0xf0/0xf0 [ 35.523611][ T1587] ? unwind_get_return_address+0x67/0xd0 [ 35.523617][ T1587] genl_family_rcv_msg+0x3a4/0x640 [ 35.523621][ T1587] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 35.523624][ T1587] ? rcu_read_lock_any_held+0x3c/0x90 [ 35.523625][ T1587] ? devlink_nl_pre_doit_port+0x110/0x110 [ 35.523627][ T1587] ? devlink_reload+0x430/0x430 [ 35.523628][ T1587] ? devlink_nl_post_doit+0x80/0x80 [ 35.523630][ T1587] ? __lock_acquire+0x518/0xc20 [ 35.523636][ T1587] genl_rcv_msg+0xbb/0x160 [ 35.523640][ T1587] netlink_rcv_skb+0x14e/0x3a0 [ 35.523642][ T1587] ? genl_family_rcv_msg+0x640/0x640 [ 35.523651][ T1587] ? netlink_ack+0xcd0/0xcd0 [ 35.523659][ T1587] ? netlink_deliver_tap+0xc5/0x330 [ 35.523661][ T1587] ? netlink_deliver_tap+0x13c/0x330 [ 35.523665][ T1587] genl_rcv+0x28/0x40 [ 35.523668][ T1587] netlink_unicast+0x486/0x750 [ 35.523672][ T1587] ? netlink_attachskb+0x810/0x810 [ 35.523675][ T1587] ? __lock_acquire+0x518/0xc20 [ 35.523680][ T1587] netlink_sendmsg+0x735/0xc60 [ 35.523684][ T1587] ? netlink_unicast+0x750/0x750 [ 35.523688][ T1587] ? __might_fault+0x97/0x140 [ 35.523691][ T1587] ? __might_fault+0x97/0x140 [ 35.523695][ T1587] __sys_sendto+0x2aa/0x400 [ 35.523699][ T1587] ? __ia32_sys_getpeername+0xd0/0xd0 [ 35.523714][ T1587] __x64_sys_sendto+0xe4/0x1f0 [ 35.523715][ T1587] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 35.523719][ T1587] ? lockdep_hardirqs_on+0x91/0x130 [ 35.523721][ T1587] ? do_syscall_64+0xa6/0x530 [ 35.523723][ T1587] do_syscall_64+0xff/0x530 [ 35.523724][ T1587] ? exc_page_fault+0xee/0x100 [ 35.523727][ T1587] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 35.523729][ T1587] RIP: 0033:0x7f3630f4654e [ 35.523733][ 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 [ 35.523735][ T1587] RSP: 002b:00007fff04375790 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 35.523737][ T1587] RAX: ffffffffffffffda RBX: 0000000015124980 RCX: 00007f3630f4654e [ 35.523739][ T1587] RDX: 0000000000000038 RSI: 0000000015124ba0 RDI: 0000000000000005 [ 35.523740][ T1587] RBP: 00007fff043757a0 R08: 00007f36311f9980 R09: 000000000000000c [ 35.523741][ T1587] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000040d0b0 [ 35.523742][ T1587] R13: 0000000015124980 R14: 0000000000000000 R15: 0000000000000003 [ 35.523749][ T1587] [ 47.321432][ T2216] Failed to register fib notifier [ 47.321447][ T2216] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 47.321450][ T2216] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 2216, name: devlink [ 47.321451][ T2216] preempt_count: 1, expected: 0 [ 47.321452][ T2216] RCU nest depth: 0, expected: 0 [ 47.321453][ T2216] locks held by devlink/2216: 7, last CPU#2: [ 47.321456][ T2216] #0: ffffffff9b75db48 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 47.321468][ T2216] #1: ff110000028e3928 (&dev->mutex){....}-{4:4}, at: devlink_get_from_attrs_lock+0x1e8/0x470 [ 47.321474][ T2216] #2: ff1100000ccb0a58 (&devlink->lock_key){+.+.}-{4:4}, at: devlink_get_from_attrs_lock+0x1f0/0x470 [ 47.321477][ T2216] #3: ffffffff9af99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 47.321483][ T2216] #4: ffffffff9af99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 47.321487][ T2216] #5: ffffffff9ae89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 47.321490][ T2216] #6: ffffffff9ae89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 47.321494][ T2216] irq event stamp: 27742 [ 47.321495][ T2216] hardirqs last enabled at (27741): [] __down_trylock_console_sem+0x86/0xa0 [ 47.321497][ T2216] hardirqs last disabled at (27742): [] console_emit_next_record+0x3f8/0x4f0 [ 47.321499][ T2216] softirqs last enabled at (27722): [] fib6_tables_dump+0x3f5/0x670 [ 47.321502][ T2216] softirqs last disabled at (27516): [] fib6_tables_dump+0x217/0x670 [ 47.321504][ T2216] Preemption disabled at: [ 47.321505][ T2216] [] vprintk_emit+0x31b/0x3e0 [ 47.321511][ T2216] CPU: 2 UID: 0 PID: 2216 Comm: devlink Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 47.321514][ T2216] Tainted: [W]=WARN [ 47.321515][ T2216] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 47.321517][ T2216] Call Trace: [ 47.321519][ T2216] [ 47.321520][ T2216] dump_stack_lvl+0x6f/0xa0 [ 47.321526][ T2216] ? vprintk_emit+0x31b/0x3e0 [ 47.321528][ T2216] __might_resched.cold+0x1fe/0x2c1 [ 47.321532][ T2216] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 47.321536][ T2216] ? __kmalloc_noprof+0xdb/0x760 [ 47.321541][ T2216] __kmalloc_noprof+0x443/0x760 [ 47.321544][ T2216] ? alloc_buf.isra.0+0x4b/0x260 [ 47.321549][ T2216] ? do_raw_spin_unlock+0x59/0x250 [ 47.321552][ T2216] alloc_buf.isra.0+0x4b/0x260 [ 47.321555][ T2216] put_chars+0x1e1/0x2f0 [ 47.321557][ T2216] ? desc_read_finalized_seq+0x41/0x120 [ 47.321560][ T2216] ? __send_to_port+0x420/0x420 [ 47.321567][ T2216] hvc_console_print+0x292/0x780 [ 47.321573][ T2216] ? hvc_write+0x3a0/0x3a0 [ 47.321576][ T2216] ? lock_acquire+0x13c/0x160 [ 47.321580][ T2216] console_emit_next_record+0x252/0x4f0 [ 47.321584][ T2216] ? devkmsg_read+0x4e0/0x4e0 [ 47.321588][ T2216] ? rcu_is_watching+0x16/0xd0 [ 47.321592][ T2216] ? lock_acquire+0x13c/0x160 [ 47.321596][ T2216] console_flush_one_record+0x46f/0x710 [ 47.321600][ T2216] ? console_emit_next_record+0x4f0/0x4f0 [ 47.321602][ T2216] ? __lock_acquire+0x518/0xc20 [ 47.321607][ T2216] console_unlock+0xee/0x1f0 [ 47.321610][ T2216] ? console_flush_one_record+0x710/0x710 [ 47.321611][ T2216] ? rcu_is_watching+0x16/0xd0 [ 47.321614][ T2216] ? lock_acquire+0x60/0x160 [ 47.321617][ T2216] ? __down_trylock_console_sem+0x5e/0xa0 [ 47.321619][ T2216] ? vprintk_emit+0x320/0x3e0 [ 47.321622][ T2216] vprintk_emit+0x37c/0x3e0 [ 47.321626][ T2216] ? wake_up_klogd_work_func+0x90/0x90 [ 47.321628][ T2216] ? call_fib6_entry_notifiers_replace+0x1a0/0x1a0 [ 47.321630][ T2216] ? find_held_lock+0x2b/0x80 [ 47.321636][ T2216] _printk+0xc7/0x100 [ 47.321640][ T2216] ? snapshot_read.cold+0x21/0x21 [ 47.321643][ T2216] ? fib_net_dump+0x16f/0x2e0 [ 47.321647][ T2216] ? register_fib_notifier+0x46/0xb0 [ 47.321651][ T2216] nsim_fib_create.cold+0xc/0x22 [netdevsim] [ 47.321662][ T2216] ? nsim_fib_get_val+0xe0/0xe0 [netdevsim] [ 47.321668][ T2216] ? queue_delayed_work_on+0x95/0x100 [ 47.321673][ T2216] ? nsim_dev_traps_init+0x42f/0x5a0 [netdevsim] [ 47.321678][ T2216] nsim_dev_reload_create+0x1cf/0x4c0 [netdevsim] [ 47.321683][ T2216] ? devlink_reload_reinit_sanity_check+0xf8/0x240 [ 47.321686][ T2216] devlink_reload+0x264/0x430 [ 47.321688][ T2216] ? xa_get_mark+0x140/0x550 [ 47.321692][ T2216] ? devlink_notify_unregister+0x60/0x60 [ 47.321696][ T2216] ? devlink_resources_validate+0xb0/0x130 [ 47.321702][ T2216] devlink_nl_reload_doit+0xbd9/0x1160 [ 47.321704][ T2216] ? devlink_get_from_attrs_lock+0x1f0/0x470 [ 47.321706][ T2216] ? devlink_get_from_attrs_lock+0x230/0x470 [ 47.321708][ T2216] ? devlink_reload+0x430/0x430 [ 47.321709][ T2216] ? devlink_nl_msg_reply_and_new+0x180/0x180 [ 47.321712][ T2216] ? __nla_parse+0x22/0x30 [ 47.321722][ T2216] ? genl_family_rcv_msg_attrs_parse.isra.0+0x189/0x330 [ 47.321727][ T2216] genl_family_rcv_msg_doit+0x206/0x300 [ 47.321731][ T2216] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 47.321733][ T2216] ? __lock_release.isra.0+0x69/0x1a0 [ 47.321739][ T2216] ? rcu_is_watching+0x16/0xd0 [ 47.321741][ T2216] ? cap_capable+0x1d7/0x3d0 [ 47.321745][ T2216] ? write_profile+0xf0/0xf0 [ 47.321748][ T2216] ? unwind_get_return_address+0x67/0xd0 [ 47.321753][ T2216] genl_family_rcv_msg+0x3a4/0x640 [ 47.321757][ T2216] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 47.321763][ T2216] ? rcu_read_lock_any_held+0x3c/0x90 [ 47.321765][ T2216] ? devlink_nl_pre_doit_port+0x110/0x110 [ 47.321767][ T2216] ? devlink_reload+0x430/0x430 [ 47.321768][ T2216] ? devlink_nl_post_doit+0x80/0x80 [ 47.321770][ T2216] ? __lock_acquire+0x518/0xc20 [ 47.321775][ T2216] genl_rcv_msg+0xbb/0x160 [ 47.321779][ T2216] netlink_rcv_skb+0x14e/0x3a0 [ 47.321781][ T2216] ? genl_family_rcv_msg+0x640/0x640 [ 47.321785][ T2216] ? netlink_ack+0xcd0/0xcd0 [ 47.321793][ T2216] ? netlink_deliver_tap+0xc5/0x330 [ 47.321795][ T2216] ? netlink_deliver_tap+0x13c/0x330 [ 47.321799][ T2216] genl_rcv+0x28/0x40 [ 47.321801][ T2216] netlink_unicast+0x486/0x750 [ 47.321806][ T2216] ? netlink_attachskb+0x810/0x810 [ 47.321809][ T2216] ? __lock_acquire+0x518/0xc20 [ 47.321813][ T2216] netlink_sendmsg+0x735/0xc60 [ 47.321818][ T2216] ? netlink_unicast+0x750/0x750 [ 47.321822][ T2216] ? __might_fault+0x97/0x140 [ 47.321825][ T2216] ? __might_fault+0x97/0x140 [ 47.321829][ T2216] __sys_sendto+0x2aa/0x400 [ 47.321832][ T2216] ? __ia32_sys_getpeername+0xd0/0xd0 [ 47.321847][ T2216] __x64_sys_sendto+0xe4/0x1f0 [ 47.321849][ T2216] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 47.321853][ T2216] ? lockdep_hardirqs_on+0x91/0x130 [ 47.321855][ T2216] ? do_syscall_64+0xa6/0x530 [ 47.321857][ T2216] do_syscall_64+0xff/0x530 [ 47.321858][ T2216] ? exc_page_fault+0xee/0x100 [ 47.321861][ T2216] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 47.321863][ T2216] RIP: 0033:0x7f7e9c2aa54e [ 47.321866][ T2216] 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 [ 47.321868][ T2216] RSP: 002b:00007ffd257e00e0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 47.321871][ T2216] RAX: ffffffffffffffda RBX: 000000003321a980 RCX: 00007f7e9c2aa54e [ 47.321872][ T2216] RDX: 0000000000000038 RSI: 000000003321aba0 RDI: 0000000000000005 [ 47.321873][ T2216] RBP: 00007ffd257e00f0 R08: 00007f7e9c55d980 R09: 000000000000000c [ 47.321874][ T2216] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000040d0b0 [ 47.321875][ T2216] R13: 000000003321a980 R14: 0000000000000000 R15: 0000000000000003 [ 47.321882][ T2216]