[ 10.307113][ T85] netdevsim netdevsim1337 eni1337np1: renamed from eth0 [ 10.307184][ T85] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.307186][ T85] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 85, name: (udev-worker) [ 10.307188][ T85] preempt_count: 1, expected: 0 [ 10.307189][ T85] RCU nest depth: 0, expected: 0 [ 10.307190][ T85] locks held by (udev-worker)/85: 6, last CPU#3: [ 10.307192][ T85] #0: ffffffff8a6cfcc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 10.307204][ T85] #1: ff1100000dbc2dd0 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 10.307209][ T85] #2: ffffffff89f69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.307215][ T85] #3: ffffffff89f69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.307218][ T85] #4: ffffffff89e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.307221][ T85] #5: ffffffff89e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.307225][ T85] irq event stamp: 407172 [ 10.307226][ T85] hardirqs last enabled at (407171): [] __down_trylock_console_sem+0x86/0xa0 [ 10.307228][ T85] hardirqs last disabled at (407172): [] console_emit_next_record+0x3d4/0x4c0 [ 10.307230][ T85] softirqs last enabled at (407166): [] netif_change_name+0x216/0x8c0 [ 10.307233][ T85] softirqs last disabled at (407164): [] netif_change_name+0x1ad/0x8c0 [ 10.307235][ T85] Preemption disabled at: [ 10.307236][ T85] [] vprintk_emit+0x31b/0x3e0 [ 10.307241][ T85] CPU: 3 UID: 0 PID: 85 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.307245][ T85] Tainted: [W]=WARN [ 10.307246][ T85] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.307247][ T85] Call Trace: [ 10.307249][ T85] [ 10.307251][ T85] dump_stack_lvl+0x6f/0xa0 [ 10.307256][ T85] ? vprintk_emit+0x31b/0x3e0 [ 10.307258][ T85] __might_resched.cold+0x1fe/0x2c1 [ 10.307262][ T85] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.307266][ T85] ? __kmalloc_noprof+0xdb/0x760 [ 10.307271][ T85] __kmalloc_noprof+0x443/0x760 [ 10.307273][ T85] ? alloc_buf.isra.0+0x4b/0x260 [ 10.307280][ T85] ? do_raw_spin_unlock+0x59/0x250 [ 10.307282][ T85] alloc_buf.isra.0+0x4b/0x260 [ 10.307286][ T85] put_chars+0x1e1/0x2f0 [ 10.307289][ T85] ? __send_to_port+0x420/0x420 [ 10.307294][ T85] ? validate_chain+0x34a/0xc20 [ 10.307297][ T85] hvc_console_print+0x292/0x780 [ 10.307301][ T85] ? mark_usage+0x61/0x170 [ 10.307302][ T85] ? __lock_acquire+0x518/0xc20 [ 10.307304][ T85] ? __lock_acquire+0x518/0xc20 [ 10.307308][ T85] ? hvc_write+0x3a0/0x3a0 [ 10.307310][ T85] ? console_emit_next_record+0x1df/0x4c0 [ 10.307313][ T85] ? rcu_is_watching+0x16/0xd0 [ 10.307317][ T85] ? lock_acquire+0x13c/0x160 [ 10.307321][ T85] console_emit_next_record+0x22f/0x4c0 [ 10.307324][ T85] ? devkmsg_read+0x4b0/0x4b0 [ 10.307326][ T85] ? console_flush_one_record+0x106/0x710 [ 10.307329][ T85] ? rcu_is_watching+0x16/0xd0 [ 10.307331][ T85] ? lock_acquire+0x13c/0x160 [ 10.307335][ T85] console_flush_one_record+0x46f/0x710 [ 10.307339][ T85] ? console_emit_next_record+0x4c0/0x4c0 [ 10.307340][ T85] ? __lock_acquire+0x518/0xc20 [ 10.307346][ T85] console_unlock+0xee/0x1f0 [ 10.307348][ T85] ? console_flush_one_record+0x710/0x710 [ 10.307350][ T85] ? rcu_is_watching+0x16/0xd0 [ 10.307352][ T85] ? lock_acquire+0x60/0x160 [ 10.307356][ T85] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.307357][ T85] ? vprintk_emit+0x320/0x3e0 [ 10.307360][ T85] vprintk_emit+0x37c/0x3e0 [ 10.307364][ T85] ? wake_up_klogd_work_func+0x90/0x90 [ 10.307366][ T85] ? write_profile+0xf0/0xf0 [ 10.307369][ T85] ? unwind_get_return_address+0x67/0xd0 [ 10.307376][ T85] dev_vprintk_emit+0x27f/0x2c0 [ 10.307381][ T85] ? device_rename.cold+0xa/0xa [ 10.307385][ T85] ? filter_irq_stacks+0xd0/0xd0 [ 10.307391][ T85] dev_printk_emit+0xb9/0xee [ 10.307393][ T85] ? dev_vprintk_emit+0x2c0/0x2c0 [ 10.307397][ T85] ? check_prev_add+0x316/0xe90 [ 10.307402][ T85] __netdev_printk+0x160/0x1d0 [ 10.307407][ T85] netdev_info+0xe2/0x116 [ 10.307410][ T85] ? netdev_notice+0x120/0x120 [ 10.307412][ T85] ? find_held_lock+0x2b/0x80 [ 10.307417][ T85] ? __lock_release.isra.0+0x69/0x1a0 [ 10.307419][ T85] ? mark_held_locks+0x40/0x70 [ 10.307422][ T85] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.307425][ T85] netif_change_name.cold+0x4f/0x89 [ 10.307427][ T85] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.307430][ T85] ? validate_chain+0x38b/0xc20 [ 10.307433][ T85] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.307437][ T85] ? trace_hrtimer_start+0xbf/0x1d0 [ 10.307439][ T85] ? __asan_memset+0x27/0x50 [ 10.307445][ T85] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.307448][ T85] ? __hrtimer_start_range_ns+0x161/0x8a0 [ 10.307450][ T85] ? find_held_lock+0x2b/0x80 [ 10.307453][ T85] ? rtnl_link_get_size+0x350/0x350 [ 10.307455][ T85] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.307457][ T85] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.307459][ T85] ? validate_chain+0x38b/0xc20 [ 10.307462][ T85] ? rcu_is_watching+0x16/0xd0 [ 10.307464][ T85] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.307468][ T85] ? __lock_acquire+0x518/0xc20 [ 10.307470][ T85] ? avic_kick_vcpu_by_logical_id+0x45e/0x490 [ 10.307476][ T85] ? lock_acquire.part.0+0xd4/0x280 [ 10.307477][ T85] ? rtnl_setlink+0x29d/0x920 [ 10.307480][ T85] ? rcu_is_watching+0x16/0xd0 [ 10.307483][ T85] ? lock_acquire+0x13c/0x160 [ 10.307484][ T85] ? rcu_is_watching+0x16/0xd0 [ 10.307485][ T85] ? rcu_is_watching+0x16/0xd0 [ 10.307487][ T85] ? trace_contention_end+0xb3/0x180 [ 10.307490][ T85] ? __mutex_lock+0x1db/0x1ea0 [ 10.307494][ T85] ? __mutex_lock+0x9a3/0x1ea0 [ 10.307496][ T85] ? __lock_acquire+0x518/0xc20 [ 10.307497][ T85] ? rcu_is_watching+0x16/0xd0 [ 10.307499][ T85] ? rtnl_setlink+0x29d/0x920 [ 10.307501][ T85] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.307504][ T85] ? ww_mutex_lock+0x160/0x160 [ 10.307506][ T85] ? lockdep_hardirqs_off+0x97/0xf0 [ 10.307512][ T85] ? cap_capable+0x1d7/0x3d0 [ 10.307520][ T85] rtnl_setlink+0x527/0x920 [ 10.307523][ T85] ? __rtnl_newlink+0xa50/0xa50 [ 10.307525][ T85] ? __lock_acquire+0x518/0xc20 [ 10.307547][ T85] ? lock_acquire.part.0+0xd4/0x280 [ 10.307549][ T85] ? find_held_lock+0x2b/0x80 [ 10.307552][ T85] ? __lock_release.isra.0+0x69/0x1a0 [ 10.307554][ T85] ? mark_usage+0x61/0x170 [ 10.307556][ T85] ? __lock_acquire+0x518/0xc20 [ 10.307560][ T85] ? lock_acquire.part.0+0xd4/0x280 [ 10.307562][ T85] ? find_held_lock+0x2b/0x80 [ 10.307564][ T85] ? __rtnl_newlink+0xa50/0xa50 [ 10.307566][ T85] ? __lock_release.isra.0+0x69/0x1a0 [ 10.307570][ T85] ? __rtnl_newlink+0xa50/0xa50 [ 10.307572][ T85] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.307575][ T85] ? rtnl_link_fill+0x900/0x900 [ 10.307577][ T85] ? __lock_acquire+0x518/0xc20 [ 10.307581][ T85] ? lock_acquire.part.0+0xd4/0x280 [ 10.307583][ T85] ? find_held_lock+0x2b/0x80 [ 10.307587][ T85] netlink_rcv_skb+0x14e/0x3a0 [ 10.307590][ T85] ? rtnl_link_fill+0x900/0x900 [ 10.307594][ T85] ? netlink_ack+0xcd0/0xcd0 [ 10.307600][ T85] ? netlink_deliver_tap+0xc5/0x330 [ 10.307602][ T85] ? netlink_deliver_tap+0x13c/0x330 [ 10.307606][ T85] netlink_unicast+0x486/0x750 [ 10.307610][ T85] ? netlink_attachskb+0x810/0x810 [ 10.307612][ T85] ? __lock_acquire+0x518/0xc20 [ 10.307617][ T85] netlink_sendmsg+0x735/0xc60 [ 10.307621][ T85] ? netlink_unicast+0x750/0x750 [ 10.307624][ T85] ? __might_fault+0x97/0x140 [ 10.307628][ T85] ? __might_fault+0x97/0x140 [ 10.307631][ T85] __sys_sendto+0x2aa/0x400 [ 10.307636][ T85] ? __ia32_sys_getpeername+0xd0/0xd0 [ 10.307650][ T85] __x64_sys_sendto+0xe4/0x1f0 [ 10.307653][ T85] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.307655][ T85] ? lockdep_hardirqs_on+0x91/0x130 [ 10.307657][ T85] ? do_syscall_64+0xa6/0x530 [ 10.307659][ T85] do_syscall_64+0xff/0x530 [ 10.307661][ T85] ? exc_page_fault+0xee/0x100 [ 10.307664][ T85] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.307666][ T85] RIP: 0033:0x7f869b51c54e [ 10.307670][ T85] 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.307672][ T85] RSP: 002b:00007ffdd09e5730 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 10.307675][ T85] RAX: ffffffffffffffda RBX: 000055deb902ef70 RCX: 00007f869b51c54e [ 10.307676][ T85] RDX: 0000000000000030 RSI: 000055deb9186620 RDI: 0000000000000016 [ 10.307677][ T85] RBP: 00007ffdd09e5740 R08: 00007ffdd09e5790 R09: 0000000000000080 [ 10.307678][ T85] R10: 0000000000000000 R11: 0000000000000202 R12: 000055deb9189450 [ 10.307678][ T85] R13: 00007ffdd09e5874 R14: 0000000000000000 R15: 0000000000000000 [ 10.307686][ T85] [ 10.497907][ T138] netdevsim netdevsim1337 nsim0: renamed from eni1337np1