[ 10.626483][ T182] netdevsim netdevsim29397 eni29397np1: renamed from eth0 [ 10.626549][ T182] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.626551][ T182] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 182, name: (udev-worker) [ 10.626553][ T182] preempt_count: 1, expected: 0 [ 10.626554][ T182] RCU nest depth: 0, expected: 0 [ 10.626555][ T182] locks held by (udev-worker)/182: 6, last CPU#1: [ 10.626557][ T182] #0: ffffffffa7f05fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 10.626569][ T182] #1: ff11000002402de8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 10.626574][ T182] #2: ffffffffa7799cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.626579][ T182] #3: ffffffffa7799d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.626583][ T182] #4: ffffffffa7689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.626586][ T182] #5: ffffffffa7689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.626590][ T182] irq event stamp: 26194 [ 10.626591][ T182] hardirqs last enabled at (26193): [] __down_trylock_console_sem+0x86/0xa0 [ 10.626594][ T182] hardirqs last disabled at (26194): [] console_emit_next_record+0x3f8/0x4f0 [ 10.626596][ T182] softirqs last enabled at (26188): [] netif_change_name+0x216/0x8c0 [ 10.626599][ T182] softirqs last disabled at (26186): [] netif_change_name+0x1ad/0x8c0 [ 10.626602][ T182] Preemption disabled at: [ 10.626602][ T182] [] vprintk_emit+0x31b/0x3e0 [ 10.626608][ T182] CPU: 1 UID: 0 PID: 182 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.626611][ T182] Tainted: [W]=WARN [ 10.626612][ T182] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.626614][ T182] Call Trace: [ 10.626616][ T182] [ 10.626618][ T182] dump_stack_lvl+0x6f/0xa0 [ 10.626624][ T182] ? vprintk_emit+0x31b/0x3e0 [ 10.626625][ T182] __might_resched.cold+0x1fe/0x2c1 [ 10.626630][ T182] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.626634][ T182] ? __kmalloc_noprof+0xdb/0x760 [ 10.626640][ T182] __kmalloc_noprof+0x443/0x760 [ 10.626642][ T182] ? alloc_buf.isra.0+0x4b/0x260 [ 10.626649][ T182] ? do_raw_spin_unlock+0x59/0x250 [ 10.626651][ T182] alloc_buf.isra.0+0x4b/0x260 [ 10.626655][ T182] put_chars+0x1e1/0x2f0 [ 10.626659][ T182] ? __send_to_port+0x420/0x420 [ 10.626662][ T182] ? validate_chain+0x34a/0xc20 [ 10.626668][ T182] hvc_console_print+0x292/0x780 [ 10.626671][ T182] ? __lock_acquire+0x518/0xc20 [ 10.626676][ T182] ? hvc_write+0x3a0/0x3a0 [ 10.626679][ T182] ? rcu_is_watching+0x16/0xd0 [ 10.626685][ T182] console_emit_next_record+0x252/0x4f0 [ 10.626689][ T182] ? devkmsg_read+0x4e0/0x4e0 [ 10.626693][ T182] ? rcu_is_watching+0x16/0xd0 [ 10.626695][ T182] ? lock_acquire+0x13c/0x160 [ 10.626699][ T182] console_flush_one_record+0x46f/0x710 [ 10.626704][ T182] ? console_emit_next_record+0x4f0/0x4f0 [ 10.626706][ T182] ? __lock_acquire+0x518/0xc20 [ 10.626711][ T182] console_unlock+0xee/0x1f0 [ 10.626714][ T182] ? console_flush_one_record+0x710/0x710 [ 10.626716][ T182] ? rcu_is_watching+0x16/0xd0 [ 10.626718][ T182] ? lock_acquire+0x60/0x160 [ 10.626721][ T182] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.626723][ T182] ? vprintk_emit+0x320/0x3e0 [ 10.626726][ T182] vprintk_emit+0x37c/0x3e0 [ 10.626729][ T182] ? wake_up_klogd_work_func+0x90/0x90 [ 10.626731][ T182] ? write_profile+0xf0/0xf0 [ 10.626734][ T182] ? unwind_get_return_address+0x67/0xd0 [ 10.626740][ T182] dev_vprintk_emit+0x27f/0x2c0 [ 10.626746][ T182] ? device_rename.cold+0xa/0xa [ 10.626750][ T182] ? filter_irq_stacks+0xd0/0xd0 [ 10.626755][ T182] dev_printk_emit+0xb9/0xee [ 10.626758][ T182] ? dev_vprintk_emit+0x2c0/0x2c0 [ 10.626762][ T182] ? check_prev_add+0x316/0xe90 [ 10.626767][ T182] __netdev_printk+0x160/0x1d0 [ 10.626773][ T182] netdev_info+0xe2/0x116 [ 10.626776][ T182] ? netdev_notice+0x120/0x120 [ 10.626778][ T182] ? find_held_lock+0x2b/0x80 [ 10.626781][ T182] ? __lock_release.isra.0+0x69/0x1a0 [ 10.626784][ T182] ? mark_held_locks+0x40/0x70 [ 10.626788][ T182] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.626790][ T182] netif_change_name.cold+0x4f/0x89 [ 10.626793][ T182] ? __lock_acquire+0x518/0xc20 [ 10.626795][ T182] ? mark_lock_irq+0x747/0x9c0 [ 10.626797][ T182] ? find_held_lock+0x2/0x80 [ 10.626800][ T182] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.626802][ T182] ? find_held_lock+0x2b/0x80 [ 10.626805][ T182] ? __asan_memset+0x27/0x50 [ 10.626810][ T182] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.626813][ T182] ? __lock_acquire+0x518/0xc20 [ 10.626816][ T182] ? rtnl_link_get_size+0x350/0x350 [ 10.626818][ T182] ? mark_usage+0x61/0x170 [ 10.626820][ T182] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.626822][ T182] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.626825][ T182] ? validate_chain+0x38b/0xc20 [ 10.626830][ T182] ? __lock_acquire+0x518/0xc20 [ 10.626834][ T182] ? lock_acquire.part.0+0xd4/0x280 [ 10.626836][ T182] ? rtnl_setlink+0x29d/0x920 [ 10.626840][ T182] ? rcu_is_watching+0x16/0xd0 [ 10.626841][ T182] ? lock_acquire+0x13c/0x160 [ 10.626843][ T182] ? rcu_is_watching+0x16/0xd0 [ 10.626844][ T182] ? rcu_is_watching+0x16/0xd0 [ 10.626846][ T182] ? trace_contention_end+0xb3/0x180 [ 10.626848][ T182] ? __mutex_lock+0x1db/0x1ea0 [ 10.626852][ T182] ? __mutex_lock+0x9a3/0x1ea0 [ 10.626854][ T182] ? __lock_acquire+0x518/0xc20 [ 10.626856][ T182] ? rtnl_setlink+0x29d/0x920 [ 10.626859][ T182] ? mark_usage+0x61/0x170 [ 10.626862][ T182] ? ww_mutex_lock+0x160/0x160 [ 10.626864][ T182] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.626870][ T182] ? mark_usage+0x61/0x170 [ 10.626873][ T182] ? cap_capable+0x1d7/0x3d0 [ 10.626881][ T182] rtnl_setlink+0x527/0x920 [ 10.626884][ T182] ? __rtnl_newlink+0xa50/0xa50 [ 10.626886][ T182] ? __lock_acquire+0x518/0xc20 [ 10.626909][ T182] ? lock_acquire.part.0+0xd4/0x280 [ 10.626911][ T182] ? find_held_lock+0x2b/0x80 [ 10.626914][ T182] ? __lock_release.isra.0+0x69/0x1a0 [ 10.626916][ T182] ? mark_usage+0x61/0x170 [ 10.626918][ T182] ? __lock_acquire+0x518/0xc20 [ 10.626923][ T182] ? lock_acquire.part.0+0xd4/0x280 [ 10.626925][ T182] ? find_held_lock+0x2b/0x80 [ 10.626927][ T182] ? __rtnl_newlink+0xa50/0xa50 [ 10.626929][ T182] ? __lock_release.isra.0+0x69/0x1a0 [ 10.626933][ T182] ? __rtnl_newlink+0xa50/0xa50 [ 10.626936][ T182] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.626939][ T182] ? rtnl_link_fill+0x900/0x900 [ 10.626941][ T182] ? __lock_acquire+0x518/0xc20 [ 10.626946][ T182] ? lock_acquire.part.0+0xd4/0x280 [ 10.626948][ T182] ? find_held_lock+0x2b/0x80 [ 10.626951][ T182] netlink_rcv_skb+0x14e/0x3a0 [ 10.626955][ T182] ? rtnl_link_fill+0x900/0x900 [ 10.626958][ T182] ? netlink_ack+0xcd0/0xcd0 [ 10.626965][ T182] ? netlink_deliver_tap+0xc5/0x330 [ 10.626967][ T182] ? netlink_deliver_tap+0x13c/0x330 [ 10.626978][ T182] netlink_unicast+0x486/0x750 [ 10.626982][ T182] ? netlink_attachskb+0x810/0x810 [ 10.626984][ T182] ? __lock_acquire+0x518/0xc20 [ 10.626989][ T182] netlink_sendmsg+0x735/0xc60 [ 10.626994][ T182] ? netlink_unicast+0x750/0x750 [ 10.626998][ T182] ? __might_fault+0x97/0x140 [ 10.627003][ T182] ? __might_fault+0x97/0x140 [ 10.627007][ T182] __sys_sendto+0x2aa/0x400 [ 10.627011][ T182] ? __ia32_sys_getpeername+0xd0/0xd0 [ 10.627021][ T182] ? exc_page_fault+0x87/0x100 [ 10.627026][ T182] __x64_sys_sendto+0xe4/0x1f0 [ 10.627028][ T182] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.627032][ T182] ? lockdep_hardirqs_on+0x91/0x130 [ 10.627033][ T182] ? do_syscall_64+0xa6/0x530 [ 10.627036][ T182] do_syscall_64+0xff/0x530 [ 10.627037][ T182] ? exc_page_fault+0xee/0x100 [ 10.627040][ T182] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.627042][ T182] RIP: 0033:0x7f8160c7854e [ 10.627046][ 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.627047][ T182] RSP: 002b:00007ffda1d99a30 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 10.627050][ T182] RAX: ffffffffffffffda RBX: 00005650295d4120 RCX: 00007f8160c7854e [ 10.627051][ T182] RDX: 0000000000000030 RSI: 00005650295daa90 RDI: 0000000000000018 [ 10.627052][ T182] RBP: 00007ffda1d99a40 R08: 00007ffda1d99a90 R09: 0000000000000080 [ 10.627053][ T182] R10: 0000000000000000 R11: 0000000000000202 R12: 000056502974b280 [ 10.627054][ T182] R13: 00007ffda1d99b74 R14: 0000000000000000 R15: 0000000000000000 [ 10.627061][ T182]