[ 9.845894][ T191] netdevsim netdevsim1337 eni1337np1: renamed from eth0 [ 9.845955][ T191] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.845957][ T191] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 191, name: (udev-worker) [ 9.845959][ T191] preempt_count: 1, expected: 0 [ 9.845959][ T191] RCU nest depth: 0, expected: 0 [ 9.845960][ T191] locks held by (udev-worker)/191: 6, last CPU#3: [ 9.845963][ T191] #0: ffffffffb76fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 9.845974][ T191] #1: ff11000013c02dd8 (&dev_instance_lock_key#3){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 9.845979][ T191] #2: ffffffffb6f99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.845984][ T191] #3: ffffffffb6f99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.845988][ T191] #4: ffffffffb6e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.845991][ T191] #5: ffffffffb6e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.845994][ T191] irq event stamp: 20918 [ 9.845995][ T191] hardirqs last enabled at (20917): [] __down_trylock_console_sem+0x86/0xa0 [ 9.845997][ T191] hardirqs last disabled at (20918): [] console_emit_next_record+0x3f8/0x4f0 [ 9.845999][ T191] softirqs last enabled at (20912): [] netif_change_name+0x216/0x8c0 [ 9.846001][ T191] softirqs last disabled at (20910): [] netif_change_name+0x1ad/0x8c0 [ 9.846004][ T191] Preemption disabled at: [ 9.846004][ T191] [] vprintk_emit+0x31b/0x3e0 [ 9.846010][ T191] CPU: 3 UID: 0 PID: 191 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.846013][ T191] Tainted: [W]=WARN [ 9.846014][ T191] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.846015][ T191] Call Trace: [ 9.846017][ T191] [ 9.846019][ T191] dump_stack_lvl+0x6f/0xa0 [ 9.846024][ T191] ? vprintk_emit+0x31b/0x3e0 [ 9.846026][ T191] __might_resched.cold+0x1fe/0x2c1 [ 9.846030][ T191] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.846034][ T191] ? __kmalloc_noprof+0xdb/0x760 [ 9.846039][ T191] __kmalloc_noprof+0x443/0x760 [ 9.846041][ T191] ? alloc_buf.isra.0+0x4b/0x260 [ 9.846046][ T191] ? do_raw_spin_unlock+0x59/0x250 [ 9.846049][ T191] alloc_buf.isra.0+0x4b/0x260 [ 9.846052][ T191] put_chars+0x1e1/0x2f0 [ 9.846055][ T191] ? __send_to_port+0x420/0x420 [ 9.846058][ T191] ? validate_chain+0x34a/0xc20 [ 9.846063][ T191] hvc_console_print+0x292/0x780 [ 9.846065][ T191] ? __lock_acquire+0x518/0xc20 [ 9.846070][ T191] ? hvc_write+0x3a0/0x3a0 [ 9.846072][ T191] ? rcu_is_watching+0x16/0xd0 [ 9.846078][ T191] console_emit_next_record+0x252/0x4f0 [ 9.846082][ T191] ? devkmsg_read+0x4e0/0x4e0 [ 9.846086][ T191] ? rcu_is_watching+0x16/0xd0 [ 9.846088][ T191] ? lock_acquire+0x13c/0x160 [ 9.846091][ T191] console_flush_one_record+0x46f/0x710 [ 9.846095][ T191] ? console_emit_next_record+0x4f0/0x4f0 [ 9.846097][ T191] ? __lock_acquire+0x518/0xc20 [ 9.846102][ T191] console_unlock+0xee/0x1f0 [ 9.846104][ T191] ? console_flush_one_record+0x710/0x710 [ 9.846106][ T191] ? rcu_is_watching+0x16/0xd0 [ 9.846108][ T191] ? lock_acquire+0x60/0x160 [ 9.846111][ T191] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.846113][ T191] ? vprintk_emit+0x320/0x3e0 [ 9.846116][ T191] vprintk_emit+0x37c/0x3e0 [ 9.846119][ T191] ? wake_up_klogd_work_func+0x90/0x90 [ 9.846121][ T191] ? write_profile+0xf0/0xf0 [ 9.846124][ T191] ? unwind_get_return_address+0x67/0xd0 [ 9.846131][ T191] dev_vprintk_emit+0x27f/0x2c0 [ 9.846136][ T191] ? device_rename.cold+0xa/0xa [ 9.846140][ T191] ? filter_irq_stacks+0xd0/0xd0 [ 9.846146][ T191] dev_printk_emit+0xb9/0xee [ 9.846148][ T191] ? dev_vprintk_emit+0x2c0/0x2c0 [ 9.846152][ T191] ? check_prev_add+0x316/0xe90 [ 9.846157][ T191] __netdev_printk+0x160/0x1d0 [ 9.846162][ T191] netdev_info+0xe2/0x116 [ 9.846164][ T191] ? netdev_notice+0x120/0x120 [ 9.846167][ T191] ? find_held_lock+0x2b/0x80 [ 9.846171][ T191] ? __lock_release.isra.0+0x69/0x1a0 [ 9.846173][ T191] ? mark_held_locks+0x40/0x70 [ 9.846176][ T191] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.846178][ T191] netif_change_name.cold+0x4f/0x89 [ 9.846181][ T191] ? __lock_acquire+0x518/0xc20 [ 9.846183][ T191] ? rwsem_optimistic_spin+0x3c7/0x480 [ 9.846185][ T191] ? find_held_lock+0x2/0x80 [ 9.846188][ T191] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.846191][ T191] ? find_held_lock+0x2b/0x80 [ 9.846194][ T191] ? __asan_memset+0x27/0x50 [ 9.846199][ T191] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.846202][ T191] ? __lock_acquire+0x518/0xc20 [ 9.846205][ T191] ? rtnl_link_get_size+0x350/0x350 [ 9.846206][ T191] ? mark_usage+0x61/0x170 [ 9.846207][ T191] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.846210][ T191] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.846212][ T191] ? validate_chain+0x38b/0xc20 [ 9.846216][ T191] ? __lock_acquire+0x518/0xc20 [ 9.846221][ T191] ? lock_acquire.part.0+0xd4/0x280 [ 9.846222][ T191] ? rtnl_setlink+0x29d/0x920 [ 9.846225][ T191] ? rcu_is_watching+0x16/0xd0 [ 9.846227][ T191] ? lock_acquire+0x13c/0x160 [ 9.846228][ T191] ? rcu_is_watching+0x16/0xd0 [ 9.846230][ T191] ? rcu_is_watching+0x16/0xd0 [ 9.846232][ T191] ? trace_contention_end+0xb3/0x180 [ 9.846235][ T191] ? __mutex_lock+0x1db/0x1ea0 [ 9.846238][ T191] ? __mutex_lock+0x9a3/0x1ea0 [ 9.846239][ T191] ? __lock_acquire+0x518/0xc20 [ 9.846241][ T191] ? rtnl_setlink+0x29d/0x920 [ 9.846243][ T191] ? mark_usage+0x61/0x170 [ 9.846245][ T191] ? ww_mutex_lock+0x160/0x160 [ 9.846247][ T191] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.846253][ T191] ? mark_usage+0x61/0x170 [ 9.846256][ T191] ? cap_capable+0x1d7/0x3d0 [ 9.846264][ T191] rtnl_setlink+0x527/0x920 [ 9.846267][ T191] ? __rtnl_newlink+0xa50/0xa50 [ 9.846269][ T191] ? __lock_acquire+0x518/0xc20 [ 9.846291][ T191] ? lock_acquire.part.0+0xd4/0x280 [ 9.846292][ T191] ? find_held_lock+0x2b/0x80 [ 9.846296][ T191] ? __lock_release.isra.0+0x69/0x1a0 [ 9.846297][ T191] ? mark_usage+0x61/0x170 [ 9.846299][ T191] ? __lock_acquire+0x518/0xc20 [ 9.846303][ T191] ? lock_acquire.part.0+0xd4/0x280 [ 9.846305][ T191] ? find_held_lock+0x2b/0x80 [ 9.846307][ T191] ? __rtnl_newlink+0xa50/0xa50 [ 9.846309][ T191] ? __lock_release.isra.0+0x69/0x1a0 [ 9.846312][ T191] ? __rtnl_newlink+0xa50/0xa50 [ 9.846315][ T191] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.846318][ T191] ? rtnl_link_fill+0x900/0x900 [ 9.846320][ T191] ? __lock_acquire+0x518/0xc20 [ 9.846324][ T191] ? lock_acquire.part.0+0xd4/0x280 [ 9.846326][ T191] ? find_held_lock+0x2b/0x80 [ 9.846329][ T191] netlink_rcv_skb+0x14e/0x3a0 [ 9.846333][ T191] ? rtnl_link_fill+0x900/0x900 [ 9.846336][ T191] ? netlink_ack+0xcd0/0xcd0 [ 9.846344][ T191] ? netlink_deliver_tap+0xc5/0x330 [ 9.846346][ T191] ? netlink_deliver_tap+0x13c/0x330 [ 9.846351][ T191] netlink_unicast+0x486/0x750 [ 9.846355][ T191] ? netlink_attachskb+0x810/0x810 [ 9.846358][ T191] ? __lock_acquire+0x518/0xc20 [ 9.846362][ T191] netlink_sendmsg+0x735/0xc60 [ 9.846366][ T191] ? netlink_unicast+0x750/0x750 [ 9.846370][ T191] ? __might_fault+0x97/0x140 [ 9.846373][ T191] ? __might_fault+0x97/0x140 [ 9.846376][ T191] __sys_sendto+0x2aa/0x400 [ 9.846380][ T191] ? __ia32_sys_getpeername+0xd0/0xd0 [ 9.846393][ T191] __x64_sys_sendto+0xe4/0x1f0 [ 9.846395][ T191] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.846399][ T191] ? lockdep_hardirqs_on+0x91/0x130 [ 9.846402][ T191] ? do_syscall_64+0xa6/0x530 [ 9.846403][ T191] do_syscall_64+0xff/0x530 [ 9.846405][ T191] ? exc_page_fault+0xee/0x100 [ 9.846407][ T191] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.846409][ T191] RIP: 0033:0x7fb19365454e [ 9.846413][ T191] 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 [ 9.846415][ T191] RSP: 002b:00007ffe098167c0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 9.846418][ T191] RAX: ffffffffffffffda RBX: 000055a9a30cee90 RCX: 00007fb19365454e [ 9.846419][ T191] RDX: 0000000000000030 RSI: 000055a9a30d4b80 RDI: 0000000000000016 [ 9.846420][ T191] RBP: 00007ffe098167d0 R08: 00007ffe09816820 R09: 0000000000000080 [ 9.846420][ T191] R10: 0000000000000000 R11: 0000000000000202 R12: 000055a9a2f728a0 [ 9.846421][ T191] R13: 00007ffe09816904 R14: 0000000000000000 R15: 0000000000000000 [ 9.846428][ T191] [ 17.205601][ T191] (udev-worker) (191) used greatest stack depth: 22696 bytes left [ 17.205624][ T191] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.205626][ T191] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 191, name: (udev-worker) [ 17.205628][ T191] preempt_count: 2, expected: 0 [ 17.205629][ T191] RCU nest depth: 0, expected: 0 [ 17.205630][ T191] locks held by (udev-worker)/191: 5, last CPU#2: [ 17.205632][ T191] #0: ffffffffb6e027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 17.205645][ T191] #1: ffffffffb6f99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.205650][ T191] #2: ffffffffb6f99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.205654][ T191] #3: ffffffffb6e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.205657][ T191] #4: ffffffffb6e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 17.205661][ T191] irq event stamp: 191278 [ 17.205662][ T191] hardirqs last enabled at (191277): [] __down_trylock_console_sem+0x86/0xa0 [ 17.205664][ T191] hardirqs last disabled at (191278): [] console_emit_next_record+0x3f8/0x4f0 [ 17.205666][ T191] softirqs last enabled at (191214): [] netlink_release+0x17b/0xcf0 [ 17.205670][ T191] softirqs last disabled at (191212): [] netlink_release+0xd2/0xcf0 [ 17.205673][ T191] Preemption disabled at: [ 17.205674][ T191] [<0000000000000000>] 0x0 [ 17.205681][ T191] CPU: 2 UID: 0 PID: 191 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.205685][ T191] Tainted: [W]=WARN [ 17.205686][ T191] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.205688][ T191] Call Trace: [ 17.205689][ T191] [ 17.205691][ T191] dump_stack_lvl+0x6f/0xa0 [ 17.205697][ T191] __might_resched.cold+0x1fe/0x2c1 [ 17.205701][ T191] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.205705][ T191] ? __kmalloc_noprof+0xdb/0x760 [ 17.205710][ T191] __kmalloc_noprof+0x443/0x760 [ 17.205712][ T191] ? alloc_buf.isra.0+0x4b/0x260 [ 17.205718][ T191] ? do_raw_spin_unlock+0x59/0x250 [ 17.205720][ T191] alloc_buf.isra.0+0x4b/0x260 [ 17.205723][ T191] put_chars+0x1e1/0x2f0 [ 17.205726][ T191] ? __send_to_port+0x420/0x420 [ 17.205727][ T191] ? printk_get_next_message+0x2fe/0x7d0 [ 17.205730][ T191] ? rcu_read_lock_any_held+0x3c/0x90 [ 17.205733][ T191] ? validate_chain+0x38b/0xc20 [ 17.205737][ T191] hvc_console_print+0x292/0x780 [ 17.205740][ T191] ? __lock_acquire+0x518/0xc20 [ 17.205741][ T191] ? __lock_acquire+0x518/0xc20 [ 17.205746][ T191] ? hvc_write+0x3a0/0x3a0 [ 17.205748][ T191] ? rcu_is_watching+0x16/0xd0 [ 17.205751][ T191] ? lock_acquire+0x13c/0x160 [ 17.205755][ T191] console_emit_next_record+0x252/0x4f0 [ 17.205759][ T191] ? devkmsg_read+0x4e0/0x4e0 [ 17.205763][ T191] ? rcu_is_watching+0x16/0xd0 [ 17.205764][ T191] ? lock_acquire+0x13c/0x160 [ 17.205768][ T191] console_flush_one_record+0x46f/0x710 [ 17.205772][ T191] ? console_emit_next_record+0x4f0/0x4f0 [ 17.205773][ T191] ? __lock_acquire+0x518/0xc20 [ 17.205778][ T191] console_unlock+0xee/0x1f0 [ 17.205780][ T191] ? console_flush_one_record+0x710/0x710 [ 17.205782][ T191] ? rcu_is_watching+0x16/0xd0 [ 17.205784][ T191] ? lock_acquire+0x60/0x160 [ 17.205787][ T191] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.205789][ T191] ? vprintk_emit+0x320/0x3e0 [ 17.205792][ T191] vprintk_emit+0x37c/0x3e0 [ 17.205795][ T191] ? wake_up_klogd_work_func+0x90/0x90 [ 17.205798][ T191] ? __lock_acquire+0x518/0xc20 [ 17.205801][ T191] _printk+0xc7/0x100 [ 17.205805][ T191] ? snapshot_read.cold+0x21/0x21 [ 17.205808][ T191] ? do_raw_spin_lock+0x131/0x280 [ 17.205810][ T191] ? __rwlock_init+0x150/0x150 [ 17.205813][ T191] ? do_raw_spin_lock+0x131/0x280 [ 17.205816][ T191] do_exit.cold+0x82/0x9c [ 17.205820][ T191] ? exit_notify+0x890/0x890 [ 17.205821][ T191] ? __lock_release.isra.0+0x69/0x1a0 [ 17.205824][ T191] ? rcu_is_watching+0x16/0xd0 [ 17.205827][ T191] do_group_exit+0xb8/0x370 [ 17.205831][ T191] __x64_sys_exit_group+0x3c/0x50 [ 17.205833][ T191] x64_sys_call+0x1567/0x1570 [ 17.205835][ T191] do_syscall_64+0xff/0x530 [ 17.205838][ T191] ? preempt_count_add+0x84/0x180 [ 17.205841][ T191] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.205843][ T191] RIP: 0033:0x7fb1936a51b8 [ 17.205846][ T191] Code: Unable to access opcode bytes at 0x7fb1936a518e. [ 17.205847][ T191] RSP: 002b:00007ffe09816d18 EFLAGS: 00000256 ORIG_RAX: 00000000000000e7 [ 17.205849][ T191] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fb1936a51b8 [ 17.205851][ T191] RDX: 0000000000000000 RSI: fffffffffffffe90 RDI: 0000000000000000 [ 17.205852][ T191] RBP: 00007ffe09816ea0 R08: 000055a9a2f70b38 R09: 0000000000000000 [ 17.205852][ T191] R10: 0000000000000000 R11: 0000000000000256 R12: 0000000000000000 [ 17.205853][ T191] R13: 00007fb192f03050 R14: 00007fb193bd6d9e R15: 000055a9a30e2970 [ 17.205860][ T191] [ 278.048103][ T1084] netdevsim: Exceeded number of supported nexthops [ 278.048277][ T1084] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 278.048279][ T1084] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1084, name: ip [ 278.048281][ T1084] preempt_count: 1, expected: 0 [ 278.048282][ T1084] RCU nest depth: 0, expected: 0 [ 278.048283][ T1084] locks held by ip/1084: 5, last CPU#3: [ 278.048285][ T1084] #0: ffffffffb76fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtm_del_nexthop+0x1ca/0x370 [ 278.048297][ T1084] #1: ffffffffb6f99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 278.048304][ T1084] #2: ffffffffb6f99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 278.048307][ T1084] #3: ffffffffb6e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 278.048311][ T1084] #4: ffffffffb6e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 278.048315][ T1084] irq event stamp: 15580 [ 278.048316][ T1084] hardirqs last enabled at (15579): [] __down_trylock_console_sem+0x86/0xa0 [ 278.048318][ T1084] hardirqs last disabled at (15580): [] console_emit_next_record+0x3f8/0x4f0 [ 278.048320][ T1084] softirqs last enabled at (15530): [] __remove_nexthop+0x236/0x800 [ 278.048321][ T1084] softirqs last disabled at (15528): [] __remove_nexthop+0xff/0x800 [ 278.048324][ T1084] Preemption disabled at: [ 278.048324][ T1084] [] vprintk_emit+0x31b/0x3e0 [ 278.048330][ T1084] CPU: 3 UID: 0 PID: 1084 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 278.048333][ T1084] Tainted: [W]=WARN [ 278.048334][ T1084] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 278.048336][ T1084] Call Trace: [ 278.048338][ T1084] [ 278.048339][ T1084] dump_stack_lvl+0x6f/0xa0 [ 278.048345][ T1084] ? vprintk_emit+0x31b/0x3e0 [ 278.048347][ T1084] __might_resched.cold+0x1fe/0x2c1 [ 278.048352][ T1084] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 278.048355][ T1084] ? __kmalloc_noprof+0xdb/0x760 [ 278.048360][ T1084] __kmalloc_noprof+0x443/0x760 [ 278.048362][ T1084] ? alloc_buf.isra.0+0x4b/0x260 [ 278.048367][ T1084] ? do_raw_spin_unlock+0x59/0x250 [ 278.048369][ T1084] alloc_buf.isra.0+0x4b/0x260 [ 278.048372][ T1084] put_chars+0x1e1/0x2f0 [ 278.048375][ T1084] ? __send_to_port+0x420/0x420 [ 278.048380][ T1084] ? validate_chain+0x34a/0xc20 [ 278.048383][ T1084] hvc_console_print+0x292/0x780 [ 278.048386][ T1084] ? mark_usage+0x61/0x170 [ 278.048387][ T1084] ? __lock_acquire+0x518/0xc20 [ 278.048389][ T1084] ? __lock_acquire+0x518/0xc20 [ 278.048392][ T1084] ? hvc_write+0x3a0/0x3a0 [ 278.048394][ T1084] ? console_emit_next_record+0x202/0x4f0 [ 278.048397][ T1084] ? rcu_is_watching+0x16/0xd0 [ 278.048400][ T1084] ? lock_acquire+0x13c/0x160 [ 278.048404][ T1084] console_emit_next_record+0x252/0x4f0 [ 278.048407][ T1084] ? devkmsg_read+0x4e0/0x4e0 [ 278.048411][ T1084] ? rcu_is_watching+0x16/0xd0 [ 278.048413][ T1084] ? lock_acquire+0x13c/0x160 [ 278.048417][ T1084] console_flush_one_record+0x46f/0x710 [ 278.048421][ T1084] ? console_emit_next_record+0x4f0/0x4f0 [ 278.048422][ T1084] ? __lock_acquire+0x518/0xc20 [ 278.048427][ T1084] console_unlock+0xee/0x1f0 [ 278.048430][ T1084] ? console_flush_one_record+0x710/0x710 [ 278.048431][ T1084] ? rcu_is_watching+0x16/0xd0 [ 278.048433][ T1084] ? lock_acquire+0x60/0x160 [ 278.048437][ T1084] ? __down_trylock_console_sem+0x5e/0xa0 [ 278.048438][ T1084] ? vprintk_emit+0x320/0x3e0 [ 278.048441][ T1084] vprintk_emit+0x37c/0x3e0 [ 278.048445][ T1084] ? wake_up_klogd_work_func+0x90/0x90 [ 278.048448][ T1084] ? kfree+0x123/0x590 [ 278.048451][ T1084] _printk+0xc7/0x100 [ 278.048454][ T1084] ? snapshot_read.cold+0x21/0x21 [ 278.048459][ T1084] ? nh_hthr_group_rebalance+0x167/0x270 [ 278.048462][ T1084] ? kasan_quarantine_put+0x13e/0x2b0 [ 278.048466][ T1084] remove_nh_grp_entry.cold+0x1b8/0x1fa [ 278.048474][ T1084] ? __lock_acquire+0x518/0xc20 [ 278.048476][ T1084] ? replace_nexthop_grp_res+0xa00/0xa00 [ 278.048482][ T1084] ? __rwlock_init+0x150/0x150 [ 278.048484][ T1084] ? mark_held_locks+0x40/0x70 [ 278.048488][ T1084] __remove_nexthop+0x46d/0x800 [ 278.048491][ T1084] ? remove_nh_grp_entry+0x15f0/0x15f0 [ 278.048497][ T1084] remove_nexthop+0x50/0x100 [ 278.048499][ T1084] rtm_del_nexthop+0x2ba/0x370 [ 278.048502][ T1084] ? remove_nexthop+0x100/0x100 [ 278.048506][ T1084] ? remove_nexthop+0x100/0x100 [ 278.048509][ T1084] ? rtnetlink_rcv_msg+0x6dc/0xbd0 [ 278.048514][ T1084] ? remove_nexthop+0x100/0x100 [ 278.048515][ T1084] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 278.048519][ T1084] ? rtnl_link_fill+0x900/0x900 [ 278.048520][ T1084] ? __lock_acquire+0x518/0xc20 [ 278.048524][ T1084] ? lock_acquire.part.0+0xd4/0x280 [ 278.048526][ T1084] ? find_held_lock+0x2b/0x80 [ 278.048530][ T1084] netlink_rcv_skb+0x14e/0x3a0 [ 278.048534][ T1084] ? rtnl_link_fill+0x900/0x900 [ 278.048537][ T1084] ? netlink_ack+0xcd0/0xcd0 [ 278.048543][ T1084] ? netlink_deliver_tap+0xc5/0x330 [ 278.048545][ T1084] ? netlink_deliver_tap+0x13c/0x330 [ 278.048550][ T1084] netlink_unicast+0x486/0x750 [ 278.048554][ T1084] ? netlink_attachskb+0x810/0x810 [ 278.048557][ T1084] ? __lock_acquire+0x518/0xc20 [ 278.048561][ T1084] netlink_sendmsg+0x735/0xc60 [ 278.048565][ T1084] ? netlink_unicast+0x750/0x750 [ 278.048569][ T1084] ? __might_fault+0x97/0x140 [ 278.048574][ T1084] ____sys_sendmsg+0x415/0x880 [ 278.048578][ T1084] ? copy_msghdr_from_user+0x279/0x420 [ 278.048581][ T1084] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 278.048583][ T1084] ? move_addr_to_kernel+0x40/0x40 [ 278.048588][ T1084] ? do_fault_around+0x300/0x5a0 [ 278.048589][ T1084] ? find_held_lock+0x2b/0x80 [ 278.048593][ T1084] ___sys_sendmsg+0x14e/0x1d0 [ 278.048595][ T1084] ? do_pte_missing+0x86f/0xcc0 [ 278.048598][ T1084] ? copy_msghdr_from_user+0x420/0x420 [ 278.048601][ T1084] ? rcu_read_unlock+0x20/0x70 [ 278.048615][ T1084] __sys_sendmsg+0x12c/0x1d0 [ 278.048617][ T1084] ? __sys_sendmsg_sock+0x20/0x20 [ 278.048625][ T1084] ? rcu_is_watching+0x16/0xd0 [ 278.048627][ T1084] ? rcu_is_watching+0x16/0xd0 [ 278.048631][ T1084] do_syscall_64+0xff/0x530 [ 278.048634][ T1084] ? exc_page_fault+0xee/0x100 [ 278.048637][ T1084] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 278.048639][ T1084] RIP: 0033:0x7fbddd54354e [ 278.048643][ T1084] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 278.048645][ T1084] RSP: 002b:00007ffccdf94a00 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 278.048648][ T1084] RAX: ffffffffffffffda RBX: 00007ffccdf955b0 RCX: 00007fbddd54354e [ 278.048649][ T1084] RDX: 0000000000000000 RSI: 00007ffccdf94ab0 RDI: 0000000000000005 [ 278.048650][ T1084] RBP: 00007ffccdf94a10 R08: 0000000000000000 R09: 0000000000000000 [ 278.048651][ T1084] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a9109c9 [ 278.048651][ T1084] R13: 00000000004a1620 R14: 0000000000000004 R15: 00007ffccdf95590 [ 278.048658][ T1084] [ 278.833218][ T1130] netdevsim: Failed to replace nexthop bucket [ 278.833795][ T1130] netdevsim: Failed to replace nexthop bucket [ 279.683799][ T1184] Failed to register nexthop notifier [ 279.683932][ T1184] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 279.683934][ T1184] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1184, name: devlink [ 279.683936][ T1184] preempt_count: 1, expected: 0 [ 279.683937][ T1184] RCU nest depth: 0, expected: 0 [ 279.683938][ T1184] locks held by devlink/1184: 7, last CPU#3: [ 279.683940][ T1184] #0: ffffffffb775db48 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 279.683952][ T1184] #1: ff11000011102128 (&dev->mutex){....}-{4:4}, at: devlink_get_from_attrs_lock+0x1e8/0x470 [ 279.683958][ T1184] #2: ff11000006023a58 (&devlink->lock_key){+.+.}-{4:4}, at: devlink_get_from_attrs_lock+0x1f0/0x470 [ 279.683961][ T1184] #3: ffffffffb6f99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 279.683967][ T1184] #4: ffffffffb6f99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 279.683970][ T1184] #5: ffffffffb6e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 279.683973][ T1184] #6: ffffffffb6e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 279.683977][ T1184] irq event stamp: 25432 [ 279.683978][ T1184] hardirqs last enabled at (25431): [] __down_trylock_console_sem+0x86/0xa0 [ 279.683980][ T1184] hardirqs last disabled at (25432): [] console_emit_next_record+0x3f8/0x4f0 [ 279.683982][ T1184] softirqs last enabled at (25362): [] handle_softirqs+0x67c/0x900 [ 279.683986][ T1184] softirqs last disabled at (25199): [] __irq_exit_rcu+0x145/0x1c0 [ 279.683989][ T1184] Preemption disabled at: [ 279.683989][ T1184] [] vprintk_emit+0x31b/0x3e0 [ 279.683995][ T1184] CPU: 3 UID: 0 PID: 1184 Comm: devlink Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 279.683998][ T1184] Tainted: [W]=WARN [ 279.683999][ T1184] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 279.684001][ T1184] Call Trace: [ 279.684002][ T1184] [ 279.684004][ T1184] dump_stack_lvl+0x6f/0xa0 [ 279.684009][ T1184] ? vprintk_emit+0x31b/0x3e0 [ 279.684011][ T1184] __might_resched.cold+0x1fe/0x2c1 [ 279.684016][ T1184] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 279.684020][ T1184] ? __kmalloc_noprof+0xdb/0x760 [ 279.684024][ T1184] __kmalloc_noprof+0x443/0x760 [ 279.684026][ T1184] ? alloc_buf.isra.0+0x4b/0x260 [ 279.684032][ T1184] ? do_raw_spin_unlock+0x59/0x250 [ 279.684034][ T1184] alloc_buf.isra.0+0x4b/0x260 [ 279.684037][ T1184] put_chars+0x1e1/0x2f0 [ 279.684040][ T1184] ? __send_to_port+0x420/0x420 [ 279.684047][ T1184] hvc_console_print+0x292/0x780 [ 279.684053][ T1184] ? hvc_write+0x3a0/0x3a0 [ 279.684055][ T1184] ? lock_acquire+0x13c/0x160 [ 279.684059][ T1184] console_emit_next_record+0x252/0x4f0 [ 279.684063][ T1184] ? devkmsg_read+0x4e0/0x4e0 [ 279.684067][ T1184] ? rcu_is_watching+0x16/0xd0 [ 279.684070][ T1184] ? lock_acquire+0x13c/0x160 [ 279.684074][ T1184] console_flush_one_record+0x46f/0x710 [ 279.684078][ T1184] ? console_emit_next_record+0x4f0/0x4f0 [ 279.684079][ T1184] ? __lock_acquire+0x518/0xc20 [ 279.684084][ T1184] console_unlock+0xee/0x1f0 [ 279.684087][ T1184] ? console_flush_one_record+0x710/0x710 [ 279.684088][ T1184] ? rcu_is_watching+0x16/0xd0 [ 279.684090][ T1184] ? lock_acquire+0x60/0x160 [ 279.684093][ T1184] ? __down_trylock_console_sem+0x5e/0xa0 [ 279.684095][ T1184] ? vprintk_emit+0x320/0x3e0 [ 279.684098][ T1184] vprintk_emit+0x37c/0x3e0 [ 279.684101][ T1184] ? wake_up_klogd_work_func+0x90/0x90 [ 279.684103][ T1184] ? __rtnl_unlock+0x5b/0x100 [ 279.684107][ T1184] ? netdev_run_todo+0x2a8/0xfd0 [ 279.684112][ T1184] _printk+0xc7/0x100 [ 279.684115][ T1184] ? snapshot_read.cold+0x21/0x21 [ 279.684121][ T1184] ? __mutex_unlock_slowpath+0x14d/0x740 [ 279.684125][ T1184] nsim_fib_create.cold+0x1d/0x22 [netdevsim] [ 279.684135][ T1184] ? nsim_fib_get_val+0xe0/0xe0 [netdevsim] [ 279.684140][ T1184] ? queue_delayed_work_on+0x95/0x100 [ 279.684144][ T1184] ? nsim_dev_traps_init+0x42f/0x5a0 [netdevsim] [ 279.684150][ T1184] nsim_dev_reload_create+0x1cf/0x4c0 [netdevsim] [ 279.684154][ T1184] ? devlink_reload_reinit_sanity_check+0xf8/0x240 [ 279.684157][ T1184] devlink_reload+0x264/0x430 [ 279.684159][ T1184] ? xa_get_mark+0x140/0x550 [ 279.684163][ T1184] ? devlink_notify_unregister+0x60/0x60 [ 279.684166][ T1184] ? devlink_resources_validate+0xb0/0x130 [ 279.684171][ T1184] devlink_nl_reload_doit+0xbd9/0x1160 [ 279.684174][ T1184] ? devlink_get_from_attrs_lock+0x1f0/0x470 [ 279.684175][ T1184] ? devlink_get_from_attrs_lock+0x230/0x470 [ 279.684177][ T1184] ? devlink_reload+0x430/0x430 [ 279.684178][ T1184] ? devlink_nl_msg_reply_and_new+0x180/0x180 [ 279.684181][ T1184] ? __nla_parse+0x22/0x30 [ 279.684184][ T1184] ? genl_family_rcv_msg_attrs_parse.isra.0+0x189/0x330 [ 279.684189][ T1184] genl_family_rcv_msg_doit+0x206/0x300 [ 279.684192][ T1184] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 279.684194][ T1184] ? __lock_release.isra.0+0x69/0x1a0 [ 279.684200][ T1184] ? rcu_is_watching+0x16/0xd0 [ 279.684202][ T1184] ? cap_capable+0x1d7/0x3d0 [ 279.684205][ T1184] ? write_profile+0xf0/0xf0 [ 279.684208][ T1184] ? unwind_get_return_address+0x67/0xd0 [ 279.684213][ T1184] genl_family_rcv_msg+0x3a4/0x640 [ 279.684217][ T1184] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 279.684220][ T1184] ? rcu_read_lock_any_held+0x3c/0x90 [ 279.684222][ T1184] ? devlink_nl_pre_doit_port+0x110/0x110 [ 279.684223][ T1184] ? devlink_reload+0x430/0x430 [ 279.684224][ T1184] ? devlink_nl_post_doit+0x80/0x80 [ 279.684226][ T1184] ? __lock_acquire+0x518/0xc20 [ 279.684231][ T1184] genl_rcv_msg+0xbb/0x160 [ 279.684235][ T1184] netlink_rcv_skb+0x14e/0x3a0 [ 279.684237][ T1184] ? genl_family_rcv_msg+0x640/0x640 [ 279.684240][ T1184] ? netlink_ack+0xcd0/0xcd0 [ 279.684247][ T1184] ? netlink_deliver_tap+0xc5/0x330 [ 279.684249][ T1184] ? netlink_deliver_tap+0x13c/0x330 [ 279.684253][ T1184] genl_rcv+0x28/0x40 [ 279.684256][ T1184] netlink_unicast+0x486/0x750 [ 279.684260][ T1184] ? netlink_attachskb+0x810/0x810 [ 279.684262][ T1184] ? __lock_acquire+0x518/0xc20 [ 279.684267][ T1184] netlink_sendmsg+0x735/0xc60 [ 279.684271][ T1184] ? netlink_unicast+0x750/0x750 [ 279.684274][ T1184] ? __might_fault+0x97/0x140 [ 279.684278][ T1184] ? __might_fault+0x97/0x140 [ 279.684281][ T1184] __sys_sendto+0x2aa/0x400 [ 279.684285][ T1184] ? __ia32_sys_getpeername+0xd0/0xd0 [ 279.684298][ T1184] __x64_sys_sendto+0xe4/0x1f0 [ 279.684300][ T1184] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 279.684304][ T1184] ? lockdep_hardirqs_on+0x91/0x130 [ 279.684306][ T1184] ? do_syscall_64+0xa6/0x530 [ 279.684307][ T1184] do_syscall_64+0xff/0x530 [ 279.684308][ T1184] ? exc_page_fault+0xee/0x100 [ 279.684311][ T1184] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 279.684313][ T1184] RIP: 0033:0x7fda5162054e [ 279.684317][ T1184] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 279.684319][ T1184] RSP: 002b:00007ffd74203ad0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 279.684321][ T1184] RAX: ffffffffffffffda RBX: 0000000002577980 RCX: 00007fda5162054e [ 279.684323][ T1184] RDX: 0000000000000038 RSI: 0000000002577ba0 RDI: 0000000000000005 [ 279.684324][ T1184] RBP: 00007ffd74203ae0 R08: 00007fda518d3980 R09: 000000000000000c [ 279.684324][ T1184] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000040d0b0 [ 279.684325][ T1184] R13: 0000000002577980 R14: 0000000000000000 R15: 0000000000000003 [ 279.684332][ T1184]