[ 9.883908][ T82] netdevsim netdevsim1337 eni1337np1: renamed from eth0 [ 9.883968][ T82] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.883970][ T82] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 82, name: (udev-worker) [ 9.883972][ T82] preempt_count: 1, expected: 0 [ 9.883973][ T82] RCU nest depth: 0, expected: 0 [ 9.883974][ T82] locks held by (udev-worker)/82: 6, last CPU#3: [ 9.883977][ T82] #0: ffffffffabacfcc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 9.883989][ T82] #1: ff11000001e0add0 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 9.883993][ T82] #2: ffffffffab369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.883999][ T82] #3: ffffffffab369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.884002][ T82] #4: ffffffffab289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.884006][ T82] #5: ffffffffab289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.884010][ T82] irq event stamp: 405664 [ 9.884010][ T82] hardirqs last enabled at (405663): [] __down_trylock_console_sem+0x86/0xa0 [ 9.884013][ T82] hardirqs last disabled at (405664): [] console_emit_next_record+0x3d4/0x4c0 [ 9.884015][ T82] softirqs last enabled at (405658): [] netif_change_name+0x216/0x8c0 [ 9.884017][ T82] softirqs last disabled at (405656): [] netif_change_name+0x1ad/0x8c0 [ 9.884020][ T82] Preemption disabled at: [ 9.884020][ T82] [] vprintk_emit+0x31b/0x3e0 [ 9.884026][ T82] CPU: 3 UID: 0 PID: 82 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.884030][ T82] Tainted: [W]=WARN [ 9.884030][ T82] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.884032][ T82] Call Trace: [ 9.884034][ T82] [ 9.884036][ T82] dump_stack_lvl+0x6f/0xa0 [ 9.884041][ T82] ? vprintk_emit+0x31b/0x3e0 [ 9.884043][ T82] __might_resched.cold+0x1fe/0x2c1 [ 9.884048][ T82] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.884052][ T82] ? __kmalloc_noprof+0xdb/0x760 [ 9.884057][ T82] __kmalloc_noprof+0x443/0x760 [ 9.884059][ T82] ? alloc_buf.isra.0+0x4b/0x260 [ 9.884066][ T82] ? do_raw_spin_unlock+0x59/0x250 [ 9.884068][ T82] alloc_buf.isra.0+0x4b/0x260 [ 9.884072][ T82] put_chars+0x1e1/0x2f0 [ 9.884075][ T82] ? __send_to_port+0x420/0x420 [ 9.884080][ T82] ? validate_chain+0x34a/0xc20 [ 9.884084][ T82] hvc_console_print+0x292/0x780 [ 9.884088][ T82] ? mark_usage+0x61/0x170 [ 9.884090][ T82] ? __lock_acquire+0x518/0xc20 [ 9.884093][ T82] ? __lock_acquire+0x518/0xc20 [ 9.884099][ T82] ? hvc_write+0x3a0/0x3a0 [ 9.884103][ T82] ? console_emit_next_record+0x1df/0x4c0 [ 9.884107][ T82] ? rcu_is_watching+0x16/0xd0 [ 9.884111][ T82] ? lock_acquire+0x13c/0x160 [ 9.884115][ T82] console_emit_next_record+0x22f/0x4c0 [ 9.884119][ T82] ? devkmsg_read+0x4b0/0x4b0 [ 9.884120][ T82] ? console_flush_one_record+0x106/0x710 [ 9.884123][ T82] ? rcu_is_watching+0x16/0xd0 [ 9.884126][ T82] ? lock_acquire+0x13c/0x160 [ 9.884129][ T82] console_flush_one_record+0x46f/0x710 [ 9.884133][ T82] ? console_emit_next_record+0x4c0/0x4c0 [ 9.884135][ T82] ? __lock_acquire+0x518/0xc20 [ 9.884140][ T82] console_unlock+0xee/0x1f0 [ 9.884142][ T82] ? console_flush_one_record+0x710/0x710 [ 9.884144][ T82] ? rcu_is_watching+0x16/0xd0 [ 9.884146][ T82] ? lock_acquire+0x60/0x160 [ 9.884150][ T82] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.884151][ T82] ? vprintk_emit+0x320/0x3e0 [ 9.884154][ T82] vprintk_emit+0x37c/0x3e0 [ 9.884157][ T82] ? wake_up_klogd_work_func+0x90/0x90 [ 9.884160][ T82] ? write_profile+0xf0/0xf0 [ 9.884163][ T82] ? unwind_get_return_address+0x67/0xd0 [ 9.884170][ T82] dev_vprintk_emit+0x27f/0x2c0 [ 9.884174][ T82] ? device_rename.cold+0xa/0xa [ 9.884179][ T82] ? filter_irq_stacks+0xd0/0xd0 [ 9.884185][ T82] dev_printk_emit+0xb9/0xee [ 9.884187][ T82] ? dev_vprintk_emit+0x2c0/0x2c0 [ 9.884191][ T82] ? check_prev_add+0x316/0xe90 [ 9.884196][ T82] __netdev_printk+0x160/0x1d0 [ 9.884201][ T82] netdev_info+0xe2/0x116 [ 9.884204][ T82] ? netdev_notice+0x120/0x120 [ 9.884206][ T82] ? find_held_lock+0x2b/0x80 [ 9.884210][ T82] ? __lock_release.isra.0+0x69/0x1a0 [ 9.884212][ T82] ? mark_held_locks+0x40/0x70 [ 9.884216][ T82] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.884218][ T82] netif_change_name.cold+0x4f/0x89 [ 9.884221][ T82] ? __lock_acquire+0x518/0xc20 [ 9.884223][ T82] ? __lock_acquire+0x7/0xc20 [ 9.884224][ T82] ? find_held_lock+0x2/0x80 [ 9.884227][ T82] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.884230][ T82] ? find_held_lock+0x2b/0x80 [ 9.884233][ T82] ? __asan_memset+0x27/0x50 [ 9.884239][ T82] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.884241][ T82] ? __lock_acquire+0x518/0xc20 [ 9.884244][ T82] ? rtnl_link_get_size+0x350/0x350 [ 9.884246][ T82] ? mark_usage+0x61/0x170 [ 9.884247][ T82] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.884250][ T82] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.884252][ T82] ? validate_chain+0x38b/0xc20 [ 9.884256][ T82] ? __lock_acquire+0x518/0xc20 [ 9.884261][ T82] ? lock_acquire.part.0+0xd4/0x280 [ 9.884262][ T82] ? rtnl_setlink+0x29d/0x920 [ 9.884265][ T82] ? rcu_is_watching+0x16/0xd0 [ 9.884268][ T82] ? lock_acquire+0x13c/0x160 [ 9.884269][ T82] ? rcu_is_watching+0x16/0xd0 [ 9.884270][ T82] ? rcu_is_watching+0x16/0xd0 [ 9.884272][ T82] ? trace_contention_end+0xb3/0x180 [ 9.884275][ T82] ? __mutex_lock+0x1db/0x1ea0 [ 9.884279][ T82] ? __mutex_lock+0x9a3/0x1ea0 [ 9.884281][ T82] ? __lock_acquire+0x518/0xc20 [ 9.884283][ T82] ? rtnl_setlink+0x29d/0x920 [ 9.884285][ T82] ? mark_usage+0x61/0x170 [ 9.884288][ T82] ? ww_mutex_lock+0x160/0x160 [ 9.884290][ T82] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.884296][ T82] ? mark_usage+0x61/0x170 [ 9.884299][ T82] ? cap_capable+0x1d7/0x3d0 [ 9.884306][ T82] rtnl_setlink+0x527/0x920 [ 9.884310][ T82] ? __rtnl_newlink+0xa50/0xa50 [ 9.884311][ T82] ? __lock_acquire+0x518/0xc20 [ 9.884333][ T82] ? lock_acquire.part.0+0xd4/0x280 [ 9.884335][ T82] ? find_held_lock+0x2b/0x80 [ 9.884338][ T82] ? __lock_release.isra.0+0x69/0x1a0 [ 9.884340][ T82] ? mark_usage+0x61/0x170 [ 9.884342][ T82] ? __lock_acquire+0x518/0xc20 [ 9.884346][ T82] ? lock_acquire.part.0+0xd4/0x280 [ 9.884348][ T82] ? find_held_lock+0x2b/0x80 [ 9.884350][ T82] ? __rtnl_newlink+0xa50/0xa50 [ 9.884352][ T82] ? __lock_release.isra.0+0x69/0x1a0 [ 9.884356][ T82] ? __rtnl_newlink+0xa50/0xa50 [ 9.884358][ T82] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.884361][ T82] ? rtnl_link_fill+0x900/0x900 [ 9.884363][ T82] ? __lock_acquire+0x518/0xc20 [ 9.884367][ T82] ? lock_acquire.part.0+0xd4/0x280 [ 9.884369][ T82] ? find_held_lock+0x2b/0x80 [ 9.884372][ T82] netlink_rcv_skb+0x14e/0x3a0 [ 9.884376][ T82] ? rtnl_link_fill+0x900/0x900 [ 9.884379][ T82] ? netlink_ack+0xcd0/0xcd0 [ 9.884385][ T82] ? netlink_deliver_tap+0xc5/0x330 [ 9.884387][ T82] ? netlink_deliver_tap+0x13c/0x330 [ 9.884391][ T82] netlink_unicast+0x486/0x750 [ 9.884395][ T82] ? netlink_attachskb+0x810/0x810 [ 9.884398][ T82] ? __lock_acquire+0x518/0xc20 [ 9.884400][ T82] ? do_raw_spin_trylock+0x161/0x180 [ 9.884403][ T82] netlink_sendmsg+0x735/0xc60 [ 9.884407][ T82] ? netlink_unicast+0x750/0x750 [ 9.884411][ T82] ? __might_fault+0x97/0x140 [ 9.884414][ T82] ? __might_fault+0x97/0x140 [ 9.884417][ T82] __sys_sendto+0x2aa/0x400 [ 9.884422][ T82] ? __ia32_sys_getpeername+0xd0/0xd0 [ 9.884433][ T82] ? exc_page_fault+0x87/0x100 [ 9.884438][ T82] __x64_sys_sendto+0xe4/0x1f0 [ 9.884441][ T82] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.884444][ T82] ? lockdep_hardirqs_on+0x91/0x130 [ 9.884446][ T82] ? do_syscall_64+0xa6/0x530 [ 9.884448][ T82] do_syscall_64+0xff/0x530 [ 9.884450][ T82] ? exc_page_fault+0xee/0x100 [ 9.884453][ T82] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.884455][ T82] RIP: 0033:0x7facfe1ce54e [ 9.884459][ T82] 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 [ 9.884461][ T82] RSP: 002b:00007ffe67bc2d90 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 9.884466][ T82] RAX: ffffffffffffffda RBX: 000055e5bfd26f20 RCX: 00007facfe1ce54e [ 9.884468][ T82] RDX: 0000000000000030 RSI: 000055e5bfd1f230 RDI: 0000000000000014 [ 9.884469][ T82] RBP: 00007ffe67bc2da0 R08: 00007ffe67bc2df0 R09: 0000000000000080 [ 9.884470][ T82] R10: 0000000000000000 R11: 0000000000000202 R12: 000055e5bfe7bb90 [ 9.884471][ T82] R13: 00007ffe67bc2ed4 R14: 0000000000000000 R15: 0000000000000000 [ 9.884478][ T82] [ 10.065918][ T137] netdevsim netdevsim1337 nsim0: renamed from eni1337np1