[ 8.755967][ T88] netdevsim netdevsim1337 eni1337np1: renamed from eth0 [ 8.756026][ T88] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.756028][ T88] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 88, name: (udev-worker) [ 8.756030][ T88] preempt_count: 1, expected: 0 [ 8.756031][ T88] RCU nest depth: 0, expected: 0 [ 8.756032][ T88] locks held by (udev-worker)/88: 6, last CPU#3: [ 8.756034][ T88] #0: ffffffffa42cfcc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 8.756046][ T88] #1: ff1100000ca6add0 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 8.756051][ T88] #2: ffffffffa3b69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.756056][ T88] #3: ffffffffa3b69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.756059][ T88] #4: ffffffffa3a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.756063][ T88] #5: ffffffffa3a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 8.756067][ T88] irq event stamp: 416034 [ 8.756068][ T88] hardirqs last enabled at (416033): [] __down_trylock_console_sem+0x86/0xa0 [ 8.756071][ T88] hardirqs last disabled at (416034): [] console_emit_next_record+0x3d4/0x4c0 [ 8.756073][ T88] softirqs last enabled at (416028): [] netif_change_name+0x216/0x8c0 [ 8.756077][ T88] softirqs last disabled at (416026): [] netif_change_name+0x1ad/0x8c0 [ 8.756080][ T88] Preemption disabled at: [ 8.756081][ T88] [] vprintk_emit+0x31b/0x3e0 [ 8.756088][ T88] CPU: 3 UID: 0 PID: 88 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.756091][ T88] Tainted: [W]=WARN [ 8.756092][ T88] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.756094][ T88] Call Trace: [ 8.756096][ T88] [ 8.756097][ T88] dump_stack_lvl+0x6f/0xa0 [ 8.756103][ T88] ? vprintk_emit+0x31b/0x3e0 [ 8.756105][ T88] __might_resched.cold+0x1fe/0x2c1 [ 8.756110][ T88] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.756114][ T88] ? __kmalloc_noprof+0xdb/0x760 [ 8.756119][ T88] __kmalloc_noprof+0x443/0x760 [ 8.756121][ T88] ? alloc_buf.isra.0+0x4b/0x260 [ 8.756127][ T88] ? do_raw_spin_unlock+0x59/0x250 [ 8.756130][ T88] alloc_buf.isra.0+0x4b/0x260 [ 8.756133][ T88] put_chars+0x1e1/0x2f0 [ 8.756136][ T88] ? __send_to_port+0x420/0x420 [ 8.756141][ T88] ? validate_chain+0x34a/0xc20 [ 8.756144][ T88] hvc_console_print+0x292/0x780 [ 8.756148][ T88] ? mark_usage+0x61/0x170 [ 8.756149][ T88] ? __lock_acquire+0x518/0xc20 [ 8.756150][ T88] ? __lock_acquire+0x518/0xc20 [ 8.756154][ T88] ? hvc_write+0x3a0/0x3a0 [ 8.756156][ T88] ? console_emit_next_record+0x1df/0x4c0 [ 8.756159][ T88] ? rcu_is_watching+0x16/0xd0 [ 8.756163][ T88] ? lock_acquire+0x13c/0x160 [ 8.756167][ T88] console_emit_next_record+0x22f/0x4c0 [ 8.756170][ T88] ? devkmsg_read+0x4b0/0x4b0 [ 8.756171][ T88] ? console_flush_one_record+0x106/0x710 [ 8.756174][ T88] ? rcu_is_watching+0x16/0xd0 [ 8.756176][ T88] ? lock_acquire+0x13c/0x160 [ 8.756180][ T88] console_flush_one_record+0x46f/0x710 [ 8.756183][ T88] ? console_emit_next_record+0x4c0/0x4c0 [ 8.756185][ T88] ? __lock_acquire+0x518/0xc20 [ 8.756190][ T88] console_unlock+0xee/0x1f0 [ 8.756192][ T88] ? console_flush_one_record+0x710/0x710 [ 8.756194][ T88] ? rcu_is_watching+0x16/0xd0 [ 8.756196][ T88] ? lock_acquire+0x60/0x160 [ 8.756199][ T88] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.756201][ T88] ? vprintk_emit+0x320/0x3e0 [ 8.756204][ T88] vprintk_emit+0x37c/0x3e0 [ 8.756207][ T88] ? wake_up_klogd_work_func+0x90/0x90 [ 8.756209][ T88] ? write_profile+0xf0/0xf0 [ 8.756212][ T88] ? unwind_get_return_address+0x67/0xd0 [ 8.756218][ T88] dev_vprintk_emit+0x27f/0x2c0 [ 8.756223][ T88] ? device_rename.cold+0xa/0xa [ 8.756227][ T88] ? filter_irq_stacks+0xd0/0xd0 [ 8.756233][ T88] dev_printk_emit+0xb9/0xee [ 8.756235][ T88] ? dev_vprintk_emit+0x2c0/0x2c0 [ 8.756239][ T88] ? check_prev_add+0x316/0xe90 [ 8.756244][ T88] __netdev_printk+0x160/0x1d0 [ 8.756249][ T88] netdev_info+0xe2/0x116 [ 8.756251][ T88] ? netdev_notice+0x120/0x120 [ 8.756254][ T88] ? find_held_lock+0x2b/0x80 [ 8.756258][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 8.756260][ T88] ? mark_held_locks+0x40/0x70 [ 8.756263][ T88] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 8.756265][ T88] netif_change_name.cold+0x4f/0x89 [ 8.756268][ T88] ? __lock_acquire+0x518/0xc20 [ 8.756270][ T88] ? __lock_acquire+0x7/0xc20 [ 8.756271][ T88] ? find_held_lock+0x2/0x80 [ 8.756274][ T88] ? netdev_adjacent_rename_links+0x470/0x470 [ 8.756277][ T88] ? find_held_lock+0x2b/0x80 [ 8.756280][ T88] ? __asan_memset+0x27/0x50 [ 8.756285][ T88] do_setlink.isra.0+0x1f7d/0x2a60 [ 8.756288][ T88] ? __lock_acquire+0x518/0xc20 [ 8.756293][ T88] ? rtnl_link_get_size+0x350/0x350 [ 8.756294][ T88] ? mark_usage+0x61/0x170 [ 8.756295][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.756298][ T88] ? rcu_read_lock_any_held+0x3c/0x90 [ 8.756300][ T88] ? validate_chain+0x38b/0xc20 [ 8.756304][ T88] ? __lock_acquire+0x518/0xc20 [ 8.756309][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 8.756310][ T88] ? rtnl_setlink+0x29d/0x920 [ 8.756313][ T88] ? rcu_is_watching+0x16/0xd0 [ 8.756315][ T88] ? lock_acquire+0x13c/0x160 [ 8.756316][ T88] ? rcu_is_watching+0x16/0xd0 [ 8.756318][ T88] ? rcu_is_watching+0x16/0xd0 [ 8.756320][ T88] ? trace_contention_end+0xb3/0x180 [ 8.756323][ T88] ? __mutex_lock+0x1db/0x1ea0 [ 8.756326][ T88] ? __mutex_lock+0x9a3/0x1ea0 [ 8.756328][ T88] ? __lock_acquire+0x518/0xc20 [ 8.756330][ T88] ? rtnl_setlink+0x29d/0x920 [ 8.756332][ T88] ? mark_usage+0x61/0x170 [ 8.756334][ T88] ? ww_mutex_lock+0x160/0x160 [ 8.756337][ T88] ? nla_get_range_signed+0x3d0/0x3d0 [ 8.756343][ T88] ? mark_usage+0x61/0x170 [ 8.756345][ T88] ? cap_capable+0x1d7/0x3d0 [ 8.756353][ T88] rtnl_setlink+0x527/0x920 [ 8.756356][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 8.756357][ T88] ? __lock_acquire+0x518/0xc20 [ 8.756379][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 8.756381][ T88] ? find_held_lock+0x2b/0x80 [ 8.756384][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 8.756385][ T88] ? mark_usage+0x61/0x170 [ 8.756387][ T88] ? __lock_acquire+0x518/0xc20 [ 8.756391][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 8.756393][ T88] ? find_held_lock+0x2b/0x80 [ 8.756395][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 8.756397][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 8.756400][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 8.756402][ T88] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 8.756406][ T88] ? rtnl_link_fill+0x900/0x900 [ 8.756407][ T88] ? __lock_acquire+0x518/0xc20 [ 8.756411][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 8.756413][ T88] ? find_held_lock+0x2b/0x80 [ 8.756417][ T88] netlink_rcv_skb+0x14e/0x3a0 [ 8.756420][ T88] ? rtnl_link_fill+0x900/0x900 [ 8.756423][ T88] ? netlink_ack+0xcd0/0xcd0 [ 8.756429][ T88] ? netlink_deliver_tap+0xc5/0x330 [ 8.756431][ T88] ? netlink_deliver_tap+0x13c/0x330 [ 8.756435][ T88] netlink_unicast+0x486/0x750 [ 8.756439][ T88] ? netlink_attachskb+0x810/0x810 [ 8.756441][ T88] ? __lock_acquire+0x518/0xc20 [ 8.756443][ T88] ? do_raw_spin_trylock+0x161/0x180 [ 8.756446][ T88] netlink_sendmsg+0x735/0xc60 [ 8.756450][ T88] ? netlink_unicast+0x750/0x750 [ 8.756454][ T88] ? __might_fault+0x97/0x140 [ 8.756457][ T88] ? __might_fault+0x97/0x140 [ 8.756460][ T88] __sys_sendto+0x2aa/0x400 [ 8.756464][ T88] ? __ia32_sys_getpeername+0xd0/0xd0 [ 8.756475][ T88] ? exc_page_fault+0x87/0x100 [ 8.756480][ T88] __x64_sys_sendto+0xe4/0x1f0 [ 8.756482][ T88] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 8.756486][ T88] ? lockdep_hardirqs_on+0x91/0x130 [ 8.756488][ T88] ? do_syscall_64+0xa6/0x530 [ 8.756490][ T88] do_syscall_64+0xff/0x530 [ 8.756492][ T88] ? exc_page_fault+0xee/0x100 [ 8.756494][ T88] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.756496][ T88] RIP: 0033:0x7fdef51e354e [ 8.756500][ T88] 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 [ 8.756502][ T88] RSP: 002b:00007fff159a07f0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 8.756505][ T88] RAX: ffffffffffffffda RBX: 000055e6eef00000 RCX: 00007fdef51e354e [ 8.756506][ T88] RDX: 0000000000000030 RSI: 000055e6eeefbca0 RDI: 000000000000001e [ 8.756507][ T88] RBP: 00007fff159a0800 R08: 00007fff159a0850 R09: 0000000000000080 [ 8.756507][ T88] R10: 0000000000000000 R11: 0000000000000202 R12: 000055e6ef054a10 [ 8.756508][ T88] R13: 00007fff159a0934 R14: 0000000000000000 R15: 0000000000000000 [ 8.756515][ T88] [ 8.915811][ T138] netdevsim netdevsim1337 nsim0: renamed from eni1337np1