[ 12.337069][ T186] netdevsim netdevsim6111 eni6111np1: renamed from eth0 [ 12.337166][ T186] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.337169][ T186] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 186, name: (udev-worker) [ 12.337171][ T186] preempt_count: 1, expected: 0 [ 12.337172][ T186] RCU nest depth: 0, expected: 0 [ 12.337174][ T186] locks held by (udev-worker)/186: 6, last CPU#3: [ 12.337176][ T186] #0: ffffffff89f05fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 12.337190][ T186] #1: ff11000002402de8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 12.337197][ T186] #2: ffffffff89799cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.337204][ T186] #3: ffffffff89799d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.337210][ T186] #4: ffffffff89689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.337216][ T186] #5: ffffffff89689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 12.337223][ T186] irq event stamp: 317330 [ 12.337224][ T186] hardirqs last enabled at (317329): [] __down_trylock_console_sem+0x86/0xa0 [ 12.337228][ T186] hardirqs last disabled at (317330): [] console_emit_next_record+0x3f8/0x4f0 [ 12.337231][ T186] softirqs last enabled at (317324): [] netif_change_name+0x216/0x8c0 [ 12.337236][ T186] softirqs last disabled at (317322): [] netif_change_name+0x1ad/0x8c0 [ 12.337239][ T186] Preemption disabled at: [ 12.337240][ T186] [] vprintk_emit+0x31b/0x3e0 [ 12.337247][ T186] CPU: 3 UID: 0 PID: 186 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.337252][ T186] Tainted: [W]=WARN [ 12.337253][ T186] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.337256][ T186] Call Trace: [ 12.337258][ T186] [ 12.337260][ T186] dump_stack_lvl+0x6f/0xa0 [ 12.337267][ T186] ? vprintk_emit+0x31b/0x3e0 [ 12.337270][ T186] __might_resched.cold+0x1fe/0x2c1 [ 12.337276][ T186] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.337282][ T186] ? __kmalloc_noprof+0xdb/0x760 [ 12.337290][ T186] __kmalloc_noprof+0x443/0x760 [ 12.337294][ T186] ? alloc_buf.isra.0+0x4b/0x260 [ 12.337303][ T186] ? do_raw_spin_unlock+0x59/0x250 [ 12.337306][ T186] alloc_buf.isra.0+0x4b/0x260 [ 12.337312][ T186] put_chars+0x1e1/0x2f0 [ 12.337317][ T186] ? __send_to_port+0x420/0x420 [ 12.337323][ T186] ? validate_chain+0x34a/0xc20 [ 12.337332][ T186] hvc_console_print+0x292/0x780 [ 12.337335][ T186] ? __lock_acquire+0x518/0xc20 [ 12.337344][ T186] ? hvc_write+0x3a0/0x3a0 [ 12.337349][ T186] ? rcu_is_watching+0x16/0xd0 [ 12.337359][ T186] console_emit_next_record+0x252/0x4f0 [ 12.337365][ T186] ? devkmsg_read+0x4e0/0x4e0 [ 12.337373][ T186] ? rcu_is_watching+0x16/0xd0 [ 12.337376][ T186] ? lock_acquire+0x13c/0x160 [ 12.337383][ T186] console_flush_one_record+0x46f/0x710 [ 12.337390][ T186] ? console_emit_next_record+0x4f0/0x4f0 [ 12.337393][ T186] ? __lock_acquire+0x518/0xc20 [ 12.337403][ T186] console_unlock+0xee/0x1f0 [ 12.337408][ T186] ? console_flush_one_record+0x710/0x710 [ 12.337410][ T186] ? rcu_is_watching+0x16/0xd0 [ 12.337414][ T186] ? lock_acquire+0x60/0x160 [ 12.337420][ T186] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.337423][ T186] ? vprintk_emit+0x320/0x3e0 [ 12.337428][ T186] vprintk_emit+0x37c/0x3e0 [ 12.337433][ T186] ? wake_up_klogd_work_func+0x90/0x90 [ 12.337437][ T186] ? write_profile+0xf0/0xf0 [ 12.337440][ T186] ? unwind_get_return_address+0x67/0xd0 [ 12.337450][ T186] dev_vprintk_emit+0x27f/0x2c0 [ 12.337457][ T186] ? device_rename.cold+0xa/0xa [ 12.337465][ T186] ? filter_irq_stacks+0xd0/0xd0 [ 12.337477][ T186] dev_printk_emit+0xb9/0xee [ 12.337481][ T186] ? dev_vprintk_emit+0x2c0/0x2c0 [ 12.337488][ T186] ? check_prev_add+0x316/0xe90 [ 12.337497][ T186] __netdev_printk+0x160/0x1d0 [ 12.337510][ T186] netdev_info+0xe2/0x116 [ 12.337514][ T186] ? netdev_notice+0x120/0x120 [ 12.337518][ T186] ? find_held_lock+0x2b/0x80 [ 12.337523][ T186] ? __lock_release.isra.0+0x69/0x1a0 [ 12.337528][ T186] ? mark_held_locks+0x40/0x70 [ 12.337534][ T186] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 12.337538][ T186] netif_change_name.cold+0x4f/0x89 [ 12.337542][ T186] ? __lock_acquire+0x518/0xc20 [ 12.337545][ T186] ? mark_lock_irq+0x747/0x9c0 [ 12.337548][ T186] ? find_held_lock+0x2/0x80 [ 12.337553][ T186] ? netdev_adjacent_rename_links+0x470/0x470 [ 12.337557][ T186] ? find_held_lock+0x2b/0x80 [ 12.337562][ T186] ? __asan_memset+0x27/0x50 [ 12.337570][ T186] do_setlink.isra.0+0x1f7d/0x2a60 [ 12.337575][ T186] ? __lock_acquire+0x518/0xc20 [ 12.337580][ T186] ? rtnl_link_get_size+0x350/0x350 [ 12.337583][ T186] ? mark_usage+0x61/0x170 [ 12.337585][ T186] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.337589][ T186] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.337593][ T186] ? validate_chain+0x38b/0xc20 [ 12.337601][ T186] ? __lock_acquire+0x518/0xc20 [ 12.337609][ T186] ? lock_acquire.part.0+0xd4/0x280 [ 12.337612][ T186] ? rtnl_setlink+0x29d/0x920 [ 12.337617][ T186] ? rcu_is_watching+0x16/0xd0 [ 12.337620][ T186] ? lock_acquire+0x13c/0x160 [ 12.337623][ T186] ? rcu_is_watching+0x16/0xd0 [ 12.337625][ T186] ? rcu_is_watching+0x16/0xd0 [ 12.337628][ T186] ? trace_contention_end+0xb3/0x180 [ 12.337632][ T186] ? __mutex_lock+0x1db/0x1ea0 [ 12.337637][ T186] ? __mutex_lock+0x9a3/0x1ea0 [ 12.337639][ T186] ? __lock_acquire+0x518/0xc20 [ 12.337643][ T186] ? rtnl_setlink+0x29d/0x920 [ 12.337647][ T186] ? mark_usage+0x61/0x170 [ 12.337651][ T186] ? ww_mutex_lock+0x160/0x160 [ 12.337655][ T186] ? nla_get_range_signed+0x3d0/0x3d0 [ 12.337663][ T186] ? mark_usage+0x61/0x170 [ 12.337668][ T186] ? cap_capable+0x1d7/0x3d0 [ 12.337680][ T186] rtnl_setlink+0x527/0x920 [ 12.337686][ T186] ? __rtnl_newlink+0xa50/0xa50 [ 12.337689][ T186] ? __lock_acquire+0x518/0xc20 [ 12.337731][ T186] ? lock_acquire.part.0+0xd4/0x280 [ 12.337734][ T186] ? find_held_lock+0x2b/0x80 [ 12.337739][ T186] ? __lock_release.isra.0+0x69/0x1a0 [ 12.337742][ T186] ? mark_usage+0x61/0x170 [ 12.337745][ T186] ? __lock_acquire+0x518/0xc20 [ 12.337753][ T186] ? lock_acquire.part.0+0xd4/0x280 [ 12.337756][ T186] ? find_held_lock+0x2b/0x80 [ 12.337760][ T186] ? __rtnl_newlink+0xa50/0xa50 [ 12.337763][ T186] ? __lock_release.isra.0+0x69/0x1a0 [ 12.337769][ T186] ? __rtnl_newlink+0xa50/0xa50 [ 12.337773][ T186] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 12.337779][ T186] ? rtnl_link_fill+0x900/0x900 [ 12.337782][ T186] ? __lock_acquire+0x518/0xc20 [ 12.337790][ T186] ? lock_acquire.part.0+0xd4/0x280 [ 12.337793][ T186] ? find_held_lock+0x2b/0x80 [ 12.337799][ T186] netlink_rcv_skb+0x14e/0x3a0 [ 12.337803][ T186] ? rtnl_link_fill+0x900/0x900 [ 12.337809][ T186] ? netlink_ack+0xcd0/0xcd0 [ 12.337820][ T186] ? netlink_deliver_tap+0xc5/0x330 [ 12.337823][ T186] ? netlink_deliver_tap+0x13c/0x330 [ 12.337831][ T186] netlink_unicast+0x486/0x750 [ 12.337838][ T186] ? netlink_attachskb+0x810/0x810 [ 12.337842][ T186] ? __lock_acquire+0x518/0xc20 [ 12.337851][ T186] netlink_sendmsg+0x735/0xc60 [ 12.337858][ T186] ? netlink_unicast+0x750/0x750 [ 12.337865][ T186] ? __might_fault+0x97/0x140 [ 12.337870][ T186] ? __might_fault+0x97/0x140 [ 12.337877][ T186] __sys_sendto+0x2aa/0x400 [ 12.337882][ T186] ? __ia32_sys_getpeername+0xd0/0xd0 [ 12.337901][ T186] ? exc_page_fault+0x87/0x100 [ 12.337910][ T186] __x64_sys_sendto+0xe4/0x1f0 [ 12.337913][ T186] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.337917][ T186] ? lockdep_hardirqs_on+0x91/0x130 [ 12.337920][ T186] ? do_syscall_64+0xa6/0x530 [ 12.337923][ T186] do_syscall_64+0xff/0x530 [ 12.337926][ T186] ? exc_page_fault+0xee/0x100 [ 12.337930][ T186] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.337933][ T186] RIP: 0033:0x7f6f6de1954e [ 12.337939][ T186] 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 [ 12.337941][ T186] RSP: 002b:00007ffe8d71f0b0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 12.337945][ T186] RAX: ffffffffffffffda RBX: 000055e78a686b00 RCX: 00007f6f6de1954e [ 12.337947][ T186] RDX: 0000000000000030 RSI: 000055e78a83acb0 RDI: 0000000000000020 [ 12.337948][ T186] RBP: 00007ffe8d71f0c0 R08: 00007ffe8d71f110 R09: 0000000000000080 [ 12.337950][ T186] R10: 0000000000000000 R11: 0000000000000202 R12: 000055e78a83d1a0 [ 12.337951][ T186] R13: 00007ffe8d71f1f4 R14: 0000000000000000 R15: 0000000000000000 [ 12.337964][ T186]