[ 10.151568][ T91] netdevsim netdevsim1337 eni1337np1: renamed from eth0 [ 10.151631][ T91] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.151633][ T91] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 91, name: (udev-worker) [ 10.151635][ T91] preempt_count: 1, expected: 0 [ 10.151636][ T91] RCU nest depth: 0, expected: 0 [ 10.151637][ T91] locks held by (udev-worker)/91: 6, last CPU#2: [ 10.151639][ T91] #0: ffffffff9c8cfcc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 10.151651][ T91] #1: ff1100000c92add0 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 10.151656][ T91] #2: ffffffff9c169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.151662][ T91] #3: ffffffff9c169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.151665][ T91] #4: ffffffff9c089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.151669][ T91] #5: ffffffff9c089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.151672][ T91] irq event stamp: 354086 [ 10.151673][ T91] hardirqs last enabled at (354085): [] __down_trylock_console_sem+0x86/0xa0 [ 10.151681][ T91] hardirqs last disabled at (354086): [] console_emit_next_record+0x3d4/0x4c0 [ 10.151683][ T91] softirqs last enabled at (354080): [] netif_change_name+0x216/0x8c0 [ 10.151686][ T91] softirqs last disabled at (354078): [] netif_change_name+0x1ad/0x8c0 [ 10.151688][ T91] Preemption disabled at: [ 10.151689][ T91] [] vprintk_emit+0x31b/0x3e0 [ 10.151695][ T91] CPU: 2 UID: 0 PID: 91 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.151698][ T91] Tainted: [W]=WARN [ 10.151699][ T91] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.151701][ T91] Call Trace: [ 10.151702][ T91] [ 10.151704][ T91] dump_stack_lvl+0x6f/0xa0 [ 10.151710][ T91] ? vprintk_emit+0x31b/0x3e0 [ 10.151712][ T91] __might_resched.cold+0x1fe/0x2c1 [ 10.151716][ T91] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.151720][ T91] ? __kmalloc_noprof+0xdb/0x760 [ 10.151725][ T91] __kmalloc_noprof+0x443/0x760 [ 10.151727][ T91] ? alloc_buf.isra.0+0x4b/0x260 [ 10.151734][ T91] ? do_raw_spin_unlock+0x59/0x250 [ 10.151736][ T91] alloc_buf.isra.0+0x4b/0x260 [ 10.151740][ T91] put_chars+0x1e1/0x2f0 [ 10.151743][ T91] ? __send_to_port+0x420/0x420 [ 10.151748][ T91] ? validate_chain+0x34a/0xc20 [ 10.151752][ T91] hvc_console_print+0x292/0x780 [ 10.151756][ T91] ? mark_usage+0x61/0x170 [ 10.151758][ T91] ? __lock_acquire+0x518/0xc20 [ 10.151759][ T91] ? __lock_acquire+0x518/0xc20 [ 10.151763][ T91] ? hvc_write+0x3a0/0x3a0 [ 10.151765][ T91] ? console_emit_next_record+0x1df/0x4c0 [ 10.151769][ T91] ? rcu_is_watching+0x16/0xd0 [ 10.151773][ T91] ? lock_acquire+0x13c/0x160 [ 10.151776][ T91] console_emit_next_record+0x22f/0x4c0 [ 10.151780][ T91] ? devkmsg_read+0x4b0/0x4b0 [ 10.151782][ T91] ? console_flush_one_record+0x106/0x710 [ 10.151785][ T91] ? rcu_is_watching+0x16/0xd0 [ 10.151787][ T91] ? lock_acquire+0x13c/0x160 [ 10.151791][ T91] console_flush_one_record+0x46f/0x710 [ 10.151795][ T91] ? console_emit_next_record+0x4c0/0x4c0 [ 10.151796][ T91] ? __lock_acquire+0x518/0xc20 [ 10.151802][ T91] console_unlock+0xee/0x1f0 [ 10.151804][ T91] ? console_flush_one_record+0x710/0x710 [ 10.151806][ T91] ? rcu_is_watching+0x16/0xd0 [ 10.151808][ T91] ? lock_acquire+0x60/0x160 [ 10.151812][ T91] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.151813][ T91] ? vprintk_emit+0x320/0x3e0 [ 10.151817][ T91] vprintk_emit+0x37c/0x3e0 [ 10.151820][ T91] ? wake_up_klogd_work_func+0x90/0x90 [ 10.151822][ T91] ? write_profile+0xf0/0xf0 [ 10.151826][ T91] ? unwind_get_return_address+0x67/0xd0 [ 10.151833][ T91] dev_vprintk_emit+0x27f/0x2c0 [ 10.151838][ T91] ? device_rename.cold+0xa/0xa [ 10.151842][ T91] ? filter_irq_stacks+0xd0/0xd0 [ 10.151849][ T91] dev_printk_emit+0xb9/0xee [ 10.151851][ T91] ? dev_vprintk_emit+0x2c0/0x2c0 [ 10.151855][ T91] ? check_prev_add+0x316/0xe90 [ 10.151861][ T91] __netdev_printk+0x160/0x1d0 [ 10.151866][ T91] netdev_info+0xe2/0x116 [ 10.151868][ T91] ? netdev_notice+0x120/0x120 [ 10.151871][ T91] ? find_held_lock+0x2b/0x80 [ 10.151875][ T91] ? __lock_release.isra.0+0x69/0x1a0 [ 10.151877][ T91] ? mark_held_locks+0x40/0x70 [ 10.151881][ T91] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.151883][ T91] netif_change_name.cold+0x4f/0x89 [ 10.151886][ T91] ? __lock_acquire+0x518/0xc20 [ 10.151888][ T91] ? __lock_acquire+0x7/0xc20 [ 10.151889][ T91] ? find_held_lock+0x2/0x80 [ 10.151893][ T91] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.151895][ T91] ? find_held_lock+0x2b/0x80 [ 10.151899][ T91] ? __asan_memset+0x27/0x50 [ 10.151904][ T91] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.151907][ T91] ? __lock_acquire+0x518/0xc20 [ 10.151910][ T91] ? rtnl_link_get_size+0x350/0x350 [ 10.151912][ T91] ? mark_usage+0x61/0x170 [ 10.151913][ T91] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.151915][ T91] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.151918][ T91] ? validate_chain+0x38b/0xc20 [ 10.151922][ T91] ? __lock_acquire+0x518/0xc20 [ 10.151927][ T91] ? lock_acquire.part.0+0xd4/0x280 [ 10.151928][ T91] ? rtnl_setlink+0x29d/0x920 [ 10.151931][ T91] ? rcu_is_watching+0x16/0xd0 [ 10.151933][ T91] ? lock_acquire+0x13c/0x160 [ 10.151935][ T91] ? rcu_is_watching+0x16/0xd0 [ 10.151936][ T91] ? rcu_is_watching+0x16/0xd0 [ 10.151938][ T91] ? trace_contention_end+0xb3/0x180 [ 10.151942][ T91] ? __mutex_lock+0x1db/0x1ea0 [ 10.151948][ T91] ? __mutex_lock+0x9a3/0x1ea0 [ 10.151950][ T91] ? __lock_acquire+0x518/0xc20 [ 10.151952][ T91] ? rtnl_setlink+0x29d/0x920 [ 10.151954][ T91] ? mark_usage+0x61/0x170 [ 10.151957][ T91] ? ww_mutex_lock+0x160/0x160 [ 10.151959][ T91] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.151965][ T91] ? mark_usage+0x61/0x170 [ 10.151968][ T91] ? cap_capable+0x1d7/0x3d0 [ 10.151976][ T91] rtnl_setlink+0x527/0x920 [ 10.151979][ T91] ? __rtnl_newlink+0xa50/0xa50 [ 10.151981][ T91] ? __lock_acquire+0x518/0xc20 [ 10.152005][ T91] ? lock_acquire.part.0+0xd4/0x280 [ 10.152007][ T91] ? find_held_lock+0x2b/0x80 [ 10.152010][ T91] ? __lock_release.isra.0+0x69/0x1a0 [ 10.152012][ T91] ? mark_usage+0x61/0x170 [ 10.152014][ T91] ? __lock_acquire+0x518/0xc20 [ 10.152018][ T91] ? lock_acquire.part.0+0xd4/0x280 [ 10.152020][ T91] ? find_held_lock+0x2b/0x80 [ 10.152022][ T91] ? __rtnl_newlink+0xa50/0xa50 [ 10.152024][ T91] ? __lock_release.isra.0+0x69/0x1a0 [ 10.152028][ T91] ? __rtnl_newlink+0xa50/0xa50 [ 10.152030][ T91] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.152034][ T91] ? rtnl_link_fill+0x900/0x900 [ 10.152035][ T91] ? __lock_acquire+0x518/0xc20 [ 10.152040][ T91] ? lock_acquire.part.0+0xd4/0x280 [ 10.152041][ T91] ? find_held_lock+0x2b/0x80 [ 10.152045][ T91] netlink_rcv_skb+0x14e/0x3a0 [ 10.152049][ T91] ? rtnl_link_fill+0x900/0x900 [ 10.152052][ T91] ? netlink_ack+0xcd0/0xcd0 [ 10.152059][ T91] ? netlink_deliver_tap+0xc5/0x330 [ 10.152060][ T91] ? netlink_deliver_tap+0x13c/0x330 [ 10.152065][ T91] netlink_unicast+0x486/0x750 [ 10.152069][ T91] ? netlink_attachskb+0x810/0x810 [ 10.152071][ T91] ? __lock_acquire+0x518/0xc20 [ 10.152074][ T91] ? do_raw_spin_trylock+0x161/0x180 [ 10.152077][ T91] netlink_sendmsg+0x735/0xc60 [ 10.152082][ T91] ? netlink_unicast+0x750/0x750 [ 10.152085][ T91] ? __might_fault+0x97/0x140 [ 10.152088][ T91] ? __might_fault+0x97/0x140 [ 10.152092][ T91] __sys_sendto+0x2aa/0x400 [ 10.152097][ T91] ? __ia32_sys_getpeername+0xd0/0xd0 [ 10.152109][ T91] ? exc_page_fault+0x87/0x100 [ 10.152114][ T91] __x64_sys_sendto+0xe4/0x1f0 [ 10.152117][ T91] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.152120][ T91] ? lockdep_hardirqs_on+0x91/0x130 [ 10.152122][ T91] ? do_syscall_64+0xa6/0x530 [ 10.152124][ T91] do_syscall_64+0xff/0x530 [ 10.152126][ T91] ? exc_page_fault+0xee/0x100 [ 10.152129][ T91] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.152131][ T91] RIP: 0033:0x7f979739254e [ 10.152136][ T91] 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 [ 10.152138][ T91] RSP: 002b:00007ffd2429fcf0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 10.152140][ T91] RAX: ffffffffffffffda RBX: 000055d435929f40 RCX: 00007f979739254e [ 10.152142][ T91] RDX: 0000000000000030 RSI: 000055d435925bd0 RDI: 0000000000000024 [ 10.152143][ T91] RBP: 00007ffd2429fd00 R08: 00007ffd2429fd50 R09: 0000000000000080 [ 10.152143][ T91] R10: 0000000000000000 R11: 0000000000000202 R12: 000055d435a7e6e0 [ 10.152144][ T91] R13: 00007ffd2429fe34 R14: 0000000000000000 R15: 0000000000000000 [ 10.152152][ T91] [ 10.371551][ T138] netdevsim netdevsim1337 nsim0: renamed from eni1337np1