[ 9.078136][ T91] netdevsim netdevsim507 eni507np1: renamed from eth0 [ 9.078201][ T91] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.078203][ T91] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 91, name: (udev-worker) [ 9.078205][ T91] preempt_count: 1, expected: 0 [ 9.078206][ T91] RCU nest depth: 0, expected: 0 [ 9.078207][ T91] locks held by (udev-worker)/91: 6, last CPU#2: [ 9.078209][ T91] #0: ffffffffbb2fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 9.078221][ T91] #1: ff1100000c87add8 (&dev_instance_lock_key#3){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 9.078226][ T91] #2: ffffffffbab99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.078232][ T91] #3: ffffffffbab99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.078235][ T91] #4: ffffffffbaa89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.078238][ T91] #5: ffffffffbaa89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.078242][ T91] irq event stamp: 516826 [ 9.078243][ T91] hardirqs last enabled at (516825): [] __down_trylock_console_sem+0x86/0xa0 [ 9.078245][ T91] hardirqs last disabled at (516826): [] console_emit_next_record+0x3f8/0x4f0 [ 9.078247][ T91] softirqs last enabled at (516820): [] netif_change_name+0x216/0x8c0 [ 9.078249][ T91] softirqs last disabled at (516818): [] netif_change_name+0x1ad/0x8c0 [ 9.078252][ T91] Preemption disabled at: [ 9.078252][ T91] [] vprintk_emit+0x31b/0x3e0 [ 9.078258][ T91] CPU: 2 UID: 0 PID: 91 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.078262][ T91] Tainted: [W]=WARN [ 9.078262][ T91] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.078264][ T91] Call Trace: [ 9.078266][ T91] [ 9.078268][ T91] dump_stack_lvl+0x6f/0xa0 [ 9.078273][ T91] ? vprintk_emit+0x31b/0x3e0 [ 9.078275][ T91] __might_resched.cold+0x1fe/0x2c1 [ 9.078279][ T91] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.078283][ T91] ? __kmalloc_noprof+0xdb/0x760 [ 9.078287][ T91] __kmalloc_noprof+0x443/0x760 [ 9.078289][ T91] ? alloc_buf.isra.0+0x4b/0x260 [ 9.078295][ T91] ? do_raw_spin_unlock+0x59/0x250 [ 9.078297][ T91] alloc_buf.isra.0+0x4b/0x260 [ 9.078300][ T91] put_chars+0x1e1/0x2f0 [ 9.078303][ T91] ? __send_to_port+0x420/0x420 [ 9.078306][ T91] ? validate_chain+0x34a/0xc20 [ 9.078311][ T91] hvc_console_print+0x292/0x780 [ 9.078314][ T91] ? __lock_acquire+0x518/0xc20 [ 9.078319][ T91] ? hvc_write+0x3a0/0x3a0 [ 9.078321][ T91] ? rcu_is_watching+0x16/0xd0 [ 9.078327][ T91] console_emit_next_record+0x252/0x4f0 [ 9.078331][ T91] ? devkmsg_read+0x4e0/0x4e0 [ 9.078335][ T91] ? rcu_is_watching+0x16/0xd0 [ 9.078337][ T91] ? lock_acquire+0x13c/0x160 [ 9.078341][ T91] console_flush_one_record+0x46f/0x710 [ 9.078344][ T91] ? console_emit_next_record+0x4f0/0x4f0 [ 9.078346][ T91] ? __lock_acquire+0x518/0xc20 [ 9.078351][ T91] console_unlock+0xee/0x1f0 [ 9.078353][ T91] ? console_flush_one_record+0x710/0x710 [ 9.078355][ T91] ? rcu_is_watching+0x16/0xd0 [ 9.078357][ T91] ? lock_acquire+0x60/0x160 [ 9.078360][ T91] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.078362][ T91] ? vprintk_emit+0x320/0x3e0 [ 9.078365][ T91] vprintk_emit+0x37c/0x3e0 [ 9.078368][ T91] ? wake_up_klogd_work_func+0x90/0x90 [ 9.078370][ T91] ? write_profile+0xf0/0xf0 [ 9.078373][ T91] ? unwind_get_return_address+0x67/0xd0 [ 9.078386][ T91] dev_vprintk_emit+0x27f/0x2c0 [ 9.078391][ T91] ? device_rename.cold+0xa/0xa [ 9.078395][ T91] ? filter_irq_stacks+0xd0/0xd0 [ 9.078401][ T91] dev_printk_emit+0xb9/0xee [ 9.078403][ T91] ? dev_vprintk_emit+0x2c0/0x2c0 [ 9.078407][ T91] ? check_prev_add+0x316/0xe90 [ 9.078412][ T91] __netdev_printk+0x160/0x1d0 [ 9.078417][ T91] netdev_info+0xe2/0x116 [ 9.078419][ T91] ? netdev_notice+0x120/0x120 [ 9.078422][ T91] ? find_held_lock+0x2b/0x80 [ 9.078426][ T91] ? __lock_release.isra.0+0x69/0x1a0 [ 9.078428][ T91] ? mark_held_locks+0x40/0x70 [ 9.078431][ T91] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.078434][ T91] netif_change_name.cold+0x4f/0x89 [ 9.078437][ T91] ? __lock_acquire+0x518/0xc20 [ 9.078438][ T91] ? rwsem_optimistic_spin+0x3c7/0x480 [ 9.078440][ T91] ? find_held_lock+0x2/0x80 [ 9.078444][ T91] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.078446][ T91] ? find_held_lock+0x2b/0x80 [ 9.078449][ T91] ? __asan_memset+0x27/0x50 [ 9.078455][ T91] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.078457][ T91] ? __lock_acquire+0x518/0xc20 [ 9.078460][ T91] ? rtnl_link_get_size+0x350/0x350 [ 9.078462][ T91] ? mark_usage+0x61/0x170 [ 9.078463][ T91] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.078465][ T91] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.078468][ T91] ? validate_chain+0x38b/0xc20 [ 9.078472][ T91] ? __lock_acquire+0x518/0xc20 [ 9.078476][ T91] ? lock_acquire.part.0+0xd4/0x280 [ 9.078478][ T91] ? rtnl_setlink+0x29d/0x920 [ 9.078481][ T91] ? rcu_is_watching+0x16/0xd0 [ 9.078483][ T91] ? lock_acquire+0x13c/0x160 [ 9.078484][ T91] ? rcu_is_watching+0x16/0xd0 [ 9.078485][ T91] ? rcu_is_watching+0x16/0xd0 [ 9.078487][ T91] ? trace_contention_end+0xb3/0x180 [ 9.078490][ T91] ? __mutex_lock+0x1db/0x1ea0 [ 9.078493][ T91] ? __mutex_lock+0x9a3/0x1ea0 [ 9.078494][ T91] ? __lock_acquire+0x518/0xc20 [ 9.078496][ T91] ? rtnl_setlink+0x29d/0x920 [ 9.078498][ T91] ? mark_usage+0x61/0x170 [ 9.078501][ T91] ? ww_mutex_lock+0x160/0x160 [ 9.078502][ T91] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.078508][ T91] ? mark_usage+0x61/0x170 [ 9.078511][ T91] ? cap_capable+0x1d7/0x3d0 [ 9.078519][ T91] rtnl_setlink+0x527/0x920 [ 9.078523][ T91] ? __rtnl_newlink+0xa50/0xa50 [ 9.078524][ T91] ? __lock_acquire+0x518/0xc20 [ 9.078547][ T91] ? lock_acquire.part.0+0xd4/0x280 [ 9.078548][ T91] ? find_held_lock+0x2b/0x80 [ 9.078552][ T91] ? __lock_release.isra.0+0x69/0x1a0 [ 9.078553][ T91] ? mark_usage+0x61/0x170 [ 9.078555][ T91] ? __lock_acquire+0x518/0xc20 [ 9.078559][ T91] ? lock_acquire.part.0+0xd4/0x280 [ 9.078561][ T91] ? find_held_lock+0x2b/0x80 [ 9.078563][ T91] ? __rtnl_newlink+0xa50/0xa50 [ 9.078565][ T91] ? __lock_release.isra.0+0x69/0x1a0 [ 9.078568][ T91] ? __rtnl_newlink+0xa50/0xa50 [ 9.078571][ T91] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.078574][ T91] ? rtnl_link_fill+0x900/0x900 [ 9.078576][ T91] ? __lock_acquire+0x518/0xc20 [ 9.078580][ T91] ? lock_acquire.part.0+0xd4/0x280 [ 9.078581][ T91] ? find_held_lock+0x2b/0x80 [ 9.078585][ T91] netlink_rcv_skb+0x14e/0x3a0 [ 9.078588][ T91] ? rtnl_link_fill+0x900/0x900 [ 9.078592][ T91] ? netlink_ack+0xcd0/0xcd0 [ 9.078598][ T91] ? netlink_deliver_tap+0xc5/0x330 [ 9.078600][ T91] ? netlink_deliver_tap+0x13c/0x330 [ 9.078605][ T91] netlink_unicast+0x486/0x750 [ 9.078609][ T91] ? netlink_attachskb+0x810/0x810 [ 9.078611][ T91] ? __lock_acquire+0x518/0xc20 [ 9.078613][ T91] ? do_raw_spin_trylock+0x161/0x180 [ 9.078617][ T91] netlink_sendmsg+0x735/0xc60 [ 9.078621][ T91] ? netlink_unicast+0x750/0x750 [ 9.078625][ T91] ? __might_fault+0x97/0x140 [ 9.078628][ T91] ? __might_fault+0x97/0x140 [ 9.078632][ T91] __sys_sendto+0x2aa/0x400 [ 9.078635][ T91] ? __ia32_sys_getpeername+0xd0/0xd0 [ 9.078645][ T91] ? exc_page_fault+0x87/0x100 [ 9.078651][ T91] __x64_sys_sendto+0xe4/0x1f0 [ 9.078653][ T91] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.078657][ T91] ? lockdep_hardirqs_on+0x91/0x130 [ 9.078658][ T91] ? do_syscall_64+0xa6/0x530 [ 9.078660][ T91] do_syscall_64+0xff/0x530 [ 9.078661][ T91] ? exc_page_fault+0xee/0x100 [ 9.078664][ T91] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.078666][ T91] RIP: 0033:0x7fe11596f54e [ 9.078670][ T91] 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.078672][ T91] RSP: 002b:00007ffcc9b7f8f0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 9.078675][ T91] RAX: ffffffffffffffda RBX: 000055965c41df40 RCX: 00007fe11596f54e [ 9.078676][ T91] RDX: 0000000000000030 RSI: 000055965c5c8350 RDI: 0000000000000024 [ 9.078677][ T91] RBP: 00007ffcc9b7f900 R08: 00007ffcc9b7f950 R09: 0000000000000080 [ 9.078678][ T91] R10: 0000000000000000 R11: 0000000000000202 R12: 000055965c5cddd0 [ 9.078679][ T91] R13: 00007ffcc9b7fa34 R14: 0000000000000000 R15: 0000000000000000 [ 9.078685][ T91]