[ 11.111416][ T184] netdevsim netdevsim16794 eni16794np1: renamed from eth0 [ 11.111504][ T184] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.111506][ T184] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 184, name: (udev-worker) [ 11.111508][ T184] preempt_count: 1, expected: 0 [ 11.111509][ T184] RCU nest depth: 0, expected: 0 [ 11.111510][ T184] locks held by (udev-worker)/184: 6, last CPU#1: [ 11.111512][ T184] #0: ffffffffa7705fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 11.111525][ T184] #1: ff11000002402de8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 11.111529][ T184] #2: ffffffffa6f99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.111535][ T184] #3: ffffffffa6f99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.111539][ T184] #4: ffffffffa6e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.111543][ T184] #5: ffffffffa6e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 11.111547][ T184] irq event stamp: 21458 [ 11.111548][ T184] hardirqs last enabled at (21457): [] __down_trylock_console_sem+0x86/0xa0 [ 11.111550][ T184] hardirqs last disabled at (21458): [] console_emit_next_record+0x3f8/0x4f0 [ 11.111553][ T184] softirqs last enabled at (21452): [] netif_change_name+0x216/0x8c0 [ 11.111559][ T184] softirqs last disabled at (21450): [] netif_change_name+0x1ad/0x8c0 [ 11.111562][ T184] Preemption disabled at: [ 11.111562][ T184] [] vprintk_emit+0x31b/0x3e0 [ 11.111567][ T184] CPU: 1 UID: 0 PID: 184 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.111571][ T184] Tainted: [W]=WARN [ 11.111572][ T184] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.111574][ T184] Call Trace: [ 11.111576][ T184] [ 11.111578][ T184] dump_stack_lvl+0x6f/0xa0 [ 11.111584][ T184] ? vprintk_emit+0x31b/0x3e0 [ 11.111586][ T184] __might_resched.cold+0x1fe/0x2c1 [ 11.111591][ T184] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.111596][ T184] ? __kmalloc_noprof+0xdb/0x760 [ 11.111602][ T184] __kmalloc_noprof+0x443/0x760 [ 11.111605][ T184] ? alloc_buf.isra.0+0x4b/0x260 [ 11.111611][ T184] ? do_raw_spin_unlock+0x59/0x250 [ 11.111614][ T184] alloc_buf.isra.0+0x4b/0x260 [ 11.111618][ T184] put_chars+0x1e1/0x2f0 [ 11.111621][ T184] ? __send_to_port+0x420/0x420 [ 11.111625][ T184] ? validate_chain+0x34a/0xc20 [ 11.111630][ T184] hvc_console_print+0x292/0x780 [ 11.111633][ T184] ? __lock_acquire+0x518/0xc20 [ 11.111639][ T184] ? hvc_write+0x3a0/0x3a0 [ 11.111642][ T184] ? rcu_is_watching+0x16/0xd0 [ 11.111648][ T184] console_emit_next_record+0x252/0x4f0 [ 11.111652][ T184] ? devkmsg_read+0x4e0/0x4e0 [ 11.111656][ T184] ? rcu_is_watching+0x16/0xd0 [ 11.111658][ T184] ? lock_acquire+0x13c/0x160 [ 11.111662][ T184] console_flush_one_record+0x46f/0x710 [ 11.111667][ T184] ? console_emit_next_record+0x4f0/0x4f0 [ 11.111669][ T184] ? __lock_acquire+0x518/0xc20 [ 11.111674][ T184] console_unlock+0xee/0x1f0 [ 11.111677][ T184] ? console_flush_one_record+0x710/0x710 [ 11.111679][ T184] ? rcu_is_watching+0x16/0xd0 [ 11.111681][ T184] ? lock_acquire+0x60/0x160 [ 11.111685][ T184] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.111687][ T184] ? vprintk_emit+0x320/0x3e0 [ 11.111689][ T184] vprintk_emit+0x37c/0x3e0 [ 11.111692][ T184] ? wake_up_klogd_work_func+0x90/0x90 [ 11.111694][ T184] ? write_profile+0xf0/0xf0 [ 11.111697][ T184] ? unwind_get_return_address+0x67/0xd0 [ 11.111704][ T184] dev_vprintk_emit+0x27f/0x2c0 [ 11.111709][ T184] ? device_rename.cold+0xa/0xa [ 11.111713][ T184] ? filter_irq_stacks+0xd0/0xd0 [ 11.111719][ T184] dev_printk_emit+0xb9/0xee [ 11.111722][ T184] ? dev_vprintk_emit+0x2c0/0x2c0 [ 11.111725][ T184] ? check_prev_add+0x316/0xe90 [ 11.111731][ T184] __netdev_printk+0x160/0x1d0 [ 11.111736][ T184] netdev_info+0xe2/0x116 [ 11.111739][ T184] ? netdev_notice+0x120/0x120 [ 11.111742][ T184] ? find_held_lock+0x2b/0x80 [ 11.111745][ T184] ? __lock_release.isra.0+0x69/0x1a0 [ 11.111748][ T184] ? mark_held_locks+0x40/0x70 [ 11.111751][ T184] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 11.111754][ T184] netif_change_name.cold+0x4f/0x89 [ 11.111757][ T184] ? __lock_acquire+0x518/0xc20 [ 11.111759][ T184] ? mark_lock_irq+0x747/0x9c0 [ 11.111761][ T184] ? find_held_lock+0x2/0x80 [ 11.111763][ T184] ? netdev_adjacent_rename_links+0x470/0x470 [ 11.111766][ T184] ? find_held_lock+0x2b/0x80 [ 11.111769][ T184] ? __asan_memset+0x27/0x50 [ 11.111774][ T184] do_setlink.isra.0+0x1f7d/0x2a60 [ 11.111777][ T184] ? __lock_acquire+0x518/0xc20 [ 11.111780][ T184] ? rtnl_link_get_size+0x350/0x350 [ 11.111782][ T184] ? mark_usage+0x61/0x170 [ 11.111784][ T184] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.111786][ T184] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.111789][ T184] ? validate_chain+0x38b/0xc20 [ 11.111794][ T184] ? __lock_acquire+0x518/0xc20 [ 11.111798][ T184] ? lock_acquire.part.0+0xd4/0x280 [ 11.111800][ T184] ? rtnl_setlink+0x29d/0x920 [ 11.111803][ T184] ? rcu_is_watching+0x16/0xd0 [ 11.111805][ T184] ? lock_acquire+0x13c/0x160 [ 11.111807][ T184] ? rcu_is_watching+0x16/0xd0 [ 11.111808][ T184] ? rcu_is_watching+0x16/0xd0 [ 11.111810][ T184] ? trace_contention_end+0xb3/0x180 [ 11.111813][ T184] ? __mutex_lock+0x1db/0x1ea0 [ 11.111816][ T184] ? __mutex_lock+0x9a3/0x1ea0 [ 11.111818][ T184] ? __lock_acquire+0x518/0xc20 [ 11.111820][ T184] ? rtnl_setlink+0x29d/0x920 [ 11.111823][ T184] ? mark_usage+0x61/0x170 [ 11.111826][ T184] ? ww_mutex_lock+0x160/0x160 [ 11.111828][ T184] ? nla_get_range_signed+0x3d0/0x3d0 [ 11.111834][ T184] ? mark_usage+0x61/0x170 [ 11.111837][ T184] ? cap_capable+0x1d7/0x3d0 [ 11.111845][ T184] rtnl_setlink+0x527/0x920 [ 11.111848][ T184] ? __rtnl_newlink+0xa50/0xa50 [ 11.111850][ T184] ? __lock_acquire+0x518/0xc20 [ 11.111873][ T184] ? lock_acquire.part.0+0xd4/0x280 [ 11.111875][ T184] ? find_held_lock+0x2b/0x80 [ 11.111878][ T184] ? __lock_release.isra.0+0x69/0x1a0 [ 11.111880][ T184] ? mark_usage+0x61/0x170 [ 11.111882][ T184] ? __lock_acquire+0x518/0xc20 [ 11.111887][ T184] ? lock_acquire.part.0+0xd4/0x280 [ 11.111889][ T184] ? find_held_lock+0x2b/0x80 [ 11.111891][ T184] ? __rtnl_newlink+0xa50/0xa50 [ 11.111893][ T184] ? __lock_release.isra.0+0x69/0x1a0 [ 11.111897][ T184] ? __rtnl_newlink+0xa50/0xa50 [ 11.111900][ T184] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.111903][ T184] ? rtnl_link_fill+0x900/0x900 [ 11.111905][ T184] ? __lock_acquire+0x518/0xc20 [ 11.111910][ T184] ? lock_acquire.part.0+0xd4/0x280 [ 11.111912][ T184] ? find_held_lock+0x2b/0x80 [ 11.111916][ T184] netlink_rcv_skb+0x14e/0x3a0 [ 11.111919][ T184] ? rtnl_link_fill+0x900/0x900 [ 11.111922][ T184] ? netlink_ack+0xcd0/0xcd0 [ 11.111929][ T184] ? netlink_deliver_tap+0xc5/0x330 [ 11.111931][ T184] ? netlink_deliver_tap+0x13c/0x330 [ 11.111936][ T184] netlink_unicast+0x486/0x750 [ 11.111940][ T184] ? netlink_attachskb+0x810/0x810 [ 11.111943][ T184] ? __lock_acquire+0x518/0xc20 [ 11.111948][ T184] netlink_sendmsg+0x735/0xc60 [ 11.111952][ T184] ? netlink_unicast+0x750/0x750 [ 11.111956][ T184] ? __might_fault+0x97/0x140 [ 11.111960][ T184] ? __might_fault+0x97/0x140 [ 11.111968][ T184] __sys_sendto+0x2aa/0x400 [ 11.111972][ T184] ? __ia32_sys_getpeername+0xd0/0xd0 [ 11.111983][ T184] ? exc_page_fault+0x87/0x100 [ 11.111988][ T184] __x64_sys_sendto+0xe4/0x1f0 [ 11.111990][ T184] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.111994][ T184] ? lockdep_hardirqs_on+0x91/0x130 [ 11.111995][ T184] ? do_syscall_64+0xa6/0x530 [ 11.111998][ T184] do_syscall_64+0xff/0x530 [ 11.111999][ T184] ? exc_page_fault+0xee/0x100 [ 11.112002][ T184] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.112004][ T184] RIP: 0033:0x7fe05e0d554e [ 11.112008][ T184] 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.112010][ T184] RSP: 002b:00007ffc7cf8e120 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 11.112013][ T184] RAX: ffffffffffffffda RBX: 0000556d20728160 RCX: 00007fe05e0d554e [ 11.112014][ T184] RDX: 0000000000000030 RSI: 0000556d205d1c00 RDI: 000000000000001d [ 11.112015][ T184] RBP: 00007ffc7cf8e130 R08: 00007ffc7cf8e180 R09: 0000000000000080 [ 11.112016][ T184] R10: 0000000000000000 R11: 0000000000000202 R12: 0000556d20749580 [ 11.112016][ T184] R13: 00007ffc7cf8e264 R14: 0000000000000000 R15: 0000000000000000 [ 11.112024][ T184]