[ 9.670380][ T179] netdevsim netdevsim31331 eni31331np1: renamed from eth0 [ 9.670442][ T179] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.670445][ T179] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 179, name: (udev-worker) [ 9.670447][ T179] preempt_count: 1, expected: 0 [ 9.670447][ T179] RCU nest depth: 0, expected: 0 [ 9.670448][ T179] locks held by (udev-worker)/179: 6, last CPU#2: [ 9.670451][ T179] #0: ffffffff97505fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 9.670462][ T179] #1: ff11000002402de8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 9.670467][ T179] #2: ffffffff96d99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.670471][ T179] #3: ffffffff96d99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.670475][ T179] #4: ffffffff96c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.670479][ T179] #5: ffffffff96c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.670483][ T179] irq event stamp: 37912 [ 9.670484][ T179] hardirqs last enabled at (37911): [] __down_trylock_console_sem+0x86/0xa0 [ 9.670487][ T179] hardirqs last disabled at (37912): [] console_emit_next_record+0x3f8/0x4f0 [ 9.670489][ T179] softirqs last enabled at (37906): [] netif_change_name+0x216/0x8c0 [ 9.670492][ T179] softirqs last disabled at (37904): [] netif_change_name+0x1ad/0x8c0 [ 9.670494][ T179] Preemption disabled at: [ 9.670495][ T179] [] vprintk_emit+0x31b/0x3e0 [ 9.670500][ T179] CPU: 2 UID: 0 PID: 179 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.670503][ T179] Tainted: [W]=WARN [ 9.670504][ T179] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.670505][ T179] Call Trace: [ 9.670507][ T179] [ 9.670509][ T179] dump_stack_lvl+0x6f/0xa0 [ 9.670515][ T179] ? vprintk_emit+0x31b/0x3e0 [ 9.670516][ T179] __might_resched.cold+0x1fe/0x2c1 [ 9.670520][ T179] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.670525][ T179] ? __kmalloc_noprof+0xdb/0x760 [ 9.670530][ T179] __kmalloc_noprof+0x443/0x760 [ 9.670533][ T179] ? alloc_buf.isra.0+0x4b/0x260 [ 9.670539][ T179] ? do_raw_spin_unlock+0x59/0x250 [ 9.670542][ T179] alloc_buf.isra.0+0x4b/0x260 [ 9.670545][ T179] put_chars+0x1e1/0x2f0 [ 9.670549][ T179] ? __send_to_port+0x420/0x420 [ 9.670553][ T179] ? validate_chain+0x34a/0xc20 [ 9.670558][ T179] hvc_console_print+0x292/0x780 [ 9.670561][ T179] ? __lock_acquire+0x518/0xc20 [ 9.670566][ T179] ? hvc_write+0x3a0/0x3a0 [ 9.670569][ T179] ? rcu_is_watching+0x16/0xd0 [ 9.670575][ T179] console_emit_next_record+0x252/0x4f0 [ 9.670579][ T179] ? devkmsg_read+0x4e0/0x4e0 [ 9.670584][ T179] ? rcu_is_watching+0x16/0xd0 [ 9.670585][ T179] ? lock_acquire+0x13c/0x160 [ 9.670590][ T179] console_flush_one_record+0x46f/0x710 [ 9.670594][ T179] ? console_emit_next_record+0x4f0/0x4f0 [ 9.670596][ T179] ? __lock_acquire+0x518/0xc20 [ 9.670601][ T179] console_unlock+0xee/0x1f0 [ 9.670604][ T179] ? console_flush_one_record+0x710/0x710 [ 9.670606][ T179] ? rcu_is_watching+0x16/0xd0 [ 9.670608][ T179] ? lock_acquire+0x60/0x160 [ 9.670612][ T179] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.670614][ T179] ? vprintk_emit+0x320/0x3e0 [ 9.670616][ T179] vprintk_emit+0x37c/0x3e0 [ 9.670619][ T179] ? wake_up_klogd_work_func+0x90/0x90 [ 9.670621][ T179] ? write_profile+0xf0/0xf0 [ 9.670624][ T179] ? unwind_get_return_address+0x67/0xd0 [ 9.670630][ T179] dev_vprintk_emit+0x27f/0x2c0 [ 9.670635][ T179] ? device_rename.cold+0xa/0xa [ 9.670640][ T179] ? filter_irq_stacks+0xd0/0xd0 [ 9.670645][ T179] dev_printk_emit+0xb9/0xee [ 9.670648][ T179] ? dev_vprintk_emit+0x2c0/0x2c0 [ 9.670652][ T179] ? check_prev_add+0x316/0xe90 [ 9.670657][ T179] __netdev_printk+0x160/0x1d0 [ 9.670662][ T179] netdev_info+0xe2/0x116 [ 9.670665][ T179] ? netdev_notice+0x120/0x120 [ 9.670668][ T179] ? find_held_lock+0x2b/0x80 [ 9.670671][ T179] ? __lock_release.isra.0+0x69/0x1a0 [ 9.670673][ T179] ? mark_held_locks+0x40/0x70 [ 9.670677][ T179] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.670680][ T179] netif_change_name.cold+0x4f/0x89 [ 9.670682][ T179] ? __lock_acquire+0x518/0xc20 [ 9.670684][ T179] ? mark_lock_irq+0x747/0x9c0 [ 9.670686][ T179] ? find_held_lock+0x2/0x80 [ 9.670689][ T179] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.670692][ T179] ? find_held_lock+0x2b/0x80 [ 9.670695][ T179] ? __asan_memset+0x27/0x50 [ 9.670700][ T179] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.670703][ T179] ? __lock_acquire+0x518/0xc20 [ 9.670706][ T179] ? rtnl_link_get_size+0x350/0x350 [ 9.670707][ T179] ? mark_usage+0x61/0x170 [ 9.670709][ T179] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.670711][ T179] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.670714][ T179] ? validate_chain+0x38b/0xc20 [ 9.670719][ T179] ? __lock_acquire+0x518/0xc20 [ 9.670724][ T179] ? lock_acquire.part.0+0xd4/0x280 [ 9.670726][ T179] ? rtnl_setlink+0x29d/0x920 [ 9.670729][ T179] ? rcu_is_watching+0x16/0xd0 [ 9.670731][ T179] ? lock_acquire+0x13c/0x160 [ 9.670732][ T179] ? rcu_is_watching+0x16/0xd0 [ 9.670733][ T179] ? rcu_is_watching+0x16/0xd0 [ 9.670735][ T179] ? trace_contention_end+0xb3/0x180 [ 9.670738][ T179] ? __mutex_lock+0x1db/0x1ea0 [ 9.670741][ T179] ? __mutex_lock+0x9a3/0x1ea0 [ 9.670743][ T179] ? __lock_acquire+0x518/0xc20 [ 9.670745][ T179] ? rtnl_setlink+0x29d/0x920 [ 9.670748][ T179] ? mark_usage+0x61/0x170 [ 9.670751][ T179] ? ww_mutex_lock+0x160/0x160 [ 9.670753][ T179] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.670759][ T179] ? mark_usage+0x61/0x170 [ 9.670762][ T179] ? cap_capable+0x1d7/0x3d0 [ 9.670769][ T179] rtnl_setlink+0x527/0x920 [ 9.670773][ T179] ? __rtnl_newlink+0xa50/0xa50 [ 9.670775][ T179] ? __lock_acquire+0x518/0xc20 [ 9.670798][ T179] ? lock_acquire.part.0+0xd4/0x280 [ 9.670800][ T179] ? find_held_lock+0x2b/0x80 [ 9.670803][ T179] ? __lock_release.isra.0+0x69/0x1a0 [ 9.670805][ T179] ? mark_usage+0x61/0x170 [ 9.670807][ T179] ? __lock_acquire+0x518/0xc20 [ 9.670812][ T179] ? lock_acquire.part.0+0xd4/0x280 [ 9.670814][ T179] ? find_held_lock+0x2b/0x80 [ 9.670816][ T179] ? __rtnl_newlink+0xa50/0xa50 [ 9.670818][ T179] ? __lock_release.isra.0+0x69/0x1a0 [ 9.670822][ T179] ? __rtnl_newlink+0xa50/0xa50 [ 9.670825][ T179] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.670828][ T179] ? rtnl_link_fill+0x900/0x900 [ 9.670830][ T179] ? __lock_acquire+0x518/0xc20 [ 9.670835][ T179] ? lock_acquire.part.0+0xd4/0x280 [ 9.670837][ T179] ? find_held_lock+0x2b/0x80 [ 9.670840][ T179] netlink_rcv_skb+0x14e/0x3a0 [ 9.670844][ T179] ? rtnl_link_fill+0x900/0x900 [ 9.670847][ T179] ? netlink_ack+0xcd0/0xcd0 [ 9.670854][ T179] ? netlink_deliver_tap+0xc5/0x330 [ 9.670856][ T179] ? netlink_deliver_tap+0x13c/0x330 [ 9.670860][ T179] netlink_unicast+0x486/0x750 [ 9.670865][ T179] ? netlink_attachskb+0x810/0x810 [ 9.670867][ T179] ? __lock_acquire+0x518/0xc20 [ 9.670872][ T179] netlink_sendmsg+0x735/0xc60 [ 9.670877][ T179] ? netlink_unicast+0x750/0x750 [ 9.670880][ T179] ? __might_fault+0x97/0x140 [ 9.670884][ T179] ? __might_fault+0x97/0x140 [ 9.670888][ T179] __sys_sendto+0x2aa/0x400 [ 9.670891][ T179] ? __ia32_sys_getpeername+0xd0/0xd0 [ 9.670902][ T179] ? exc_page_fault+0x87/0x100 [ 9.670907][ T179] __x64_sys_sendto+0xe4/0x1f0 [ 9.670909][ T179] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.670913][ T179] ? lockdep_hardirqs_on+0x91/0x130 [ 9.670914][ T179] ? do_syscall_64+0xa6/0x530 [ 9.670917][ T179] do_syscall_64+0xff/0x530 [ 9.670918][ T179] ? exc_page_fault+0xee/0x100 [ 9.670921][ T179] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.670923][ T179] RIP: 0033:0x7f352f73b54e [ 9.670927][ T179] 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.670928][ T179] RSP: 002b:00007ffe642ac680 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 9.670931][ T179] RAX: ffffffffffffffda RBX: 000055b46bc5cd40 RCX: 00007f352f73b54e [ 9.670932][ T179] RDX: 0000000000000030 RSI: 000055b46bc3c0e0 RDI: 0000000000000012 [ 9.670933][ T179] RBP: 00007ffe642ac690 R08: 00007ffe642ac6e0 R09: 0000000000000080 [ 9.670934][ T179] R10: 0000000000000000 R11: 0000000000000202 R12: 000055b46bc55070 [ 9.670935][ T179] R13: 00007ffe642ac7c4 R14: 0000000000000000 R15: 0000000000000000 [ 9.670942][ T179]