[ 12.464088][ T183] netdevsim netdevsim19707 eni19707np1: renamed from eth0 [ 12.464165][ T183] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.464168][ T183] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 183, name: (udev-worker) [ 12.464169][ T183] preempt_count: 1, expected: 0 [ 12.464170][ T183] RCU nest depth: 0, expected: 0 [ 12.464171][ T183] locks held by (udev-worker)/183: 6, last CPU#0: [ 12.464173][ T183] #0: ffffffffac505fc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 12.464185][ T183] #1: ff1100000b0cade8 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 12.464190][ T183] #2: ffffffffabd99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.464195][ T183] #3: ffffffffabd99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.464199][ T183] #4: ffffffffabc89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.464203][ T183] #5: ffffffffabc89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 12.464207][ T183] irq event stamp: 32504 [ 12.464208][ T183] hardirqs last enabled at (32503): [] __down_trylock_console_sem+0x86/0xa0 [ 12.464211][ T183] hardirqs last disabled at (32504): [] console_emit_next_record+0x3f8/0x4f0 [ 12.464213][ T183] softirqs last enabled at (32498): [] netif_change_name+0x216/0x8c0 [ 12.464216][ T183] softirqs last disabled at (32496): [] netif_change_name+0x1ad/0x8c0 [ 12.464219][ T183] Preemption disabled at: [ 12.464219][ T183] [] vprintk_emit+0x31b/0x3e0 [ 12.464225][ T183] CPU: 0 UID: 0 PID: 183 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.464229][ T183] Tainted: [W]=WARN [ 12.464229][ T183] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.464231][ T183] Call Trace: [ 12.464233][ T183] [ 12.464234][ T183] dump_stack_lvl+0x6f/0xa0 [ 12.464241][ T183] ? vprintk_emit+0x31b/0x3e0 [ 12.464242][ T183] __might_resched.cold+0x1fe/0x2c1 [ 12.464247][ T183] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.464251][ T183] ? __kmalloc_noprof+0xdb/0x760 [ 12.464257][ T183] __kmalloc_noprof+0x443/0x760 [ 12.464260][ T183] ? alloc_buf.isra.0+0x4b/0x260 [ 12.464266][ T183] ? do_raw_spin_unlock+0x59/0x250 [ 12.464269][ T183] alloc_buf.isra.0+0x4b/0x260 [ 12.464272][ T183] put_chars+0x1e1/0x2f0 [ 12.464276][ T183] ? __send_to_port+0x420/0x420 [ 12.464280][ T183] ? validate_chain+0x34a/0xc20 [ 12.464285][ T183] hvc_console_print+0x292/0x780 [ 12.464288][ T183] ? __lock_acquire+0x518/0xc20 [ 12.464294][ T183] ? hvc_write+0x3a0/0x3a0 [ 12.464297][ T183] ? rcu_is_watching+0x16/0xd0 [ 12.464303][ T183] console_emit_next_record+0x252/0x4f0 [ 12.464307][ T183] ? devkmsg_read+0x4e0/0x4e0 [ 12.464312][ T183] ? rcu_is_watching+0x16/0xd0 [ 12.464316][ T183] ? lock_acquire+0x13c/0x160 [ 12.464321][ T183] console_flush_one_record+0x46f/0x710 [ 12.464326][ T183] ? console_emit_next_record+0x4f0/0x4f0 [ 12.464328][ T183] ? __lock_acquire+0x518/0xc20 [ 12.464333][ T183] console_unlock+0xee/0x1f0 [ 12.464336][ T183] ? console_flush_one_record+0x710/0x710 [ 12.464338][ T183] ? rcu_is_watching+0x16/0xd0 [ 12.464340][ T183] ? lock_acquire+0x60/0x160 [ 12.464344][ T183] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.464346][ T183] ? vprintk_emit+0x320/0x3e0 [ 12.464349][ T183] vprintk_emit+0x37c/0x3e0 [ 12.464352][ T183] ? wake_up_klogd_work_func+0x90/0x90 [ 12.464354][ T183] ? write_profile+0xf0/0xf0 [ 12.464356][ T183] ? unwind_get_return_address+0x67/0xd0 [ 12.464363][ T183] dev_vprintk_emit+0x27f/0x2c0 [ 12.464368][ T183] ? device_rename.cold+0xa/0xa [ 12.464373][ T183] ? filter_irq_stacks+0xd0/0xd0 [ 12.464379][ T183] dev_printk_emit+0xb9/0xee [ 12.464381][ T183] ? dev_vprintk_emit+0x2c0/0x2c0 [ 12.464385][ T183] ? check_prev_add+0x316/0xe90 [ 12.464391][ T183] __netdev_printk+0x160/0x1d0 [ 12.464396][ T183] netdev_info+0xe2/0x116 [ 12.464399][ T183] ? netdev_notice+0x120/0x120 [ 12.464401][ T183] ? find_held_lock+0x2b/0x80 [ 12.464404][ T183] ? __lock_release.isra.0+0x69/0x1a0 [ 12.464407][ T183] ? mark_held_locks+0x40/0x70 [ 12.464411][ T183] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 12.464414][ T183] netif_change_name.cold+0x4f/0x89 [ 12.464417][ T183] ? __lock_acquire+0x518/0xc20 [ 12.464419][ T183] ? mark_lock_irq+0x747/0x9c0 [ 12.464421][ T183] ? find_held_lock+0x2/0x80 [ 12.464424][ T183] ? netdev_adjacent_rename_links+0x470/0x470 [ 12.464426][ T183] ? find_held_lock+0x2b/0x80 [ 12.464429][ T183] ? __asan_memset+0x27/0x50 [ 12.464434][ T183] do_setlink.isra.0+0x1f7d/0x2a60 [ 12.464437][ T183] ? __lock_acquire+0x518/0xc20 [ 12.464440][ T183] ? rtnl_link_get_size+0x350/0x350 [ 12.464442][ T183] ? mark_usage+0x61/0x170 [ 12.464444][ T183] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.464446][ T183] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.464449][ T183] ? validate_chain+0x38b/0xc20 [ 12.464454][ T183] ? __lock_acquire+0x518/0xc20 [ 12.464458][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 12.464461][ T183] ? rtnl_setlink+0x29d/0x920 [ 12.464464][ T183] ? rcu_is_watching+0x16/0xd0 [ 12.464466][ T183] ? lock_acquire+0x13c/0x160 [ 12.464467][ T183] ? rcu_is_watching+0x16/0xd0 [ 12.464469][ T183] ? rcu_is_watching+0x16/0xd0 [ 12.464470][ T183] ? trace_contention_end+0xb3/0x180 [ 12.464473][ T183] ? __mutex_lock+0x1db/0x1ea0 [ 12.464477][ T183] ? __mutex_lock+0x9a3/0x1ea0 [ 12.464479][ T183] ? __lock_acquire+0x518/0xc20 [ 12.464481][ T183] ? rtnl_setlink+0x29d/0x920 [ 12.464484][ T183] ? mark_usage+0x61/0x170 [ 12.464486][ T183] ? ww_mutex_lock+0x160/0x160 [ 12.464489][ T183] ? nla_get_range_signed+0x3d0/0x3d0 [ 12.464495][ T183] ? mark_usage+0x61/0x170 [ 12.464498][ T183] ? cap_capable+0x1d7/0x3d0 [ 12.464505][ T183] rtnl_setlink+0x527/0x920 [ 12.464509][ T183] ? __rtnl_newlink+0xa50/0xa50 [ 12.464511][ T183] ? __lock_acquire+0x518/0xc20 [ 12.464534][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 12.464536][ T183] ? find_held_lock+0x2b/0x80 [ 12.464539][ T183] ? __lock_release.isra.0+0x69/0x1a0 [ 12.464541][ T183] ? mark_usage+0x61/0x170 [ 12.464543][ T183] ? __lock_acquire+0x518/0xc20 [ 12.464548][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 12.464550][ T183] ? find_held_lock+0x2b/0x80 [ 12.464552][ T183] ? __rtnl_newlink+0xa50/0xa50 [ 12.464554][ T183] ? __lock_release.isra.0+0x69/0x1a0 [ 12.464558][ T183] ? __rtnl_newlink+0xa50/0xa50 [ 12.464561][ T183] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 12.464564][ T183] ? rtnl_link_fill+0x900/0x900 [ 12.464566][ T183] ? __lock_acquire+0x518/0xc20 [ 12.464571][ T183] ? lock_acquire.part.0+0xd4/0x280 [ 12.464573][ T183] ? find_held_lock+0x2b/0x80 [ 12.464576][ T183] netlink_rcv_skb+0x14e/0x3a0 [ 12.464580][ T183] ? rtnl_link_fill+0x900/0x900 [ 12.464583][ T183] ? netlink_ack+0xcd0/0xcd0 [ 12.464590][ T183] ? netlink_deliver_tap+0xc5/0x330 [ 12.464592][ T183] ? netlink_deliver_tap+0x13c/0x330 [ 12.464597][ T183] netlink_unicast+0x486/0x750 [ 12.464601][ T183] ? netlink_attachskb+0x810/0x810 [ 12.464604][ T183] ? __lock_acquire+0x518/0xc20 [ 12.464609][ T183] netlink_sendmsg+0x735/0xc60 [ 12.464613][ T183] ? netlink_unicast+0x750/0x750 [ 12.464617][ T183] ? __might_fault+0x97/0x140 [ 12.464621][ T183] ? __might_fault+0x97/0x140 [ 12.464625][ T183] __sys_sendto+0x2aa/0x400 [ 12.464629][ T183] ? __ia32_sys_getpeername+0xd0/0xd0 [ 12.464644][ T183] ? exc_page_fault+0x87/0x100 [ 12.464649][ T183] __x64_sys_sendto+0xe4/0x1f0 [ 12.464651][ T183] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.464655][ T183] ? lockdep_hardirqs_on+0x91/0x130 [ 12.464656][ T183] ? do_syscall_64+0xa6/0x530 [ 12.464659][ T183] do_syscall_64+0xff/0x530 [ 12.464661][ T183] ? exc_page_fault+0xee/0x100 [ 12.464663][ T183] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.464665][ T183] RIP: 0033:0x7f655d8d954e [ 12.464670][ T183] 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.464671][ T183] RSP: 002b:00007ffde51d2b60 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 12.464674][ T183] RAX: ffffffffffffffda RBX: 00005595705448e0 RCX: 00007f655d8d954e [ 12.464675][ T183] RDX: 0000000000000030 RSI: 000055957059c880 RDI: 0000000000000016 [ 12.464676][ T183] RBP: 00007ffde51d2b70 R08: 00007ffde51d2bc0 R09: 0000000000000080 [ 12.464677][ T183] R10: 0000000000000000 R11: 0000000000000202 R12: 00005595706c1d50 [ 12.464677][ T183] R13: 00007ffde51d2ca4 R14: 0000000000000000 R15: 0000000000000000 [ 12.464685][ T183] [ 12.685056][ T183] netdevsim netdevsim16577 eni16577np1: renamed from eth0 [ 13.083418][ T198] ip (198) used greatest stack depth: 23496 bytes left