[ 10.419951][ T86] netdevsim netdevsim286 eni286np1: renamed from eth0 [ 10.420011][ T86] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.420013][ T86] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 86, name: (udev-worker) [ 10.420015][ T86] preempt_count: 1, expected: 0 [ 10.420016][ T86] RCU nest depth: 0, expected: 0 [ 10.420017][ T86] locks held by (udev-worker)/86: 6, last CPU#0: [ 10.420019][ T86] #0: ffffffff8c8fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 10.420031][ T86] #1: ff11000008d5add8 (&dev_instance_lock_key#3){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 10.420035][ T86] #2: ffffffff8c199cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.420040][ T86] #3: ffffffff8c199d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.420044][ T86] #4: ffffffff8c089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.420047][ T86] #5: ffffffff8c089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.420051][ T86] irq event stamp: 483812 [ 10.420051][ T86] hardirqs last enabled at (483811): [] __down_trylock_console_sem+0x86/0xa0 [ 10.420054][ T86] hardirqs last disabled at (483812): [] console_emit_next_record+0x3f8/0x4f0 [ 10.420055][ T86] softirqs last enabled at (483806): [] netif_change_name+0x216/0x8c0 [ 10.420058][ T86] softirqs last disabled at (483804): [] netif_change_name+0x1ad/0x8c0 [ 10.420060][ T86] Preemption disabled at: [ 10.420060][ T86] [] vprintk_emit+0x31b/0x3e0 [ 10.420066][ T86] CPU: 0 UID: 0 PID: 86 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.420069][ T86] Tainted: [W]=WARN [ 10.420070][ T86] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.420072][ T86] Call Trace: [ 10.420073][ T86] [ 10.420075][ T86] dump_stack_lvl+0x6f/0xa0 [ 10.420080][ T86] ? vprintk_emit+0x31b/0x3e0 [ 10.420082][ T86] __might_resched.cold+0x1fe/0x2c1 [ 10.420087][ T86] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.420091][ T86] ? __kmalloc_noprof+0xdb/0x760 [ 10.420096][ T86] __kmalloc_noprof+0x443/0x760 [ 10.420098][ T86] ? alloc_buf.isra.0+0x4b/0x260 [ 10.420103][ T86] ? do_raw_spin_unlock+0x59/0x250 [ 10.420106][ T86] alloc_buf.isra.0+0x4b/0x260 [ 10.420109][ T86] put_chars+0x1e1/0x2f0 [ 10.420112][ T86] ? __send_to_port+0x420/0x420 [ 10.420115][ T86] ? validate_chain+0x34a/0xc20 [ 10.420120][ T86] hvc_console_print+0x292/0x780 [ 10.420122][ T86] ? __lock_acquire+0x518/0xc20 [ 10.420127][ T86] ? hvc_write+0x3a0/0x3a0 [ 10.420130][ T86] ? rcu_is_watching+0x16/0xd0 [ 10.420136][ T86] console_emit_next_record+0x252/0x4f0 [ 10.420140][ T86] ? devkmsg_read+0x4e0/0x4e0 [ 10.420144][ T86] ? rcu_is_watching+0x16/0xd0 [ 10.420146][ T86] ? lock_acquire+0x13c/0x160 [ 10.420150][ T86] console_flush_one_record+0x46f/0x710 [ 10.420156][ T86] ? console_emit_next_record+0x4f0/0x4f0 [ 10.420157][ T86] ? __lock_acquire+0x518/0xc20 [ 10.420162][ T86] console_unlock+0xee/0x1f0 [ 10.420165][ T86] ? console_flush_one_record+0x710/0x710 [ 10.420166][ T86] ? rcu_is_watching+0x16/0xd0 [ 10.420169][ T86] ? lock_acquire+0x60/0x160 [ 10.420172][ T86] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.420173][ T86] ? vprintk_emit+0x320/0x3e0 [ 10.420176][ T86] vprintk_emit+0x37c/0x3e0 [ 10.420180][ T86] ? wake_up_klogd_work_func+0x90/0x90 [ 10.420182][ T86] ? write_profile+0xf0/0xf0 [ 10.420185][ T86] ? unwind_get_return_address+0x67/0xd0 [ 10.420192][ T86] dev_vprintk_emit+0x27f/0x2c0 [ 10.420197][ T86] ? device_rename.cold+0xa/0xa [ 10.420201][ T86] ? filter_irq_stacks+0xd0/0xd0 [ 10.420207][ T86] dev_printk_emit+0xb9/0xee [ 10.420210][ T86] ? dev_vprintk_emit+0x2c0/0x2c0 [ 10.420214][ T86] ? check_prev_add+0x316/0xe90 [ 10.420218][ T86] __netdev_printk+0x160/0x1d0 [ 10.420223][ T86] netdev_info+0xe2/0x116 [ 10.420225][ T86] ? netdev_notice+0x120/0x120 [ 10.420228][ T86] ? find_held_lock+0x2b/0x80 [ 10.420232][ T86] ? __lock_release.isra.0+0x69/0x1a0 [ 10.420234][ T86] ? mark_held_locks+0x40/0x70 [ 10.420237][ T86] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.420240][ T86] netif_change_name.cold+0x4f/0x89 [ 10.420243][ T86] ? __lock_acquire+0x518/0xc20 [ 10.420244][ T86] ? rwsem_optimistic_spin+0x3c7/0x480 [ 10.420247][ T86] ? find_held_lock+0x2/0x80 [ 10.420250][ T86] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.420252][ T86] ? find_held_lock+0x2b/0x80 [ 10.420255][ T86] ? __asan_memset+0x27/0x50 [ 10.420261][ T86] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.420264][ T86] ? __lock_acquire+0x518/0xc20 [ 10.420266][ T86] ? rtnl_link_get_size+0x350/0x350 [ 10.420268][ T86] ? mark_usage+0x61/0x170 [ 10.420269][ T86] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.420272][ T86] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.420274][ T86] ? validate_chain+0x38b/0xc20 [ 10.420278][ T86] ? __lock_acquire+0x518/0xc20 [ 10.420282][ T86] ? lock_acquire.part.0+0xd4/0x280 [ 10.420284][ T86] ? rtnl_setlink+0x29d/0x920 [ 10.420287][ T86] ? rcu_is_watching+0x16/0xd0 [ 10.420289][ T86] ? lock_acquire+0x13c/0x160 [ 10.420290][ T86] ? rcu_is_watching+0x16/0xd0 [ 10.420292][ T86] ? rcu_is_watching+0x16/0xd0 [ 10.420294][ T86] ? trace_contention_end+0xb3/0x180 [ 10.420296][ T86] ? __mutex_lock+0x1db/0x1ea0 [ 10.420299][ T86] ? __mutex_lock+0x9a3/0x1ea0 [ 10.420301][ T86] ? __lock_acquire+0x518/0xc20 [ 10.420302][ T86] ? rtnl_setlink+0x29d/0x920 [ 10.420305][ T86] ? mark_usage+0x61/0x170 [ 10.420307][ T86] ? ww_mutex_lock+0x160/0x160 [ 10.420309][ T86] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.420315][ T86] ? mark_usage+0x61/0x170 [ 10.420318][ T86] ? cap_capable+0x1d7/0x3d0 [ 10.420326][ T86] rtnl_setlink+0x527/0x920 [ 10.420329][ T86] ? __rtnl_newlink+0xa50/0xa50 [ 10.420330][ T86] ? __lock_acquire+0x518/0xc20 [ 10.420354][ T86] ? lock_acquire.part.0+0xd4/0x280 [ 10.420356][ T86] ? find_held_lock+0x2b/0x80 [ 10.420359][ T86] ? __lock_release.isra.0+0x69/0x1a0 [ 10.420361][ T86] ? mark_usage+0x61/0x170 [ 10.420362][ T86] ? __lock_acquire+0x518/0xc20 [ 10.420367][ T86] ? lock_acquire.part.0+0xd4/0x280 [ 10.420368][ T86] ? find_held_lock+0x2b/0x80 [ 10.420371][ T86] ? __rtnl_newlink+0xa50/0xa50 [ 10.420373][ T86] ? __lock_release.isra.0+0x69/0x1a0 [ 10.420376][ T86] ? __rtnl_newlink+0xa50/0xa50 [ 10.420379][ T86] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.420382][ T86] ? rtnl_link_fill+0x900/0x900 [ 10.420384][ T86] ? __lock_acquire+0x518/0xc20 [ 10.420388][ T86] ? lock_acquire.part.0+0xd4/0x280 [ 10.420389][ T86] ? find_held_lock+0x2b/0x80 [ 10.420393][ T86] netlink_rcv_skb+0x14e/0x3a0 [ 10.420396][ T86] ? rtnl_link_fill+0x900/0x900 [ 10.420400][ T86] ? netlink_ack+0xcd0/0xcd0 [ 10.420406][ T86] ? netlink_deliver_tap+0xc5/0x330 [ 10.420408][ T86] ? netlink_deliver_tap+0x13c/0x330 [ 10.420413][ T86] netlink_unicast+0x486/0x750 [ 10.420417][ T86] ? netlink_attachskb+0x810/0x810 [ 10.420419][ T86] ? __lock_acquire+0x518/0xc20 [ 10.420424][ T86] netlink_sendmsg+0x735/0xc60 [ 10.420428][ T86] ? netlink_unicast+0x750/0x750 [ 10.420431][ T86] ? __might_fault+0x97/0x140 [ 10.420435][ T86] ? __might_fault+0x97/0x140 [ 10.420438][ T86] __sys_sendto+0x2aa/0x400 [ 10.420442][ T86] ? __ia32_sys_getpeername+0xd0/0xd0 [ 10.420455][ T86] __x64_sys_sendto+0xe4/0x1f0 [ 10.420457][ T86] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.420461][ T86] ? lockdep_hardirqs_on+0x91/0x130 [ 10.420463][ T86] ? do_syscall_64+0xa6/0x530 [ 10.420465][ T86] do_syscall_64+0xff/0x530 [ 10.420466][ T86] ? exc_page_fault+0xee/0x100 [ 10.420469][ T86] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.420471][ T86] RIP: 0033:0x7f8f10ac254e [ 10.420476][ T86] 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.420477][ T86] RSP: 002b:00007ffd3cb8b800 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 10.420480][ T86] RAX: ffffffffffffffda RBX: 00005632674d4f40 RCX: 00007f8f10ac254e [ 10.420482][ T86] RDX: 0000000000000030 RSI: 000056326762d970 RDI: 000000000000001a [ 10.420482][ T86] RBP: 00007ffd3cb8b810 R08: 00007ffd3cb8b860 R09: 0000000000000080 [ 10.420483][ T86] R10: 0000000000000000 R11: 0000000000000202 R12: 00005632676342f0 [ 10.420484][ T86] R13: 00007ffd3cb8b944 R14: 0000000000000000 R15: 0000000000000000 [ 10.420491][ T86]