[ 10.499497][ T182] netdevsim netdevsim10282 eni10282np1: renamed from eth0 [ 10.499572][ T182] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.499575][ T182] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 182, name: (udev-worker) [ 10.499577][ T182] preempt_count: 1, expected: 0 [ 10.499577][ T182] RCU nest depth: 0, expected: 0 [ 10.499578][ T182] locks held by (udev-worker)/182: 6, last CPU#2: [ 10.499580][ T182] #0: ffffffffaa505fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 10.499592][ T182] #1: ff11000002402de8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 10.499598][ T182] #2: ffffffffa9d99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.499603][ T182] #3: ffffffffa9d99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.499607][ T182] #4: ffffffffa9c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.499611][ T182] #5: ffffffffa9c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.499615][ T182] irq event stamp: 33630 [ 10.499616][ T182] hardirqs last enabled at (33629): [] __down_trylock_console_sem+0x86/0xa0 [ 10.499619][ T182] hardirqs last disabled at (33630): [] console_emit_next_record+0x3f8/0x4f0 [ 10.499621][ T182] softirqs last enabled at (33624): [] netif_change_name+0x216/0x8c0 [ 10.499624][ T182] softirqs last disabled at (33622): [] netif_change_name+0x1ad/0x8c0 [ 10.499627][ T182] Preemption disabled at: [ 10.499627][ T182] [] vprintk_emit+0x31b/0x3e0 [ 10.499632][ T182] CPU: 2 UID: 0 PID: 182 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.499636][ T182] Tainted: [W]=WARN [ 10.499637][ T182] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.499639][ T182] Call Trace: [ 10.499640][ T182] [ 10.499642][ T182] dump_stack_lvl+0x6f/0xa0 [ 10.499647][ T182] ? vprintk_emit+0x31b/0x3e0 [ 10.499649][ T182] __might_resched.cold+0x1fe/0x2c1 [ 10.499654][ T182] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.499658][ T182] ? __kmalloc_noprof+0xdb/0x760 [ 10.499663][ T182] __kmalloc_noprof+0x443/0x760 [ 10.499666][ T182] ? alloc_buf.isra.0+0x4b/0x260 [ 10.499672][ T182] ? do_raw_spin_unlock+0x59/0x250 [ 10.499675][ T182] alloc_buf.isra.0+0x4b/0x260 [ 10.499679][ T182] put_chars+0x1e1/0x2f0 [ 10.499682][ T182] ? __send_to_port+0x420/0x420 [ 10.499685][ T182] ? validate_chain+0x34a/0xc20 [ 10.499690][ T182] hvc_console_print+0x292/0x780 [ 10.499694][ T182] ? __lock_acquire+0x518/0xc20 [ 10.499699][ T182] ? hvc_write+0x3a0/0x3a0 [ 10.499702][ T182] ? rcu_is_watching+0x16/0xd0 [ 10.499707][ T182] console_emit_next_record+0x252/0x4f0 [ 10.499711][ T182] ? devkmsg_read+0x4e0/0x4e0 [ 10.499716][ T182] ? rcu_is_watching+0x16/0xd0 [ 10.499718][ T182] ? lock_acquire+0x13c/0x160 [ 10.499722][ T182] console_flush_one_record+0x46f/0x710 [ 10.499726][ T182] ? console_emit_next_record+0x4f0/0x4f0 [ 10.499728][ T182] ? __lock_acquire+0x518/0xc20 [ 10.499733][ T182] console_unlock+0xee/0x1f0 [ 10.499736][ T182] ? console_flush_one_record+0x710/0x710 [ 10.499738][ T182] ? rcu_is_watching+0x16/0xd0 [ 10.499740][ T182] ? lock_acquire+0x60/0x160 [ 10.499744][ T182] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.499745][ T182] ? vprintk_emit+0x320/0x3e0 [ 10.499748][ T182] vprintk_emit+0x37c/0x3e0 [ 10.499751][ T182] ? wake_up_klogd_work_func+0x90/0x90 [ 10.499753][ T182] ? write_profile+0xf0/0xf0 [ 10.499756][ T182] ? unwind_get_return_address+0x67/0xd0 [ 10.499762][ T182] dev_vprintk_emit+0x27f/0x2c0 [ 10.499767][ T182] ? device_rename.cold+0xa/0xa [ 10.499771][ T182] ? filter_irq_stacks+0xd0/0xd0 [ 10.499777][ T182] dev_printk_emit+0xb9/0xee [ 10.499779][ T182] ? dev_vprintk_emit+0x2c0/0x2c0 [ 10.499783][ T182] ? check_prev_add+0x316/0xe90 [ 10.499788][ T182] __netdev_printk+0x160/0x1d0 [ 10.499794][ T182] netdev_info+0xe2/0x116 [ 10.499796][ T182] ? netdev_notice+0x120/0x120 [ 10.499799][ T182] ? find_held_lock+0x2b/0x80 [ 10.499802][ T182] ? __lock_release.isra.0+0x69/0x1a0 [ 10.499804][ T182] ? mark_held_locks+0x40/0x70 [ 10.499808][ T182] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.499810][ T182] netif_change_name.cold+0x4f/0x89 [ 10.499813][ T182] ? __lock_acquire+0x518/0xc20 [ 10.499815][ T182] ? mark_lock_irq+0x747/0x9c0 [ 10.499817][ T182] ? find_held_lock+0x2/0x80 [ 10.499820][ T182] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.499822][ T182] ? find_held_lock+0x2b/0x80 [ 10.499825][ T182] ? __asan_memset+0x27/0x50 [ 10.499830][ T182] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.499833][ T182] ? __lock_acquire+0x518/0xc20 [ 10.499836][ T182] ? rtnl_link_get_size+0x350/0x350 [ 10.499838][ T182] ? mark_usage+0x61/0x170 [ 10.499840][ T182] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.499842][ T182] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.499845][ T182] ? validate_chain+0x38b/0xc20 [ 10.499849][ T182] ? __lock_acquire+0x518/0xc20 [ 10.499854][ T182] ? lock_acquire.part.0+0xd4/0x280 [ 10.499856][ T182] ? rtnl_setlink+0x29d/0x920 [ 10.499859][ T182] ? rcu_is_watching+0x16/0xd0 [ 10.499861][ T182] ? lock_acquire+0x13c/0x160 [ 10.499862][ T182] ? rcu_is_watching+0x16/0xd0 [ 10.499864][ T182] ? rcu_is_watching+0x16/0xd0 [ 10.499865][ T182] ? trace_contention_end+0xb3/0x180 [ 10.499868][ T182] ? __mutex_lock+0x1db/0x1ea0 [ 10.499872][ T182] ? __mutex_lock+0x9a3/0x1ea0 [ 10.499874][ T182] ? __lock_acquire+0x518/0xc20 [ 10.499876][ T182] ? rtnl_setlink+0x29d/0x920 [ 10.499878][ T182] ? mark_usage+0x61/0x170 [ 10.499881][ T182] ? ww_mutex_lock+0x160/0x160 [ 10.499883][ T182] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.499889][ T182] ? mark_usage+0x61/0x170 [ 10.499892][ T182] ? cap_capable+0x1d7/0x3d0 [ 10.499900][ T182] rtnl_setlink+0x527/0x920 [ 10.499903][ T182] ? __rtnl_newlink+0xa50/0xa50 [ 10.499905][ T182] ? __lock_acquire+0x518/0xc20 [ 10.499928][ T182] ? lock_acquire.part.0+0xd4/0x280 [ 10.499929][ T182] ? find_held_lock+0x2b/0x80 [ 10.499932][ T182] ? __lock_release.isra.0+0x69/0x1a0 [ 10.499934][ T182] ? mark_usage+0x61/0x170 [ 10.499937][ T182] ? __lock_acquire+0x518/0xc20 [ 10.499941][ T182] ? lock_acquire.part.0+0xd4/0x280 [ 10.499943][ T182] ? find_held_lock+0x2b/0x80 [ 10.499945][ T182] ? __rtnl_newlink+0xa50/0xa50 [ 10.499947][ T182] ? __lock_release.isra.0+0x69/0x1a0 [ 10.499951][ T182] ? __rtnl_newlink+0xa50/0xa50 [ 10.499954][ T182] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.499957][ T182] ? rtnl_link_fill+0x900/0x900 [ 10.499959][ T182] ? __lock_acquire+0x518/0xc20 [ 10.499964][ T182] ? lock_acquire.part.0+0xd4/0x280 [ 10.499966][ T182] ? find_held_lock+0x2b/0x80 [ 10.499969][ T182] netlink_rcv_skb+0x14e/0x3a0 [ 10.499973][ T182] ? rtnl_link_fill+0x900/0x900 [ 10.499976][ T182] ? netlink_ack+0xcd0/0xcd0 [ 10.499983][ T182] ? netlink_deliver_tap+0xc5/0x330 [ 10.499984][ T182] ? netlink_deliver_tap+0x13c/0x330 [ 10.499989][ T182] netlink_unicast+0x486/0x750 [ 10.499993][ T182] ? netlink_attachskb+0x810/0x810 [ 10.499996][ T182] ? __lock_acquire+0x518/0xc20 [ 10.500001][ T182] netlink_sendmsg+0x735/0xc60 [ 10.500005][ T182] ? netlink_unicast+0x750/0x750 [ 10.500009][ T182] ? __might_fault+0x97/0x140 [ 10.500012][ T182] ? __might_fault+0x97/0x140 [ 10.500016][ T182] __sys_sendto+0x2aa/0x400 [ 10.500020][ T182] ? __ia32_sys_getpeername+0xd0/0xd0 [ 10.500030][ T182] ? exc_page_fault+0x87/0x100 [ 10.500035][ T182] __x64_sys_sendto+0xe4/0x1f0 [ 10.500037][ T182] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.500040][ T182] ? lockdep_hardirqs_on+0x91/0x130 [ 10.500041][ T182] ? do_syscall_64+0xa6/0x530 [ 10.500044][ T182] do_syscall_64+0xff/0x530 [ 10.500046][ T182] ? exc_page_fault+0xee/0x100 [ 10.500048][ T182] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.500050][ T182] RIP: 0033:0x7fa89853754e [ 10.500055][ T182] 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 [ 10.500056][ T182] RSP: 002b:00007fffe4c48000 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 10.500059][ T182] RAX: ffffffffffffffda RBX: 000055a2a3d84010 RCX: 00007fa89853754e [ 10.500060][ T182] RDX: 0000000000000030 RSI: 000055a2a3d62c90 RDI: 0000000000000016 [ 10.500061][ T182] RBP: 00007fffe4c48010 R08: 00007fffe4c48060 R09: 0000000000000080 [ 10.500062][ T182] R10: 0000000000000000 R11: 0000000000000202 R12: 000055a2a3d96730 [ 10.500062][ T182] R13: 00007fffe4c48144 R14: 0000000000000000 R15: 0000000000000000 [ 10.500069][ T182]