[ 10.339086][ T183] netdevsim netdevsim31314 eni31314np1: renamed from eth0 [ 10.339151][ T183] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.339153][ T183] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 183, name: (udev-worker) [ 10.339156][ T183] preempt_count: 1, expected: 0 [ 10.339156][ T183] RCU nest depth: 0, expected: 0 [ 10.339157][ T183] locks held by (udev-worker)/183: 6, last CPU#0: [ 10.339159][ T183] #0: ffffffffa3705fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 10.339172][ T183] #1: ff11000002402de8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 10.339176][ T183] #2: ffffffffa2f99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.339182][ T183] #3: ffffffffa2f99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.339186][ T183] #4: ffffffffa2e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.339190][ T183] #5: ffffffffa2e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.339193][ T183] irq event stamp: 29540 [ 10.339194][ T183] hardirqs last enabled at (29539): [] __down_trylock_console_sem+0x86/0xa0 [ 10.339197][ T183] hardirqs last disabled at (29540): [] console_emit_next_record+0x3f8/0x4f0 [ 10.339200][ T183] softirqs last enabled at (29534): [] netif_change_name+0x216/0x8c0 [ 10.339203][ T183] softirqs last disabled at (29532): [] netif_change_name+0x1ad/0x8c0 [ 10.339205][ T183] Preemption disabled at: [ 10.339206][ T183] [] vprintk_emit+0x31b/0x3e0 [ 10.339211][ T183] CPU: 0 UID: 0 PID: 183 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.339215][ T183] Tainted: [W]=WARN [ 10.339216][ T183] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.339218][ T183] Call Trace: [ 10.339220][ T183] [ 10.339222][ T183] dump_stack_lvl+0x6f/0xa0 [ 10.339228][ T183] ? vprintk_emit+0x31b/0x3e0 [ 10.339229][ T183] __might_resched.cold+0x1fe/0x2c1 [ 10.339234][ T183] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.339238][ T183] ? __kmalloc_noprof+0xdb/0x760 [ 10.339244][ T183] __kmalloc_noprof+0x443/0x760 [ 10.339247][ T183] ? alloc_buf.isra.0+0x4b/0x260 [ 10.339253][ T183] ? do_raw_spin_unlock+0x59/0x250 [ 10.339256][ T183] alloc_buf.isra.0+0x4b/0x260 [ 10.339260][ T183] put_chars+0x1e1/0x2f0 [ 10.339263][ T183] ? __send_to_port+0x420/0x420 [ 10.339267][ T183] ? validate_chain+0x34a/0xc20 [ 10.339272][ T183] hvc_console_print+0x292/0x780 [ 10.339276][ T183] ? __lock_acquire+0x518/0xc20 [ 10.339281][ T183] ? hvc_write+0x3a0/0x3a0 [ 10.339284][ T183] ? rcu_is_watching+0x16/0xd0 [ 10.339290][ T183] console_emit_next_record+0x252/0x4f0 [ 10.339294][ T183] ? devkmsg_read+0x4e0/0x4e0 [ 10.339299][ T183] ? rcu_is_watching+0x16/0xd0 [ 10.339300][ T183] ? lock_acquire+0x13c/0x160 [ 10.339305][ T183] console_flush_one_record+0x46f/0x710 [ 10.339309][ T183] ? console_emit_next_record+0x4f0/0x4f0 [ 10.339311][ T183] ? __lock_acquire+0x518/0xc20 [ 10.339317][ T183] console_unlock+0xee/0x1f0 [ 10.339319][ T183] ? console_flush_one_record+0x710/0x710 [ 10.339321][ T183] ? rcu_is_watching+0x16/0xd0 [ 10.339323][ T183] ? lock_acquire+0x60/0x160 [ 10.339327][ T183] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.339329][ T183] ? vprintk_emit+0x320/0x3e0 [ 10.339332][ T183] vprintk_emit+0x37c/0x3e0 [ 10.339335][ T183] ? wake_up_klogd_work_func+0x90/0x90 [ 10.339337][ T183] ? write_profile+0xf0/0xf0 [ 10.339339][ T183] ? unwind_get_return_address+0x67/0xd0 [ 10.339345][ T183] dev_vprintk_emit+0x27f/0x2c0 [ 10.339350][ T183] ? device_rename.cold+0xa/0xa [ 10.339355][ T183] ? filter_irq_stacks+0xd0/0xd0 [ 10.339360][ T183] dev_printk_emit+0xb9/0xee [ 10.339363][ T183] ? dev_vprintk_emit+0x2c0/0x2c0 [ 10.339367][ T183] ? check_prev_add+0x316/0xe90 [ 10.339372][ T183] __netdev_printk+0x160/0x1d0 [ 10.339378][ T183] netdev_info+0xe2/0x116 [ 10.339381][ T183] ? netdev_notice+0x120/0x120 [ 10.339383][ T183] ? find_held_lock+0x2b/0x80 [ 10.339386][ T183] ? __lock_release.isra.0+0x69/0x1a0 [ 10.339389][ T183] ? mark_held_locks+0x40/0x70 [ 10.339392][ T183] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.339395][ T183] netif_change_name.cold+0x4f/0x89 [ 10.339398][ T183] ? __lock_acquire+0x518/0xc20 [ 10.339400][ T183] ? mark_lock_irq+0x747/0x9c0 [ 10.339402][ T183] ? find_held_lock+0x2/0x80 [ 10.339405][ T183] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.339407][ T183] ? find_held_lock+0x2b/0x80 [ 10.339410][ T183] ? __asan_memset+0x27/0x50 [ 10.339415][ T183] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.339418][ T183] ? __lock_acquire+0x518/0xc20 [ 10.339422][ T183] ? rtnl_link_get_size+0x350/0x350 [ 10.339423][ T183] ? mark_usage+0x61/0x170 [ 10.339425][ T183] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.339427][ T183] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.339430][ T183] ? validate_chain+0x38b/0xc20 [ 10.339435][ T183] ? __lock_acquire+0x518/0xc20 [ 10.339440][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 10.339442][ T183] ? rtnl_setlink+0x29d/0x920 [ 10.339445][ T183] ? rcu_is_watching+0x16/0xd0 [ 10.339447][ T183] ? lock_acquire+0x13c/0x160 [ 10.339448][ T183] ? rcu_is_watching+0x16/0xd0 [ 10.339449][ T183] ? rcu_is_watching+0x16/0xd0 [ 10.339451][ T183] ? trace_contention_end+0xb3/0x180 [ 10.339454][ T183] ? __mutex_lock+0x1db/0x1ea0 [ 10.339458][ T183] ? __mutex_lock+0x9a3/0x1ea0 [ 10.339459][ T183] ? __lock_acquire+0x518/0xc20 [ 10.339462][ T183] ? rtnl_setlink+0x29d/0x920 [ 10.339464][ T183] ? mark_usage+0x61/0x170 [ 10.339467][ T183] ? ww_mutex_lock+0x160/0x160 [ 10.339469][ T183] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.339475][ T183] ? mark_usage+0x61/0x170 [ 10.339478][ T183] ? cap_capable+0x1d7/0x3d0 [ 10.339486][ T183] rtnl_setlink+0x527/0x920 [ 10.339490][ T183] ? __rtnl_newlink+0xa50/0xa50 [ 10.339491][ T183] ? __lock_acquire+0x518/0xc20 [ 10.339520][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 10.339522][ T183] ? find_held_lock+0x2b/0x80 [ 10.339525][ T183] ? __lock_release.isra.0+0x69/0x1a0 [ 10.339527][ T183] ? mark_usage+0x61/0x170 [ 10.339529][ T183] ? __lock_acquire+0x518/0xc20 [ 10.339533][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 10.339535][ T183] ? find_held_lock+0x2b/0x80 [ 10.339537][ T183] ? __rtnl_newlink+0xa50/0xa50 [ 10.339540][ T183] ? __lock_release.isra.0+0x69/0x1a0 [ 10.339543][ T183] ? __rtnl_newlink+0xa50/0xa50 [ 10.339546][ T183] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.339549][ T183] ? rtnl_link_fill+0x900/0x900 [ 10.339551][ T183] ? __lock_acquire+0x518/0xc20 [ 10.339556][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 10.339558][ T183] ? find_held_lock+0x2b/0x80 [ 10.339561][ T183] netlink_rcv_skb+0x14e/0x3a0 [ 10.339565][ T183] ? rtnl_link_fill+0x900/0x900 [ 10.339568][ T183] ? netlink_ack+0xcd0/0xcd0 [ 10.339577][ T183] ? netlink_deliver_tap+0xc5/0x330 [ 10.339579][ T183] ? netlink_deliver_tap+0x13c/0x330 [ 10.339584][ T183] netlink_unicast+0x486/0x750 [ 10.339588][ T183] ? netlink_attachskb+0x810/0x810 [ 10.339590][ T183] ? __lock_acquire+0x518/0xc20 [ 10.339595][ T183] netlink_sendmsg+0x735/0xc60 [ 10.339599][ T183] ? netlink_unicast+0x750/0x750 [ 10.339603][ T183] ? __might_fault+0x97/0x140 [ 10.339607][ T183] ? __might_fault+0x97/0x140 [ 10.339611][ T183] __sys_sendto+0x2aa/0x400 [ 10.339614][ T183] ? __ia32_sys_getpeername+0xd0/0xd0 [ 10.339625][ T183] ? exc_page_fault+0x87/0x100 [ 10.339630][ T183] __x64_sys_sendto+0xe4/0x1f0 [ 10.339632][ T183] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.339635][ T183] ? lockdep_hardirqs_on+0x91/0x130 [ 10.339637][ T183] ? do_syscall_64+0xa6/0x530 [ 10.339639][ T183] do_syscall_64+0xff/0x530 [ 10.339641][ T183] ? exc_page_fault+0xee/0x100 [ 10.339644][ T183] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.339646][ T183] RIP: 0033:0x7f245f2c554e [ 10.339649][ T183] 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.339651][ T183] RSP: 002b:00007fffd45beaa0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 10.339654][ T183] RAX: ffffffffffffffda RBX: 0000558d4341ae10 RCX: 00007f245f2c554e [ 10.339655][ T183] RDX: 0000000000000030 RSI: 0000558d432a9b70 RDI: 000000000000001a [ 10.339656][ T183] RBP: 00007fffd45beab0 R08: 00007fffd45beb00 R09: 0000000000000080 [ 10.339657][ T183] R10: 0000000000000000 R11: 0000000000000202 R12: 0000558d43421520 [ 10.339657][ T183] R13: 00007fffd45bebe4 R14: 0000000000000000 R15: 0000000000000000 [ 10.339664][ T183] [ 10.588555][ T189] ip (189) used greatest stack depth: 24536 bytes left