[ 10.127438][ T179] netdevsim netdevsim7080 eni7080np1: renamed from eth0 [ 10.127498][ T179] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.127500][ T179] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 179, name: (udev-worker) [ 10.127502][ T179] preempt_count: 1, expected: 0 [ 10.127503][ T179] RCU nest depth: 0, expected: 0 [ 10.127504][ T179] locks held by (udev-worker)/179: 6, last CPU#2: [ 10.127506][ T179] #0: ffffffffaa505fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 10.127519][ T179] #1: ff1100000c2a2de8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 10.127524][ T179] #2: ffffffffa9d99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.127529][ T179] #3: ffffffffa9d99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.127534][ T179] #4: ffffffffa9c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.127538][ T179] #5: ffffffffa9c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.127542][ T179] irq event stamp: 30212 [ 10.127543][ T179] hardirqs last enabled at (30211): [] __down_trylock_console_sem+0x86/0xa0 [ 10.127546][ T179] hardirqs last disabled at (30212): [] console_emit_next_record+0x3f8/0x4f0 [ 10.127548][ T179] softirqs last enabled at (30206): [] netif_change_name+0x216/0x8c0 [ 10.127552][ T179] softirqs last disabled at (30204): [] netif_change_name+0x1ad/0x8c0 [ 10.127554][ T179] Preemption disabled at: [ 10.127555][ T179] [] vprintk_emit+0x31b/0x3e0 [ 10.127560][ T179] CPU: 2 UID: 0 PID: 179 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.127563][ T179] Tainted: [W]=WARN [ 10.127564][ T179] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.127566][ T179] Call Trace: [ 10.127567][ T179] [ 10.127569][ T179] dump_stack_lvl+0x6f/0xa0 [ 10.127575][ T179] ? vprintk_emit+0x31b/0x3e0 [ 10.127577][ T179] __might_resched.cold+0x1fe/0x2c1 [ 10.127582][ T179] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.127586][ T179] ? __kmalloc_noprof+0xdb/0x760 [ 10.127592][ T179] __kmalloc_noprof+0x443/0x760 [ 10.127594][ T179] ? alloc_buf.isra.0+0x4b/0x260 [ 10.127601][ T179] ? do_raw_spin_unlock+0x59/0x250 [ 10.127604][ T179] alloc_buf.isra.0+0x4b/0x260 [ 10.127607][ T179] put_chars+0x1e1/0x2f0 [ 10.127611][ T179] ? __send_to_port+0x420/0x420 [ 10.127615][ T179] ? validate_chain+0x34a/0xc20 [ 10.127620][ T179] hvc_console_print+0x292/0x780 [ 10.127623][ T179] ? __lock_acquire+0x518/0xc20 [ 10.127629][ T179] ? hvc_write+0x3a0/0x3a0 [ 10.127632][ T179] ? rcu_is_watching+0x16/0xd0 [ 10.127638][ T179] console_emit_next_record+0x252/0x4f0 [ 10.127642][ T179] ? devkmsg_read+0x4e0/0x4e0 [ 10.127653][ T179] ? rcu_is_watching+0x16/0xd0 [ 10.127655][ T179] ? lock_acquire+0x13c/0x160 [ 10.127659][ T179] console_flush_one_record+0x46f/0x710 [ 10.127663][ T179] ? console_emit_next_record+0x4f0/0x4f0 [ 10.127665][ T179] ? __lock_acquire+0x518/0xc20 [ 10.127671][ T179] console_unlock+0xee/0x1f0 [ 10.127674][ T179] ? console_flush_one_record+0x710/0x710 [ 10.127676][ T179] ? rcu_is_watching+0x16/0xd0 [ 10.127678][ T179] ? lock_acquire+0x60/0x160 [ 10.127682][ T179] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.127683][ T179] ? vprintk_emit+0x320/0x3e0 [ 10.127686][ T179] vprintk_emit+0x37c/0x3e0 [ 10.127689][ T179] ? wake_up_klogd_work_func+0x90/0x90 [ 10.127691][ T179] ? write_profile+0xf0/0xf0 [ 10.127694][ T179] ? unwind_get_return_address+0x67/0xd0 [ 10.127700][ T179] dev_vprintk_emit+0x27f/0x2c0 [ 10.127705][ T179] ? device_rename.cold+0xa/0xa [ 10.127710][ T179] ? filter_irq_stacks+0xd0/0xd0 [ 10.127715][ T179] dev_printk_emit+0xb9/0xee [ 10.127718][ T179] ? dev_vprintk_emit+0x2c0/0x2c0 [ 10.127722][ T179] ? check_prev_add+0x316/0xe90 [ 10.127727][ T179] __netdev_printk+0x160/0x1d0 [ 10.127733][ T179] netdev_info+0xe2/0x116 [ 10.127736][ T179] ? netdev_notice+0x120/0x120 [ 10.127738][ T179] ? find_held_lock+0x2b/0x80 [ 10.127741][ T179] ? __lock_release.isra.0+0x69/0x1a0 [ 10.127744][ T179] ? mark_held_locks+0x40/0x70 [ 10.127748][ T179] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.127751][ T179] netif_change_name.cold+0x4f/0x89 [ 10.127753][ T179] ? __lock_acquire+0x518/0xc20 [ 10.127755][ T179] ? mark_lock_irq+0x747/0x9c0 [ 10.127757][ T179] ? find_held_lock+0x2/0x80 [ 10.127760][ T179] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.127763][ T179] ? find_held_lock+0x2b/0x80 [ 10.127766][ T179] ? __asan_memset+0x27/0x50 [ 10.127771][ T179] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.127774][ T179] ? __lock_acquire+0x518/0xc20 [ 10.127777][ T179] ? rtnl_link_get_size+0x350/0x350 [ 10.127779][ T179] ? mark_usage+0x61/0x170 [ 10.127781][ T179] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.127783][ T179] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.127786][ T179] ? validate_chain+0x38b/0xc20 [ 10.127791][ T179] ? __lock_acquire+0x518/0xc20 [ 10.127796][ T179] ? lock_acquire.part.0+0xd4/0x280 [ 10.127798][ T179] ? rtnl_setlink+0x29d/0x920 [ 10.127801][ T179] ? rcu_is_watching+0x16/0xd0 [ 10.127803][ T179] ? lock_acquire+0x13c/0x160 [ 10.127804][ T179] ? rcu_is_watching+0x16/0xd0 [ 10.127806][ T179] ? rcu_is_watching+0x16/0xd0 [ 10.127807][ T179] ? trace_contention_end+0xb3/0x180 [ 10.127810][ T179] ? __mutex_lock+0x1db/0x1ea0 [ 10.127814][ T179] ? __mutex_lock+0x9a3/0x1ea0 [ 10.127816][ T179] ? __lock_acquire+0x518/0xc20 [ 10.127818][ T179] ? rtnl_setlink+0x29d/0x920 [ 10.127820][ T179] ? mark_usage+0x61/0x170 [ 10.127823][ T179] ? ww_mutex_lock+0x160/0x160 [ 10.127825][ T179] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.127831][ T179] ? mark_usage+0x61/0x170 [ 10.127835][ T179] ? cap_capable+0x1d7/0x3d0 [ 10.127842][ T179] rtnl_setlink+0x527/0x920 [ 10.127846][ T179] ? __rtnl_newlink+0xa50/0xa50 [ 10.127848][ T179] ? __lock_acquire+0x518/0xc20 [ 10.127871][ T179] ? lock_acquire.part.0+0xd4/0x280 [ 10.127873][ T179] ? find_held_lock+0x2b/0x80 [ 10.127876][ T179] ? __lock_release.isra.0+0x69/0x1a0 [ 10.127878][ T179] ? mark_usage+0x61/0x170 [ 10.127880][ T179] ? __lock_acquire+0x518/0xc20 [ 10.127885][ T179] ? lock_acquire.part.0+0xd4/0x280 [ 10.127887][ T179] ? find_held_lock+0x2b/0x80 [ 10.127889][ T179] ? __rtnl_newlink+0xa50/0xa50 [ 10.127891][ T179] ? __lock_release.isra.0+0x69/0x1a0 [ 10.127895][ T179] ? __rtnl_newlink+0xa50/0xa50 [ 10.127897][ T179] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.127901][ T179] ? rtnl_link_fill+0x900/0x900 [ 10.127903][ T179] ? __lock_acquire+0x518/0xc20 [ 10.127908][ T179] ? lock_acquire.part.0+0xd4/0x280 [ 10.127910][ T179] ? find_held_lock+0x2b/0x80 [ 10.127913][ T179] netlink_rcv_skb+0x14e/0x3a0 [ 10.127917][ T179] ? rtnl_link_fill+0x900/0x900 [ 10.127922][ T179] ? netlink_ack+0xcd0/0xcd0 [ 10.127929][ T179] ? netlink_deliver_tap+0xc5/0x330 [ 10.127931][ T179] ? netlink_deliver_tap+0x13c/0x330 [ 10.127936][ T179] netlink_unicast+0x486/0x750 [ 10.127940][ T179] ? netlink_attachskb+0x810/0x810 [ 10.127943][ T179] ? __lock_acquire+0x518/0xc20 [ 10.127948][ T179] netlink_sendmsg+0x735/0xc60 [ 10.127952][ T179] ? netlink_unicast+0x750/0x750 [ 10.127956][ T179] ? __might_fault+0x97/0x140 [ 10.127960][ T179] ? __might_fault+0x97/0x140 [ 10.127964][ T179] __sys_sendto+0x2aa/0x400 [ 10.127967][ T179] ? __ia32_sys_getpeername+0xd0/0xd0 [ 10.127978][ T179] ? exc_page_fault+0x87/0x100 [ 10.127983][ T179] __x64_sys_sendto+0xe4/0x1f0 [ 10.127985][ T179] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.127988][ T179] ? lockdep_hardirqs_on+0x91/0x130 [ 10.127990][ T179] ? do_syscall_64+0xa6/0x530 [ 10.127992][ T179] do_syscall_64+0xff/0x530 [ 10.127994][ T179] ? exc_page_fault+0xee/0x100 [ 10.127997][ T179] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.127999][ T179] RIP: 0033:0x7fd6107e454e [ 10.128003][ T179] 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.128005][ T179] RSP: 002b:00007fffac4e4360 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 10.128007][ T179] RAX: ffffffffffffffda RBX: 0000561f013060d0 RCX: 00007fd6107e454e [ 10.128009][ T179] RDX: 0000000000000030 RSI: 0000561f0135c880 RDI: 0000000000000012 [ 10.128010][ T179] RBP: 00007fffac4e4370 R08: 00007fffac4e43c0 R09: 0000000000000080 [ 10.128011][ T179] R10: 0000000000000000 R11: 0000000000000202 R12: 0000561f01480b20 [ 10.128011][ T179] R13: 00007fffac4e44a4 R14: 0000000000000000 R15: 0000000000000000 [ 10.128018][ T179] [ 10.338075][ T179] netdevsim netdevsim803 eni803np1: renamed from eth0