[ 9.504289][ T87] netdevsim netdevsim1337 eni1337np1: renamed from eth0 [ 9.504350][ T87] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.504352][ T87] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 87, name: (udev-worker) [ 9.504354][ T87] preempt_count: 1, expected: 0 [ 9.504355][ T87] RCU nest depth: 0, expected: 0 [ 9.504356][ T87] locks held by (udev-worker)/87: 6, last CPU#1: [ 9.504359][ T87] #0: ffffffff996cfcc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 9.504371][ T87] #1: ff11000013c6add0 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 9.504376][ T87] #2: ffffffff98f69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.504382][ T87] #3: ffffffff98f69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.504385][ T87] #4: ffffffff98e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.504388][ T87] #5: ffffffff98e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.504393][ T87] irq event stamp: 436394 [ 9.504394][ T87] hardirqs last enabled at (436393): [] __down_trylock_console_sem+0x86/0xa0 [ 9.504398][ T87] hardirqs last disabled at (436394): [] console_emit_next_record+0x3d4/0x4c0 [ 9.504400][ T87] softirqs last enabled at (436388): [] netif_change_name+0x216/0x8c0 [ 9.504404][ T87] softirqs last disabled at (436386): [] netif_change_name+0x1ad/0x8c0 [ 9.504407][ T87] Preemption disabled at: [ 9.504408][ T87] [] vprintk_emit+0x31b/0x3e0 [ 9.504416][ T87] CPU: 1 UID: 0 PID: 87 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.504419][ T87] Tainted: [W]=WARN [ 9.504420][ T87] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.504422][ T87] Call Trace: [ 9.504424][ T87] [ 9.504425][ T87] dump_stack_lvl+0x6f/0xa0 [ 9.504431][ T87] ? vprintk_emit+0x31b/0x3e0 [ 9.504433][ T87] __might_resched.cold+0x1fe/0x2c1 [ 9.504438][ T87] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.504442][ T87] ? __kmalloc_noprof+0xdb/0x760 [ 9.504446][ T87] __kmalloc_noprof+0x443/0x760 [ 9.504449][ T87] ? alloc_buf.isra.0+0x4b/0x260 [ 9.504455][ T87] ? do_raw_spin_unlock+0x59/0x250 [ 9.504457][ T87] alloc_buf.isra.0+0x4b/0x260 [ 9.504461][ T87] put_chars+0x1e1/0x2f0 [ 9.504464][ T87] ? __send_to_port+0x420/0x420 [ 9.504469][ T87] ? validate_chain+0x34a/0xc20 [ 9.504473][ T87] hvc_console_print+0x292/0x780 [ 9.504477][ T87] ? mark_usage+0x61/0x170 [ 9.504478][ T87] ? __lock_acquire+0x518/0xc20 [ 9.504480][ T87] ? __lock_acquire+0x518/0xc20 [ 9.504484][ T87] ? hvc_write+0x3a0/0x3a0 [ 9.504486][ T87] ? console_emit_next_record+0x1df/0x4c0 [ 9.504489][ T87] ? rcu_is_watching+0x16/0xd0 [ 9.504493][ T87] ? lock_acquire+0x13c/0x160 [ 9.504497][ T87] console_emit_next_record+0x22f/0x4c0 [ 9.504501][ T87] ? devkmsg_read+0x4b0/0x4b0 [ 9.504502][ T87] ? console_flush_one_record+0x106/0x710 [ 9.504505][ T87] ? rcu_is_watching+0x16/0xd0 [ 9.504507][ T87] ? lock_acquire+0x13c/0x160 [ 9.504511][ T87] console_flush_one_record+0x46f/0x710 [ 9.504515][ T87] ? console_emit_next_record+0x4c0/0x4c0 [ 9.504517][ T87] ? __lock_acquire+0x518/0xc20 [ 9.504522][ T87] console_unlock+0xee/0x1f0 [ 9.504524][ T87] ? console_flush_one_record+0x710/0x710 [ 9.504526][ T87] ? rcu_is_watching+0x16/0xd0 [ 9.504528][ T87] ? lock_acquire+0x60/0x160 [ 9.504532][ T87] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.504533][ T87] ? vprintk_emit+0x320/0x3e0 [ 9.504536][ T87] vprintk_emit+0x37c/0x3e0 [ 9.504540][ T87] ? wake_up_klogd_work_func+0x90/0x90 [ 9.504542][ T87] ? write_profile+0xf0/0xf0 [ 9.504545][ T87] ? unwind_get_return_address+0x67/0xd0 [ 9.504552][ T87] dev_vprintk_emit+0x27f/0x2c0 [ 9.504557][ T87] ? device_rename.cold+0xa/0xa [ 9.504561][ T87] ? filter_irq_stacks+0xd0/0xd0 [ 9.504567][ T87] dev_printk_emit+0xb9/0xee [ 9.504570][ T87] ? dev_vprintk_emit+0x2c0/0x2c0 [ 9.504573][ T87] ? check_prev_add+0x316/0xe90 [ 9.504578][ T87] __netdev_printk+0x160/0x1d0 [ 9.504584][ T87] netdev_info+0xe2/0x116 [ 9.504586][ T87] ? netdev_notice+0x120/0x120 [ 9.504589][ T87] ? find_held_lock+0x2b/0x80 [ 9.504593][ T87] ? __lock_release.isra.0+0x69/0x1a0 [ 9.504595][ T87] ? mark_held_locks+0x40/0x70 [ 9.504598][ T87] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.504601][ T87] netif_change_name.cold+0x4f/0x89 [ 9.504604][ T87] ? __lock_acquire+0x518/0xc20 [ 9.504605][ T87] ? __lock_acquire+0x7/0xc20 [ 9.504607][ T87] ? find_held_lock+0x2/0x80 [ 9.504610][ T87] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.504613][ T87] ? find_held_lock+0x2b/0x80 [ 9.504616][ T87] ? __asan_memset+0x27/0x50 [ 9.504622][ T87] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.504625][ T87] ? __lock_acquire+0x518/0xc20 [ 9.504627][ T87] ? rtnl_link_get_size+0x350/0x350 [ 9.504629][ T87] ? mark_usage+0x61/0x170 [ 9.504630][ T87] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.504633][ T87] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.504635][ T87] ? validate_chain+0x38b/0xc20 [ 9.504640][ T87] ? __lock_acquire+0x518/0xc20 [ 9.504644][ T87] ? lock_acquire.part.0+0xd4/0x280 [ 9.504646][ T87] ? rtnl_setlink+0x29d/0x920 [ 9.504648][ T87] ? rcu_is_watching+0x16/0xd0 [ 9.504651][ T87] ? lock_acquire+0x13c/0x160 [ 9.504652][ T87] ? rcu_is_watching+0x16/0xd0 [ 9.504654][ T87] ? rcu_is_watching+0x16/0xd0 [ 9.504656][ T87] ? trace_contention_end+0xb3/0x180 [ 9.504659][ T87] ? __mutex_lock+0x1db/0x1ea0 [ 9.504662][ T87] ? __mutex_lock+0x9a3/0x1ea0 [ 9.504664][ T87] ? __lock_acquire+0x518/0xc20 [ 9.504666][ T87] ? rtnl_setlink+0x29d/0x920 [ 9.504669][ T87] ? mark_usage+0x61/0x170 [ 9.504671][ T87] ? ww_mutex_lock+0x160/0x160 [ 9.504673][ T87] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.504679][ T87] ? mark_usage+0x61/0x170 [ 9.504682][ T87] ? cap_capable+0x1d7/0x3d0 [ 9.504690][ T87] rtnl_setlink+0x527/0x920 [ 9.504693][ T87] ? __rtnl_newlink+0xa50/0xa50 [ 9.504695][ T87] ? __lock_acquire+0x518/0xc20 [ 9.504717][ T87] ? lock_acquire.part.0+0xd4/0x280 [ 9.504719][ T87] ? find_held_lock+0x2b/0x80 [ 9.504722][ T87] ? __lock_release.isra.0+0x69/0x1a0 [ 9.504724][ T87] ? mark_usage+0x61/0x170 [ 9.504726][ T87] ? __lock_acquire+0x518/0xc20 [ 9.504730][ T87] ? lock_acquire.part.0+0xd4/0x280 [ 9.504732][ T87] ? find_held_lock+0x2b/0x80 [ 9.504734][ T87] ? __rtnl_newlink+0xa50/0xa50 [ 9.504736][ T87] ? __lock_release.isra.0+0x69/0x1a0 [ 9.504740][ T87] ? __rtnl_newlink+0xa50/0xa50 [ 9.504742][ T87] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.504745][ T87] ? rtnl_link_fill+0x900/0x900 [ 9.504747][ T87] ? __lock_acquire+0x518/0xc20 [ 9.504751][ T87] ? lock_acquire.part.0+0xd4/0x280 [ 9.504753][ T87] ? find_held_lock+0x2b/0x80 [ 9.504757][ T87] netlink_rcv_skb+0x14e/0x3a0 [ 9.504760][ T87] ? rtnl_link_fill+0x900/0x900 [ 9.504763][ T87] ? netlink_ack+0xcd0/0xcd0 [ 9.504770][ T87] ? netlink_deliver_tap+0xc5/0x330 [ 9.504771][ T87] ? netlink_deliver_tap+0x13c/0x330 [ 9.504776][ T87] netlink_unicast+0x486/0x750 [ 9.504780][ T87] ? netlink_attachskb+0x810/0x810 [ 9.504782][ T87] ? __lock_acquire+0x518/0xc20 [ 9.504787][ T87] netlink_sendmsg+0x735/0xc60 [ 9.504791][ T87] ? netlink_unicast+0x750/0x750 [ 9.504794][ T87] ? __might_fault+0x97/0x140 [ 9.504798][ T87] ? __might_fault+0x97/0x140 [ 9.504801][ T87] __sys_sendto+0x2aa/0x400 [ 9.504806][ T87] ? __ia32_sys_getpeername+0xd0/0xd0 [ 9.504817][ T87] ? exc_page_fault+0x87/0x100 [ 9.504823][ T87] __x64_sys_sendto+0xe4/0x1f0 [ 9.504825][ T87] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.504829][ T87] ? lockdep_hardirqs_on+0x91/0x130 [ 9.504831][ T87] ? do_syscall_64+0xa6/0x530 [ 9.504833][ T87] do_syscall_64+0xff/0x530 [ 9.504835][ T87] ? exc_page_fault+0xee/0x100 [ 9.504837][ T87] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.504840][ T87] RIP: 0033:0x7f588ebc954e [ 9.504844][ T87] 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.504846][ T87] RSP: 002b:00007ffe617a46c0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 9.504848][ T87] RAX: ffffffffffffffda RBX: 000055b96863ef40 RCX: 00007f588ebc954e [ 9.504850][ T87] RDX: 0000000000000030 RSI: 000055b968627b90 RDI: 000000000000001c [ 9.504850][ T87] RBP: 00007ffe617a46d0 R08: 00007ffe617a4720 R09: 0000000000000080 [ 9.504851][ T87] R10: 0000000000000000 R11: 0000000000000202 R12: 000055b968794300 [ 9.504852][ T87] R13: 00007ffe617a4804 R14: 0000000000000000 R15: 0000000000000000 [ 9.504859][ T87] [ 9.698305][ T139] netdevsim netdevsim1337 nsim0: renamed from eni1337np1