[ 9.953673][ T181] netdevsim netdevsim17092 eni17092np1: renamed from eth0 [ 9.953731][ T181] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.953733][ T181] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 181, name: (udev-worker) [ 9.953735][ T181] preempt_count: 1, expected: 0 [ 9.953736][ T181] RCU nest depth: 0, expected: 0 [ 9.953737][ T181] locks held by (udev-worker)/181: 6, last CPU#2: [ 9.953739][ T181] #0: ffffffffb9705fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 9.953751][ T181] #1: ff11000009da2de8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 9.953756][ T181] #2: ffffffffb8f99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.953761][ T181] #3: ffffffffb8f99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.953765][ T181] #4: ffffffffb8e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.953768][ T181] #5: ffffffffb8e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.953772][ T181] irq event stamp: 39318 [ 9.953773][ T181] hardirqs last enabled at (39317): [] __down_trylock_console_sem+0x86/0xa0 [ 9.953776][ T181] hardirqs last disabled at (39318): [] console_emit_next_record+0x3f8/0x4f0 [ 9.953779][ T181] softirqs last enabled at (39312): [] netif_change_name+0x216/0x8c0 [ 9.953782][ T181] softirqs last disabled at (39310): [] netif_change_name+0x1ad/0x8c0 [ 9.953784][ T181] Preemption disabled at: [ 9.953785][ T181] [] vprintk_emit+0x31b/0x3e0 [ 9.953790][ T181] CPU: 2 UID: 0 PID: 181 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.953794][ T181] Tainted: [W]=WARN [ 9.953795][ T181] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.953796][ T181] Call Trace: [ 9.953798][ T181] [ 9.953800][ T181] dump_stack_lvl+0x6f/0xa0 [ 9.953806][ T181] ? vprintk_emit+0x31b/0x3e0 [ 9.953808][ T181] __might_resched.cold+0x1fe/0x2c1 [ 9.953812][ T181] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.953816][ T181] ? __kmalloc_noprof+0xdb/0x760 [ 9.953822][ T181] __kmalloc_noprof+0x443/0x760 [ 9.953825][ T181] ? alloc_buf.isra.0+0x4b/0x260 [ 9.953831][ T181] ? do_raw_spin_unlock+0x59/0x250 [ 9.953834][ T181] alloc_buf.isra.0+0x4b/0x260 [ 9.953838][ T181] put_chars+0x1e1/0x2f0 [ 9.953841][ T181] ? __send_to_port+0x420/0x420 [ 9.953845][ T181] ? validate_chain+0x34a/0xc20 [ 9.953850][ T181] hvc_console_print+0x292/0x780 [ 9.953853][ T181] ? __lock_acquire+0x518/0xc20 [ 9.953859][ T181] ? hvc_write+0x3a0/0x3a0 [ 9.953862][ T181] ? rcu_is_watching+0x16/0xd0 [ 9.953868][ T181] console_emit_next_record+0x252/0x4f0 [ 9.953872][ T181] ? devkmsg_read+0x4e0/0x4e0 [ 9.953877][ T181] ? rcu_is_watching+0x16/0xd0 [ 9.953879][ T181] ? lock_acquire+0x13c/0x160 [ 9.953883][ T181] console_flush_one_record+0x46f/0x710 [ 9.953888][ T181] ? console_emit_next_record+0x4f0/0x4f0 [ 9.953889][ T181] ? __lock_acquire+0x518/0xc20 [ 9.953895][ T181] console_unlock+0xee/0x1f0 [ 9.953898][ T181] ? console_flush_one_record+0x710/0x710 [ 9.953900][ T181] ? rcu_is_watching+0x16/0xd0 [ 9.953902][ T181] ? lock_acquire+0x60/0x160 [ 9.953906][ T181] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.953908][ T181] ? vprintk_emit+0x320/0x3e0 [ 9.953911][ T181] vprintk_emit+0x37c/0x3e0 [ 9.953914][ T181] ? wake_up_klogd_work_func+0x90/0x90 [ 9.953916][ T181] ? write_profile+0xf0/0xf0 [ 9.953919][ T181] ? unwind_get_return_address+0x67/0xd0 [ 9.953925][ T181] dev_vprintk_emit+0x27f/0x2c0 [ 9.953930][ T181] ? device_rename.cold+0xa/0xa [ 9.953935][ T181] ? filter_irq_stacks+0xd0/0xd0 [ 9.953940][ T181] dev_printk_emit+0xb9/0xee [ 9.953943][ T181] ? dev_vprintk_emit+0x2c0/0x2c0 [ 9.953947][ T181] ? check_prev_add+0x316/0xe90 [ 9.953953][ T181] __netdev_printk+0x160/0x1d0 [ 9.953958][ T181] netdev_info+0xe2/0x116 [ 9.953961][ T181] ? netdev_notice+0x120/0x120 [ 9.953964][ T181] ? find_held_lock+0x2b/0x80 [ 9.953967][ T181] ? __lock_release.isra.0+0x69/0x1a0 [ 9.953969][ T181] ? mark_held_locks+0x40/0x70 [ 9.953973][ T181] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.953976][ T181] netif_change_name.cold+0x4f/0x89 [ 9.953979][ T181] ? __lock_acquire+0x518/0xc20 [ 9.953981][ T181] ? mark_lock_irq+0x747/0x9c0 [ 9.953983][ T181] ? find_held_lock+0x2/0x80 [ 9.953986][ T181] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.953988][ T181] ? find_held_lock+0x2b/0x80 [ 9.953991][ T181] ? __asan_memset+0x27/0x50 [ 9.953996][ T181] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.954000][ T181] ? __lock_acquire+0x518/0xc20 [ 9.954003][ T181] ? rtnl_link_get_size+0x350/0x350 [ 9.954005][ T181] ? mark_usage+0x61/0x170 [ 9.954006][ T181] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.954009][ T181] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.954012][ T181] ? validate_chain+0x38b/0xc20 [ 9.954016][ T181] ? __lock_acquire+0x518/0xc20 [ 9.954021][ T181] ? lock_acquire.part.0+0xd4/0x280 [ 9.954023][ T181] ? rtnl_setlink+0x29d/0x920 [ 9.954027][ T181] ? rcu_is_watching+0x16/0xd0 [ 9.954028][ T181] ? lock_acquire+0x13c/0x160 [ 9.954030][ T181] ? rcu_is_watching+0x16/0xd0 [ 9.954031][ T181] ? rcu_is_watching+0x16/0xd0 [ 9.954033][ T181] ? trace_contention_end+0xb3/0x180 [ 9.954036][ T181] ? __mutex_lock+0x1db/0x1ea0 [ 9.954039][ T181] ? __mutex_lock+0x9a3/0x1ea0 [ 9.954041][ T181] ? __lock_acquire+0x518/0xc20 [ 9.954043][ T181] ? rtnl_setlink+0x29d/0x920 [ 9.954046][ T181] ? mark_usage+0x61/0x170 [ 9.954049][ T181] ? ww_mutex_lock+0x160/0x160 [ 9.954051][ T181] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.954057][ T181] ? mark_usage+0x61/0x170 [ 9.954060][ T181] ? cap_capable+0x1d7/0x3d0 [ 9.954068][ T181] rtnl_setlink+0x527/0x920 [ 9.954072][ T181] ? __rtnl_newlink+0xa50/0xa50 [ 9.954073][ T181] ? __lock_acquire+0x518/0xc20 [ 9.954097][ T181] ? lock_acquire.part.0+0xd4/0x280 [ 9.954100][ T181] ? find_held_lock+0x2b/0x80 [ 9.954102][ T181] ? __lock_release.isra.0+0x69/0x1a0 [ 9.954105][ T181] ? mark_usage+0x61/0x170 [ 9.954107][ T181] ? __lock_acquire+0x518/0xc20 [ 9.954112][ T181] ? lock_acquire.part.0+0xd4/0x280 [ 9.954114][ T181] ? find_held_lock+0x2b/0x80 [ 9.954116][ T181] ? __rtnl_newlink+0xa50/0xa50 [ 9.954118][ T181] ? __lock_release.isra.0+0x69/0x1a0 [ 9.954122][ T181] ? __rtnl_newlink+0xa50/0xa50 [ 9.954125][ T181] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.954128][ T181] ? rtnl_link_fill+0x900/0x900 [ 9.954130][ T181] ? __lock_acquire+0x518/0xc20 [ 9.954135][ T181] ? lock_acquire.part.0+0xd4/0x280 [ 9.954137][ T181] ? find_held_lock+0x2b/0x80 [ 9.954141][ T181] netlink_rcv_skb+0x14e/0x3a0 [ 9.954144][ T181] ? rtnl_link_fill+0x900/0x900 [ 9.954148][ T181] ? netlink_ack+0xcd0/0xcd0 [ 9.954155][ T181] ? netlink_deliver_tap+0xc5/0x330 [ 9.954157][ T181] ? netlink_deliver_tap+0x13c/0x330 [ 9.954162][ T181] netlink_unicast+0x486/0x750 [ 9.954166][ T181] ? netlink_attachskb+0x810/0x810 [ 9.954169][ T181] ? __lock_acquire+0x518/0xc20 [ 9.954174][ T181] netlink_sendmsg+0x735/0xc60 [ 9.954178][ T181] ? netlink_unicast+0x750/0x750 [ 9.954182][ T181] ? __might_fault+0x97/0x140 [ 9.954186][ T181] ? __might_fault+0x97/0x140 [ 9.954190][ T181] __sys_sendto+0x2aa/0x400 [ 9.954194][ T181] ? __ia32_sys_getpeername+0xd0/0xd0 [ 9.954205][ T181] ? exc_page_fault+0x87/0x100 [ 9.954210][ T181] __x64_sys_sendto+0xe4/0x1f0 [ 9.954212][ T181] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.954215][ T181] ? lockdep_hardirqs_on+0x91/0x130 [ 9.954217][ T181] ? do_syscall_64+0xa6/0x530 [ 9.954220][ T181] do_syscall_64+0xff/0x530 [ 9.954222][ T181] ? exc_page_fault+0xee/0x100 [ 9.954224][ T181] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.954226][ T181] RIP: 0033:0x7f6d9eb1c54e [ 9.954230][ T181] 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.954232][ T181] RSP: 002b:00007ffeaa2d5b90 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 9.954235][ T181] RAX: ffffffffffffffda RBX: 0000557150d88690 RCX: 00007f6d9eb1c54e [ 9.954236][ T181] RDX: 0000000000000030 RSI: 0000557150ef4020 RDI: 0000000000000014 [ 9.954237][ T181] RBP: 00007ffeaa2d5ba0 R08: 00007ffeaa2d5bf0 R09: 0000000000000080 [ 9.954238][ T181] R10: 0000000000000000 R11: 0000000000000202 R12: 0000557150ef3bf0 [ 9.954238][ T181] R13: 00007ffeaa2d5cd4 R14: 0000000000000000 R15: 0000000000000000 [ 9.954245][ T181] [ 10.153318][ T181] netdevsim netdevsim25671 eni25671np1: renamed from eth0