[ 12.038424][ T187] netdevsim netdevsim30435 eni30435np1: renamed from eth0 [ 12.038537][ T187] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.038541][ T187] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 187, name: (udev-worker) [ 12.038543][ T187] preempt_count: 1, expected: 0 [ 12.038544][ T187] RCU nest depth: 0, expected: 0 [ 12.038546][ T187] locks held by (udev-worker)/187: 6, last CPU#1: [ 12.038549][ T187] #0: ffffffff99f05fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 12.038564][ T187] #1: ff11000002402de8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 12.038571][ T187] #2: ffffffff99799cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.038578][ T187] #3: ffffffff99799d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.038585][ T187] #4: ffffffff99689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.038594][ T187] #5: ffffffff99689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 12.038601][ T187] irq event stamp: 331876 [ 12.038602][ T187] hardirqs last enabled at (331875): [] __down_trylock_console_sem+0x86/0xa0 [ 12.038606][ T187] hardirqs last disabled at (331876): [] console_emit_next_record+0x3f8/0x4f0 [ 12.038611][ T187] softirqs last enabled at (331870): [] netif_change_name+0x216/0x8c0 [ 12.038616][ T187] softirqs last disabled at (331868): [] netif_change_name+0x1ad/0x8c0 [ 12.038620][ T187] Preemption disabled at: [ 12.038621][ T187] [] vprintk_emit+0x31b/0x3e0 [ 12.038627][ T187] CPU: 1 UID: 0 PID: 187 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.038633][ T187] Tainted: [W]=WARN [ 12.038634][ T187] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.038637][ T187] Call Trace: [ 12.038639][ T187] [ 12.038641][ T187] dump_stack_lvl+0x6f/0xa0 [ 12.038649][ T187] ? vprintk_emit+0x31b/0x3e0 [ 12.038652][ T187] __might_resched.cold+0x1fe/0x2c1 [ 12.038658][ T187] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.038664][ T187] ? __kmalloc_noprof+0xdb/0x760 [ 12.038672][ T187] __kmalloc_noprof+0x443/0x760 [ 12.038676][ T187] ? alloc_buf.isra.0+0x4b/0x260 [ 12.038685][ T187] ? do_raw_spin_unlock+0x59/0x250 [ 12.038688][ T187] alloc_buf.isra.0+0x4b/0x260 [ 12.038694][ T187] put_chars+0x1e1/0x2f0 [ 12.038699][ T187] ? __send_to_port+0x420/0x420 [ 12.038705][ T187] ? validate_chain+0x34a/0xc20 [ 12.038713][ T187] hvc_console_print+0x292/0x780 [ 12.038718][ T187] ? __lock_acquire+0x518/0xc20 [ 12.038727][ T187] ? hvc_write+0x3a0/0x3a0 [ 12.038732][ T187] ? rcu_is_watching+0x16/0xd0 [ 12.038741][ T187] console_emit_next_record+0x252/0x4f0 [ 12.038747][ T187] ? devkmsg_read+0x4e0/0x4e0 [ 12.038755][ T187] ? rcu_is_watching+0x16/0xd0 [ 12.038758][ T187] ? lock_acquire+0x13c/0x160 [ 12.038765][ T187] console_flush_one_record+0x46f/0x710 [ 12.038773][ T187] ? console_emit_next_record+0x4f0/0x4f0 [ 12.038775][ T187] ? __lock_acquire+0x518/0xc20 [ 12.038785][ T187] console_unlock+0xee/0x1f0 [ 12.038789][ T187] ? console_flush_one_record+0x710/0x710 [ 12.038792][ T187] ? rcu_is_watching+0x16/0xd0 [ 12.038795][ T187] ? lock_acquire+0x60/0x160 [ 12.038802][ T187] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.038804][ T187] ? vprintk_emit+0x320/0x3e0 [ 12.038809][ T187] vprintk_emit+0x37c/0x3e0 [ 12.038815][ T187] ? wake_up_klogd_work_func+0x90/0x90 [ 12.038818][ T187] ? write_profile+0xf0/0xf0 [ 12.038821][ T187] ? unwind_get_return_address+0x67/0xd0 [ 12.038831][ T187] dev_vprintk_emit+0x27f/0x2c0 [ 12.038838][ T187] ? device_rename.cold+0xa/0xa [ 12.038845][ T187] ? filter_irq_stacks+0xd0/0xd0 [ 12.038855][ T187] dev_printk_emit+0xb9/0xee [ 12.038858][ T187] ? dev_vprintk_emit+0x2c0/0x2c0 [ 12.038865][ T187] ? check_prev_add+0x316/0xe90 [ 12.038874][ T187] __netdev_printk+0x160/0x1d0 [ 12.038883][ T187] netdev_info+0xe2/0x116 [ 12.038887][ T187] ? netdev_notice+0x120/0x120 [ 12.038891][ T187] ? find_held_lock+0x2b/0x80 [ 12.038896][ T187] ? __lock_release.isra.0+0x69/0x1a0 [ 12.038900][ T187] ? mark_held_locks+0x40/0x70 [ 12.038906][ T187] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 12.038911][ T187] netif_change_name.cold+0x4f/0x89 [ 12.038915][ T187] ? __lock_acquire+0x518/0xc20 [ 12.038918][ T187] ? mark_lock_irq+0x747/0x9c0 [ 12.038921][ T187] ? find_held_lock+0x2/0x80 [ 12.038926][ T187] ? netdev_adjacent_rename_links+0x470/0x470 [ 12.038930][ T187] ? find_held_lock+0x2b/0x80 [ 12.038935][ T187] ? __asan_memset+0x27/0x50 [ 12.038943][ T187] do_setlink.isra.0+0x1f7d/0x2a60 [ 12.038948][ T187] ? __lock_acquire+0x518/0xc20 [ 12.038953][ T187] ? rtnl_link_get_size+0x350/0x350 [ 12.038956][ T187] ? mark_usage+0x61/0x170 [ 12.038958][ T187] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.038962][ T187] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.038966][ T187] ? validate_chain+0x38b/0xc20 [ 12.038974][ T187] ? __lock_acquire+0x518/0xc20 [ 12.038982][ T187] ? lock_acquire.part.0+0xd4/0x280 [ 12.038985][ T187] ? rtnl_setlink+0x29d/0x920 [ 12.038990][ T187] ? rcu_is_watching+0x16/0xd0 [ 12.038993][ T187] ? lock_acquire+0x13c/0x160 [ 12.038996][ T187] ? rcu_is_watching+0x16/0xd0 [ 12.038998][ T187] ? rcu_is_watching+0x16/0xd0 [ 12.039000][ T187] ? trace_contention_end+0xb3/0x180 [ 12.039005][ T187] ? __mutex_lock+0x1db/0x1ea0 [ 12.039010][ T187] ? __mutex_lock+0x9a3/0x1ea0 [ 12.039012][ T187] ? __lock_acquire+0x518/0xc20 [ 12.039016][ T187] ? rtnl_setlink+0x29d/0x920 [ 12.039020][ T187] ? mark_usage+0x61/0x170 [ 12.039024][ T187] ? ww_mutex_lock+0x160/0x160 [ 12.039028][ T187] ? nla_get_range_signed+0x3d0/0x3d0 [ 12.039036][ T187] ? mark_usage+0x61/0x170 [ 12.039042][ T187] ? cap_capable+0x1d7/0x3d0 [ 12.039054][ T187] rtnl_setlink+0x527/0x920 [ 12.039060][ T187] ? __rtnl_newlink+0xa50/0xa50 [ 12.039062][ T187] ? __lock_acquire+0x518/0xc20 [ 12.039111][ T187] ? lock_acquire.part.0+0xd4/0x280 [ 12.039114][ T187] ? find_held_lock+0x2b/0x80 [ 12.039119][ T187] ? __lock_release.isra.0+0x69/0x1a0 [ 12.039122][ T187] ? mark_usage+0x61/0x170 [ 12.039126][ T187] ? __lock_acquire+0x518/0xc20 [ 12.039134][ T187] ? lock_acquire.part.0+0xd4/0x280 [ 12.039137][ T187] ? find_held_lock+0x2b/0x80 [ 12.039140][ T187] ? __rtnl_newlink+0xa50/0xa50 [ 12.039144][ T187] ? __lock_release.isra.0+0x69/0x1a0 [ 12.039150][ T187] ? __rtnl_newlink+0xa50/0xa50 [ 12.039154][ T187] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 12.039160][ T187] ? rtnl_link_fill+0x900/0x900 [ 12.039163][ T187] ? __lock_acquire+0x518/0xc20 [ 12.039171][ T187] ? lock_acquire.part.0+0xd4/0x280 [ 12.039174][ T187] ? find_held_lock+0x2b/0x80 [ 12.039180][ T187] netlink_rcv_skb+0x14e/0x3a0 [ 12.039184][ T187] ? rtnl_link_fill+0x900/0x900 [ 12.039190][ T187] ? netlink_ack+0xcd0/0xcd0 [ 12.039202][ T187] ? netlink_deliver_tap+0xc5/0x330 [ 12.039204][ T187] ? netlink_deliver_tap+0x13c/0x330 [ 12.039212][ T187] netlink_unicast+0x486/0x750 [ 12.039219][ T187] ? netlink_attachskb+0x810/0x810 [ 12.039223][ T187] ? __lock_acquire+0x518/0xc20 [ 12.039227][ T187] ? do_raw_spin_trylock+0x161/0x180 [ 12.039234][ T187] netlink_sendmsg+0x735/0xc60 [ 12.039241][ T187] ? netlink_unicast+0x750/0x750 [ 12.039247][ T187] ? __might_fault+0x97/0x140 [ 12.039252][ T187] ? __might_fault+0x97/0x140 [ 12.039259][ T187] __sys_sendto+0x2aa/0x400 [ 12.039264][ T187] ? __ia32_sys_getpeername+0xd0/0xd0 [ 12.039283][ T187] ? exc_page_fault+0x87/0x100 [ 12.039292][ T187] __x64_sys_sendto+0xe4/0x1f0 [ 12.039294][ T187] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.039299][ T187] ? lockdep_hardirqs_on+0x91/0x130 [ 12.039301][ T187] ? do_syscall_64+0xa6/0x530 [ 12.039304][ T187] do_syscall_64+0xff/0x530 [ 12.039307][ T187] ? exc_page_fault+0xee/0x100 [ 12.039311][ T187] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.039314][ T187] RIP: 0033:0x7f68b00b254e [ 12.039319][ T187] 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 [ 12.039322][ T187] RSP: 002b:00007fff0f16cdb0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 12.039326][ T187] RAX: ffffffffffffffda RBX: 000055fc1afc1160 RCX: 00007f68b00b254e [ 12.039327][ T187] RDX: 0000000000000030 RSI: 000055fc1b173c90 RDI: 0000000000000024 [ 12.039329][ T187] RBP: 00007fff0f16cdc0 R08: 00007fff0f16ce10 R09: 0000000000000080 [ 12.039330][ T187] R10: 0000000000000000 R11: 0000000000000202 R12: 000055fc1b174f30 [ 12.039331][ T187] R13: 00007fff0f16cef4 R14: 0000000000000000 R15: 0000000000000000 [ 12.039343][ T187]