[ 11.051393][ T180] netdevsim netdevsim14550 eni14550np1: renamed from eth0 [ 11.051480][ T180] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.051483][ T180] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 180, name: (udev-worker) [ 11.051486][ T180] preempt_count: 1, expected: 0 [ 11.051487][ T180] RCU nest depth: 0, expected: 0 [ 11.051489][ T180] locks held by (udev-worker)/180: 6, last CPU#1: [ 11.051491][ T180] #0: ffffffffa4705fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 11.051505][ T180] #1: ff11000002402de8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 11.051512][ T180] #2: ffffffffa3f99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.051519][ T180] #3: ffffffffa3f99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.051526][ T180] #4: ffffffffa3e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.051532][ T180] #5: ffffffffa3e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 11.051538][ T180] irq event stamp: 29442 [ 11.051540][ T180] hardirqs last enabled at (29441): [] __down_trylock_console_sem+0x86/0xa0 [ 11.051544][ T180] hardirqs last disabled at (29442): [] console_emit_next_record+0x3f8/0x4f0 [ 11.051547][ T180] softirqs last enabled at (29436): [] netif_change_name+0x216/0x8c0 [ 11.051551][ T180] softirqs last disabled at (29434): [] netif_change_name+0x1ad/0x8c0 [ 11.051555][ T180] Preemption disabled at: [ 11.051556][ T180] [] vprintk_emit+0x31b/0x3e0 [ 11.051562][ T180] CPU: 1 UID: 0 PID: 180 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.051567][ T180] Tainted: [W]=WARN [ 11.051568][ T180] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.051571][ T180] Call Trace: [ 11.051573][ T180] [ 11.051576][ T180] dump_stack_lvl+0x6f/0xa0 [ 11.051584][ T180] ? vprintk_emit+0x31b/0x3e0 [ 11.051587][ T180] __might_resched.cold+0x1fe/0x2c1 [ 11.051593][ T180] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.051599][ T180] ? __kmalloc_noprof+0xdb/0x760 [ 11.051607][ T180] __kmalloc_noprof+0x443/0x760 [ 11.051611][ T180] ? alloc_buf.isra.0+0x4b/0x260 [ 11.051620][ T180] ? do_raw_spin_unlock+0x59/0x250 [ 11.051624][ T180] alloc_buf.isra.0+0x4b/0x260 [ 11.051630][ T180] put_chars+0x1e1/0x2f0 [ 11.051635][ T180] ? __send_to_port+0x420/0x420 [ 11.051641][ T180] ? validate_chain+0x34a/0xc20 [ 11.051649][ T180] hvc_console_print+0x292/0x780 [ 11.051660][ T180] ? __lock_acquire+0x518/0xc20 [ 11.051669][ T180] ? hvc_write+0x3a0/0x3a0 [ 11.051674][ T180] ? rcu_is_watching+0x16/0xd0 [ 11.051684][ T180] console_emit_next_record+0x252/0x4f0 [ 11.051690][ T180] ? devkmsg_read+0x4e0/0x4e0 [ 11.051698][ T180] ? rcu_is_watching+0x16/0xd0 [ 11.051701][ T180] ? lock_acquire+0x13c/0x160 [ 11.051709][ T180] console_flush_one_record+0x46f/0x710 [ 11.051716][ T180] ? console_emit_next_record+0x4f0/0x4f0 [ 11.051719][ T180] ? __lock_acquire+0x518/0xc20 [ 11.051728][ T180] console_unlock+0xee/0x1f0 [ 11.051733][ T180] ? console_flush_one_record+0x710/0x710 [ 11.051736][ T180] ? rcu_is_watching+0x16/0xd0 [ 11.051739][ T180] ? lock_acquire+0x60/0x160 [ 11.051745][ T180] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.051748][ T180] ? vprintk_emit+0x320/0x3e0 [ 11.051753][ T180] vprintk_emit+0x37c/0x3e0 [ 11.051758][ T180] ? wake_up_klogd_work_func+0x90/0x90 [ 11.051762][ T180] ? write_profile+0xf0/0xf0 [ 11.051765][ T180] ? unwind_get_return_address+0x67/0xd0 [ 11.051776][ T180] dev_vprintk_emit+0x27f/0x2c0 [ 11.051783][ T180] ? device_rename.cold+0xa/0xa [ 11.051790][ T180] ? filter_irq_stacks+0xd0/0xd0 [ 11.051800][ T180] dev_printk_emit+0xb9/0xee [ 11.051804][ T180] ? dev_vprintk_emit+0x2c0/0x2c0 [ 11.051811][ T180] ? check_prev_add+0x316/0xe90 [ 11.051820][ T180] __netdev_printk+0x160/0x1d0 [ 11.051829][ T180] netdev_info+0xe2/0x116 [ 11.051833][ T180] ? netdev_notice+0x120/0x120 [ 11.051837][ T180] ? find_held_lock+0x2b/0x80 [ 11.051843][ T180] ? __lock_release.isra.0+0x69/0x1a0 [ 11.051847][ T180] ? mark_held_locks+0x40/0x70 [ 11.051853][ T180] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 11.051858][ T180] netif_change_name.cold+0x4f/0x89 [ 11.051862][ T180] ? __lock_acquire+0x518/0xc20 [ 11.051865][ T180] ? mark_lock_irq+0x747/0x9c0 [ 11.051869][ T180] ? find_held_lock+0x2/0x80 [ 11.051873][ T180] ? netdev_adjacent_rename_links+0x470/0x470 [ 11.051878][ T180] ? find_held_lock+0x2b/0x80 [ 11.051883][ T180] ? __asan_memset+0x27/0x50 [ 11.051893][ T180] do_setlink.isra.0+0x1f7d/0x2a60 [ 11.051898][ T180] ? __lock_acquire+0x518/0xc20 [ 11.051904][ T180] ? rtnl_link_get_size+0x350/0x350 [ 11.051906][ T180] ? mark_usage+0x61/0x170 [ 11.051909][ T180] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.051913][ T180] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.051917][ T180] ? validate_chain+0x38b/0xc20 [ 11.051925][ T180] ? __lock_acquire+0x518/0xc20 [ 11.051934][ T180] ? lock_acquire.part.0+0xd4/0x280 [ 11.051937][ T180] ? rtnl_setlink+0x29d/0x920 [ 11.051942][ T180] ? rcu_is_watching+0x16/0xd0 [ 11.051945][ T180] ? lock_acquire+0x13c/0x160 [ 11.051948][ T180] ? rcu_is_watching+0x16/0xd0 [ 11.051950][ T180] ? rcu_is_watching+0x16/0xd0 [ 11.051953][ T180] ? trace_contention_end+0xb3/0x180 [ 11.051957][ T180] ? __mutex_lock+0x1db/0x1ea0 [ 11.051962][ T180] ? __mutex_lock+0x9a3/0x1ea0 [ 11.051965][ T180] ? __lock_acquire+0x518/0xc20 [ 11.051968][ T180] ? rtnl_setlink+0x29d/0x920 [ 11.051972][ T180] ? mark_usage+0x61/0x170 [ 11.051977][ T180] ? ww_mutex_lock+0x160/0x160 [ 11.051984][ T180] ? nla_get_range_signed+0x3d0/0x3d0 [ 11.051993][ T180] ? mark_usage+0x61/0x170 [ 11.051998][ T180] ? cap_capable+0x1d7/0x3d0 [ 11.052010][ T180] rtnl_setlink+0x527/0x920 [ 11.052016][ T180] ? __rtnl_newlink+0xa50/0xa50 [ 11.052019][ T180] ? __lock_acquire+0x518/0xc20 [ 11.052062][ T180] ? lock_acquire.part.0+0xd4/0x280 [ 11.052065][ T180] ? find_held_lock+0x2b/0x80 [ 11.052070][ T180] ? __lock_release.isra.0+0x69/0x1a0 [ 11.052073][ T180] ? mark_usage+0x61/0x170 [ 11.052076][ T180] ? __lock_acquire+0x518/0xc20 [ 11.052085][ T180] ? lock_acquire.part.0+0xd4/0x280 [ 11.052088][ T180] ? find_held_lock+0x2b/0x80 [ 11.052091][ T180] ? __rtnl_newlink+0xa50/0xa50 [ 11.052095][ T180] ? __lock_release.isra.0+0x69/0x1a0 [ 11.052101][ T180] ? __rtnl_newlink+0xa50/0xa50 [ 11.052105][ T180] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.052112][ T180] ? rtnl_link_fill+0x900/0x900 [ 11.052114][ T180] ? __lock_acquire+0x518/0xc20 [ 11.052123][ T180] ? lock_acquire.part.0+0xd4/0x280 [ 11.052126][ T180] ? find_held_lock+0x2b/0x80 [ 11.052132][ T180] netlink_rcv_skb+0x14e/0x3a0 [ 11.052137][ T180] ? rtnl_link_fill+0x900/0x900 [ 11.052142][ T180] ? netlink_ack+0xcd0/0xcd0 [ 11.052154][ T180] ? netlink_deliver_tap+0xc5/0x330 [ 11.052157][ T180] ? netlink_deliver_tap+0x13c/0x330 [ 11.052165][ T180] netlink_unicast+0x486/0x750 [ 11.052173][ T180] ? netlink_attachskb+0x810/0x810 [ 11.052177][ T180] ? __lock_acquire+0x518/0xc20 [ 11.052185][ T180] netlink_sendmsg+0x735/0xc60 [ 11.052192][ T180] ? netlink_unicast+0x750/0x750 [ 11.052197][ T180] ? __might_fault+0x97/0x140 [ 11.052202][ T180] ? __might_fault+0x97/0x140 [ 11.052208][ T180] __sys_sendto+0x2aa/0x400 [ 11.052213][ T180] ? __ia32_sys_getpeername+0xd0/0xd0 [ 11.052230][ T180] ? exc_page_fault+0x87/0x100 [ 11.052238][ T180] __x64_sys_sendto+0xe4/0x1f0 [ 11.052241][ T180] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.052245][ T180] ? lockdep_hardirqs_on+0x91/0x130 [ 11.052247][ T180] ? do_syscall_64+0xa6/0x530 [ 11.052250][ T180] do_syscall_64+0xff/0x530 [ 11.052253][ T180] ? exc_page_fault+0xee/0x100 [ 11.052257][ T180] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.052260][ T180] RIP: 0033:0x7fcc6e56f54e [ 11.052265][ T180] 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 [ 11.052267][ T180] RSP: 002b:00007ffcc729df40 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 11.052271][ T180] RAX: ffffffffffffffda RBX: 000056238252da80 RCX: 00007fcc6e56f54e [ 11.052273][ T180] RDX: 0000000000000030 RSI: 0000562382534af0 RDI: 0000000000000012 [ 11.052274][ T180] RBP: 00007ffcc729df50 R08: 00007ffcc729dfa0 R09: 0000000000000080 [ 11.052275][ T180] R10: 0000000000000000 R11: 0000000000000202 R12: 00005623826d1b60 [ 11.052276][ T180] R13: 00007ffcc729e084 R14: 0000000000000000 R15: 0000000000000000 [ 11.052287][ T180]