[ 9.933914][ T185] netdevsim netdevsim11838 eni11838np1: renamed from eth0 [ 9.933976][ T185] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.933978][ T185] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 185, name: (udev-worker) [ 9.933980][ T185] preempt_count: 1, expected: 0 [ 9.933981][ T185] RCU nest depth: 0, expected: 0 [ 9.933982][ T185] locks held by (udev-worker)/185: 6, last CPU#2: [ 9.933984][ T185] #0: ffffffffbbd05fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 9.933997][ T185] #1: ff11000002402de8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 9.934002][ T185] #2: ffffffffbb599cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.934007][ T185] #3: ffffffffbb599d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.934011][ T185] #4: ffffffffbb489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.934015][ T185] #5: ffffffffbb489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.934019][ T185] irq event stamp: 24282 [ 9.934020][ T185] hardirqs last enabled at (24281): [] __down_trylock_console_sem+0x86/0xa0 [ 9.934024][ T185] hardirqs last disabled at (24282): [] console_emit_next_record+0x3f8/0x4f0 [ 9.934026][ T185] softirqs last enabled at (24276): [] netif_change_name+0x216/0x8c0 [ 9.934029][ T185] softirqs last disabled at (24274): [] netif_change_name+0x1ad/0x8c0 [ 9.934032][ T185] Preemption disabled at: [ 9.934033][ T185] [] vprintk_emit+0x31b/0x3e0 [ 9.934038][ T185] CPU: 2 UID: 0 PID: 185 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.934041][ T185] Tainted: [W]=WARN [ 9.934042][ T185] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.934044][ T185] Call Trace: [ 9.934046][ T185] [ 9.934047][ T185] dump_stack_lvl+0x6f/0xa0 [ 9.934053][ T185] ? vprintk_emit+0x31b/0x3e0 [ 9.934055][ T185] __might_resched.cold+0x1fe/0x2c1 [ 9.934059][ T185] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.934064][ T185] ? __kmalloc_noprof+0xdb/0x760 [ 9.934070][ T185] __kmalloc_noprof+0x443/0x760 [ 9.934073][ T185] ? alloc_buf.isra.0+0x4b/0x260 [ 9.934079][ T185] ? do_raw_spin_unlock+0x59/0x250 [ 9.934082][ T185] alloc_buf.isra.0+0x4b/0x260 [ 9.934086][ T185] put_chars+0x1e1/0x2f0 [ 9.934089][ T185] ? __send_to_port+0x420/0x420 [ 9.934093][ T185] ? validate_chain+0x34a/0xc20 [ 9.934099][ T185] hvc_console_print+0x292/0x780 [ 9.934102][ T185] ? __lock_acquire+0x518/0xc20 [ 9.934107][ T185] ? hvc_write+0x3a0/0x3a0 [ 9.934110][ T185] ? rcu_is_watching+0x16/0xd0 [ 9.934117][ T185] console_emit_next_record+0x252/0x4f0 [ 9.934121][ T185] ? devkmsg_read+0x4e0/0x4e0 [ 9.934126][ T185] ? rcu_is_watching+0x16/0xd0 [ 9.934127][ T185] ? lock_acquire+0x13c/0x160 [ 9.934132][ T185] console_flush_one_record+0x46f/0x710 [ 9.934136][ T185] ? console_emit_next_record+0x4f0/0x4f0 [ 9.934138][ T185] ? __lock_acquire+0x518/0xc20 [ 9.934144][ T185] console_unlock+0xee/0x1f0 [ 9.934147][ T185] ? console_flush_one_record+0x710/0x710 [ 9.934149][ T185] ? rcu_is_watching+0x16/0xd0 [ 9.934151][ T185] ? lock_acquire+0x60/0x160 [ 9.934155][ T185] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.934157][ T185] ? vprintk_emit+0x320/0x3e0 [ 9.934160][ T185] vprintk_emit+0x37c/0x3e0 [ 9.934163][ T185] ? wake_up_klogd_work_func+0x90/0x90 [ 9.934165][ T185] ? write_profile+0xf0/0xf0 [ 9.934168][ T185] ? unwind_get_return_address+0x67/0xd0 [ 9.934175][ T185] dev_vprintk_emit+0x27f/0x2c0 [ 9.934180][ T185] ? device_rename.cold+0xa/0xa [ 9.934185][ T185] ? filter_irq_stacks+0xd0/0xd0 [ 9.934190][ T185] dev_printk_emit+0xb9/0xee [ 9.934193][ T185] ? dev_vprintk_emit+0x2c0/0x2c0 [ 9.934197][ T185] ? check_prev_add+0x316/0xe90 [ 9.934203][ T185] __netdev_printk+0x160/0x1d0 [ 9.934209][ T185] netdev_info+0xe2/0x116 [ 9.934211][ T185] ? netdev_notice+0x120/0x120 [ 9.934214][ T185] ? find_held_lock+0x2b/0x80 [ 9.934217][ T185] ? __lock_release.isra.0+0x69/0x1a0 [ 9.934220][ T185] ? mark_held_locks+0x40/0x70 [ 9.934224][ T185] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.934226][ T185] netif_change_name.cold+0x4f/0x89 [ 9.934229][ T185] ? __lock_acquire+0x518/0xc20 [ 9.934231][ T185] ? mark_lock_irq+0x747/0x9c0 [ 9.934233][ T185] ? find_held_lock+0x2/0x80 [ 9.934236][ T185] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.934239][ T185] ? find_held_lock+0x2b/0x80 [ 9.934242][ T185] ? __asan_memset+0x27/0x50 [ 9.934247][ T185] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.934250][ T185] ? __lock_acquire+0x518/0xc20 [ 9.934254][ T185] ? rtnl_link_get_size+0x350/0x350 [ 9.934255][ T185] ? mark_usage+0x61/0x170 [ 9.934257][ T185] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.934260][ T185] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.934263][ T185] ? validate_chain+0x38b/0xc20 [ 9.934267][ T185] ? __lock_acquire+0x518/0xc20 [ 9.934272][ T185] ? lock_acquire.part.0+0xd4/0x280 [ 9.934275][ T185] ? rtnl_setlink+0x29d/0x920 [ 9.934278][ T185] ? rcu_is_watching+0x16/0xd0 [ 9.934280][ T185] ? lock_acquire+0x13c/0x160 [ 9.934281][ T185] ? rcu_is_watching+0x16/0xd0 [ 9.934283][ T185] ? rcu_is_watching+0x16/0xd0 [ 9.934284][ T185] ? trace_contention_end+0xb3/0x180 [ 9.934287][ T185] ? __mutex_lock+0x1db/0x1ea0 [ 9.934291][ T185] ? __mutex_lock+0x9a3/0x1ea0 [ 9.934293][ T185] ? __lock_acquire+0x518/0xc20 [ 9.934295][ T185] ? rtnl_setlink+0x29d/0x920 [ 9.934298][ T185] ? mark_usage+0x61/0x170 [ 9.934300][ T185] ? ww_mutex_lock+0x160/0x160 [ 9.934303][ T185] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.934309][ T185] ? mark_usage+0x61/0x170 [ 9.934312][ T185] ? cap_capable+0x1d7/0x3d0 [ 9.934320][ T185] rtnl_setlink+0x527/0x920 [ 9.934324][ T185] ? __rtnl_newlink+0xa50/0xa50 [ 9.934326][ T185] ? __lock_acquire+0x518/0xc20 [ 9.934351][ T185] ? lock_acquire.part.0+0xd4/0x280 [ 9.934353][ T185] ? find_held_lock+0x2b/0x80 [ 9.934356][ T185] ? __lock_release.isra.0+0x69/0x1a0 [ 9.934358][ T185] ? mark_usage+0x61/0x170 [ 9.934360][ T185] ? __lock_acquire+0x518/0xc20 [ 9.934365][ T185] ? lock_acquire.part.0+0xd4/0x280 [ 9.934367][ T185] ? find_held_lock+0x2b/0x80 [ 9.934369][ T185] ? __rtnl_newlink+0xa50/0xa50 [ 9.934371][ T185] ? __lock_release.isra.0+0x69/0x1a0 [ 9.934375][ T185] ? __rtnl_newlink+0xa50/0xa50 [ 9.934378][ T185] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.934382][ T185] ? rtnl_link_fill+0x900/0x900 [ 9.934383][ T185] ? __lock_acquire+0x518/0xc20 [ 9.934388][ T185] ? lock_acquire.part.0+0xd4/0x280 [ 9.934390][ T185] ? find_held_lock+0x2b/0x80 [ 9.934394][ T185] netlink_rcv_skb+0x14e/0x3a0 [ 9.934398][ T185] ? rtnl_link_fill+0x900/0x900 [ 9.934401][ T185] ? netlink_ack+0xcd0/0xcd0 [ 9.934408][ T185] ? netlink_deliver_tap+0xc5/0x330 [ 9.934410][ T185] ? netlink_deliver_tap+0x13c/0x330 [ 9.934415][ T185] netlink_unicast+0x486/0x750 [ 9.934420][ T185] ? netlink_attachskb+0x810/0x810 [ 9.934423][ T185] ? __lock_acquire+0x518/0xc20 [ 9.934428][ T185] netlink_sendmsg+0x735/0xc60 [ 9.934440][ T185] ? netlink_unicast+0x750/0x750 [ 9.934444][ T185] ? __might_fault+0x97/0x140 [ 9.934449][ T185] ? __might_fault+0x97/0x140 [ 9.934453][ T185] __sys_sendto+0x2aa/0x400 [ 9.934456][ T185] ? __ia32_sys_getpeername+0xd0/0xd0 [ 9.934468][ T185] ? exc_page_fault+0x87/0x100 [ 9.934473][ T185] __x64_sys_sendto+0xe4/0x1f0 [ 9.934475][ T185] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.934479][ T185] ? lockdep_hardirqs_on+0x91/0x130 [ 9.934480][ T185] ? do_syscall_64+0xa6/0x530 [ 9.934483][ T185] do_syscall_64+0xff/0x530 [ 9.934485][ T185] ? exc_page_fault+0xee/0x100 [ 9.934487][ T185] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.934489][ T185] RIP: 0033:0x7f8f2722354e [ 9.934493][ T185] 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.934495][ T185] RSP: 002b:00007ffd36fcb240 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 9.934498][ T185] RAX: ffffffffffffffda RBX: 000055a0a2cf8a50 RCX: 00007f8f2722354e [ 9.934499][ T185] RDX: 0000000000000030 RSI: 000055a0a2e4a4b0 RDI: 000000000000001a [ 9.934500][ T185] RBP: 00007ffd36fcb250 R08: 00007ffd36fcb2a0 R09: 0000000000000080 [ 9.934501][ T185] R10: 0000000000000000 R11: 0000000000000202 R12: 000055a0a2e4a080 [ 9.934502][ T185] R13: 00007ffd36fcb384 R14: 0000000000000000 R15: 0000000000000000 [ 9.934509][ T185] [ 10.164705][ T194] ip (194) used greatest stack depth: 23832 bytes left