[ 9.403181][ T84] netdevsim netdevsim1337 eni1337np1: renamed from eth0 [ 9.403256][ T84] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.403259][ T84] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 84, name: (udev-worker) [ 9.403262][ T84] preempt_count: 1, expected: 0 [ 9.403263][ T84] RCU nest depth: 0, expected: 0 [ 9.403264][ T84] locks held by (udev-worker)/84: 6, last CPU#2: [ 9.403267][ T84] #0: ffffffffa82cfcc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 9.403282][ T84] #1: ff1100000a872dd0 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 9.403288][ T84] #2: ffffffffa7b69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.403296][ T84] #3: ffffffffa7b69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.403301][ T84] #4: ffffffffa7a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.403306][ T84] #5: ffffffffa7a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.403312][ T84] irq event stamp: 423964 [ 9.403313][ T84] hardirqs last enabled at (423963): [] __down_trylock_console_sem+0x86/0xa0 [ 9.403317][ T84] hardirqs last disabled at (423964): [] console_emit_next_record+0x3d4/0x4c0 [ 9.403320][ T84] softirqs last enabled at (423958): [] netif_change_name+0x216/0x8c0 [ 9.403323][ T84] softirqs last disabled at (423956): [] netif_change_name+0x1ad/0x8c0 [ 9.403326][ T84] Preemption disabled at: [ 9.403327][ T84] [] vprintk_emit+0x31b/0x3e0 [ 9.403334][ T84] CPU: 2 UID: 0 PID: 84 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.403339][ T84] Tainted: [W]=WARN [ 9.403341][ T84] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.403343][ T84] Call Trace: [ 9.403345][ T84] [ 9.403347][ T84] dump_stack_lvl+0x6f/0xa0 [ 9.403355][ T84] ? vprintk_emit+0x31b/0x3e0 [ 9.403358][ T84] __might_resched.cold+0x1fe/0x2c1 [ 9.403364][ T84] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.403370][ T84] ? __kmalloc_noprof+0xdb/0x760 [ 9.403377][ T84] __kmalloc_noprof+0x443/0x760 [ 9.403381][ T84] ? alloc_buf.isra.0+0x4b/0x260 [ 9.403390][ T84] ? do_raw_spin_unlock+0x59/0x250 [ 9.403394][ T84] alloc_buf.isra.0+0x4b/0x260 [ 9.403400][ T84] put_chars+0x1e1/0x2f0 [ 9.403405][ T84] ? __send_to_port+0x420/0x420 [ 9.403413][ T84] ? validate_chain+0x34a/0xc20 [ 9.403419][ T84] hvc_console_print+0x292/0x780 [ 9.403424][ T84] ? mark_usage+0x61/0x170 [ 9.403427][ T84] ? __lock_acquire+0x518/0xc20 [ 9.403429][ T84] ? __lock_acquire+0x518/0xc20 [ 9.403436][ T84] ? hvc_write+0x3a0/0x3a0 [ 9.403439][ T84] ? console_emit_next_record+0x1df/0x4c0 [ 9.403444][ T84] ? rcu_is_watching+0x16/0xd0 [ 9.403449][ T84] ? lock_acquire+0x13c/0x160 [ 9.403456][ T84] console_emit_next_record+0x22f/0x4c0 [ 9.403462][ T84] ? devkmsg_read+0x4b0/0x4b0 [ 9.403464][ T84] ? console_flush_one_record+0x106/0x710 [ 9.403470][ T84] ? rcu_is_watching+0x16/0xd0 [ 9.403473][ T84] ? lock_acquire+0x13c/0x160 [ 9.403480][ T84] console_flush_one_record+0x46f/0x710 [ 9.403487][ T84] ? console_emit_next_record+0x4c0/0x4c0 [ 9.403490][ T84] ? __lock_acquire+0x518/0xc20 [ 9.403499][ T84] console_unlock+0xee/0x1f0 [ 9.403503][ T84] ? console_flush_one_record+0x710/0x710 [ 9.403506][ T84] ? rcu_is_watching+0x16/0xd0 [ 9.403509][ T84] ? lock_acquire+0x60/0x160 [ 9.403516][ T84] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.403518][ T84] ? vprintk_emit+0x320/0x3e0 [ 9.403524][ T84] vprintk_emit+0x37c/0x3e0 [ 9.403530][ T84] ? wake_up_klogd_work_func+0x90/0x90 [ 9.403533][ T84] ? write_profile+0xf0/0xf0 [ 9.403537][ T84] ? unwind_get_return_address+0x67/0xd0 [ 9.403548][ T84] dev_vprintk_emit+0x27f/0x2c0 [ 9.403555][ T84] ? device_rename.cold+0xa/0xa [ 9.403562][ T84] ? filter_irq_stacks+0xd0/0xd0 [ 9.403573][ T84] dev_printk_emit+0xb9/0xee [ 9.403577][ T84] ? dev_vprintk_emit+0x2c0/0x2c0 [ 9.403584][ T84] ? check_prev_add+0x316/0xe90 [ 9.403593][ T84] __netdev_printk+0x160/0x1d0 [ 9.403602][ T84] netdev_info+0xe2/0x116 [ 9.403606][ T84] ? netdev_notice+0x120/0x120 [ 9.403611][ T84] ? find_held_lock+0x2b/0x80 [ 9.403617][ T84] ? __lock_release.isra.0+0x69/0x1a0 [ 9.403621][ T84] ? mark_held_locks+0x40/0x70 [ 9.403627][ T84] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.403631][ T84] netif_change_name.cold+0x4f/0x89 [ 9.403644][ T84] ? __lock_acquire+0x518/0xc20 [ 9.403647][ T84] ? __lock_acquire+0x7/0xc20 [ 9.403650][ T84] ? find_held_lock+0x2/0x80 [ 9.403656][ T84] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.403660][ T84] ? find_held_lock+0x2b/0x80 [ 9.403665][ T84] ? __asan_memset+0x27/0x50 [ 9.403674][ T84] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.403679][ T84] ? __lock_acquire+0x518/0xc20 [ 9.403684][ T84] ? rtnl_link_get_size+0x350/0x350 [ 9.403686][ T84] ? mark_usage+0x61/0x170 [ 9.403688][ T84] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.403693][ T84] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.403696][ T84] ? validate_chain+0x38b/0xc20 [ 9.403704][ T84] ? __lock_acquire+0x518/0xc20 [ 9.403712][ T84] ? lock_acquire.part.0+0xd4/0x280 [ 9.403715][ T84] ? rtnl_setlink+0x29d/0x920 [ 9.403720][ T84] ? rcu_is_watching+0x16/0xd0 [ 9.403724][ T84] ? lock_acquire+0x13c/0x160 [ 9.403726][ T84] ? rcu_is_watching+0x16/0xd0 [ 9.403728][ T84] ? rcu_is_watching+0x16/0xd0 [ 9.403731][ T84] ? trace_contention_end+0xb3/0x180 [ 9.403736][ T84] ? __mutex_lock+0x1db/0x1ea0 [ 9.403741][ T84] ? __mutex_lock+0x9a3/0x1ea0 [ 9.403743][ T84] ? __lock_acquire+0x518/0xc20 [ 9.403747][ T84] ? rtnl_setlink+0x29d/0x920 [ 9.403750][ T84] ? mark_usage+0x61/0x170 [ 9.403755][ T84] ? ww_mutex_lock+0x160/0x160 [ 9.403758][ T84] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.403767][ T84] ? mark_usage+0x61/0x170 [ 9.403772][ T84] ? cap_capable+0x1d7/0x3d0 [ 9.403785][ T84] rtnl_setlink+0x527/0x920 [ 9.403791][ T84] ? __rtnl_newlink+0xa50/0xa50 [ 9.403793][ T84] ? __lock_acquire+0x518/0xc20 [ 9.403839][ T84] ? lock_acquire.part.0+0xd4/0x280 [ 9.403841][ T84] ? find_held_lock+0x2b/0x80 [ 9.403847][ T84] ? __lock_release.isra.0+0x69/0x1a0 [ 9.403850][ T84] ? mark_usage+0x61/0x170 [ 9.403853][ T84] ? __lock_acquire+0x518/0xc20 [ 9.403861][ T84] ? lock_acquire.part.0+0xd4/0x280 [ 9.403863][ T84] ? find_held_lock+0x2b/0x80 [ 9.403867][ T84] ? __rtnl_newlink+0xa50/0xa50 [ 9.403870][ T84] ? __lock_release.isra.0+0x69/0x1a0 [ 9.403877][ T84] ? __rtnl_newlink+0xa50/0xa50 [ 9.403881][ T84] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.403886][ T84] ? rtnl_link_fill+0x900/0x900 [ 9.403889][ T84] ? __lock_acquire+0x518/0xc20 [ 9.403897][ T84] ? lock_acquire.part.0+0xd4/0x280 [ 9.403899][ T84] ? find_held_lock+0x2b/0x80 [ 9.403907][ T84] netlink_rcv_skb+0x14e/0x3a0 [ 9.403911][ T84] ? rtnl_link_fill+0x900/0x900 [ 9.403916][ T84] ? netlink_ack+0xcd0/0xcd0 [ 9.403929][ T84] ? netlink_deliver_tap+0xc5/0x330 [ 9.403931][ T84] ? netlink_deliver_tap+0x13c/0x330 [ 9.403940][ T84] netlink_unicast+0x486/0x750 [ 9.403947][ T84] ? netlink_attachskb+0x810/0x810 [ 9.403950][ T84] ? __lock_acquire+0x518/0xc20 [ 9.403959][ T84] netlink_sendmsg+0x735/0xc60 [ 9.403966][ T84] ? netlink_unicast+0x750/0x750 [ 9.403972][ T84] ? __might_fault+0x97/0x140 [ 9.403976][ T84] ? __might_fault+0x97/0x140 [ 9.403983][ T84] __sys_sendto+0x2aa/0x400 [ 9.403989][ T84] ? __ia32_sys_getpeername+0xd0/0xd0 [ 9.404010][ T84] ? exc_page_fault+0x87/0x100 [ 9.404019][ T84] __x64_sys_sendto+0xe4/0x1f0 [ 9.404023][ T84] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.404028][ T84] ? lockdep_hardirqs_on+0x91/0x130 [ 9.404031][ T84] ? do_syscall_64+0xa6/0x530 [ 9.404034][ T84] do_syscall_64+0xff/0x530 [ 9.404037][ T84] ? exc_page_fault+0xee/0x100 [ 9.404041][ T84] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.404045][ T84] RIP: 0033:0x7f5c3121854e [ 9.404050][ T84] 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.404052][ T84] RSP: 002b:00007ffddcd94580 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 9.404056][ T84] RAX: ffffffffffffffda RBX: 000055b386f48f60 RCX: 00007f5c3121854e [ 9.404058][ T84] RDX: 0000000000000030 RSI: 000055b386f47b40 RDI: 0000000000000018 [ 9.404060][ T84] RBP: 00007ffddcd94590 R08: 00007ffddcd945e0 R09: 0000000000000080 [ 9.404061][ T84] R10: 0000000000000000 R11: 0000000000000202 R12: 000055b38709e900 [ 9.404063][ T84] R13: 00007ffddcd946c4 R14: 0000000000000000 R15: 0000000000000000 [ 9.404076][ T84] [ 9.594310][ T139] netdevsim netdevsim1337 nsim0: renamed from eni1337np1