[ 9.022584][ T91] netdevsim netdevsim1337 eni1337np1: renamed from eth0 [ 9.022644][ T91] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.022647][ T91] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 91, name: (udev-worker) [ 9.022649][ T91] preempt_count: 1, expected: 0 [ 9.022650][ T91] RCU nest depth: 0, expected: 0 [ 9.022651][ T91] locks held by (udev-worker)/91: 6, last CPU#2: [ 9.022653][ T91] #0: ffffffff8c8cfcc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 9.022665][ T91] #1: ff1100000c372dd0 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 9.022670][ T91] #2: ffffffff8c169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.022675][ T91] #3: ffffffff8c169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.022679][ T91] #4: ffffffff8c089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.022682][ T91] #5: ffffffff8c089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.022686][ T91] irq event stamp: 331752 [ 9.022686][ T91] hardirqs last enabled at (331751): [] __down_trylock_console_sem+0x86/0xa0 [ 9.022689][ T91] hardirqs last disabled at (331752): [] console_emit_next_record+0x3d4/0x4c0 [ 9.022691][ T91] softirqs last enabled at (331746): [] netif_change_name+0x216/0x8c0 [ 9.022693][ T91] softirqs last disabled at (331744): [] netif_change_name+0x1ad/0x8c0 [ 9.022695][ T91] Preemption disabled at: [ 9.022696][ T91] [] vprintk_emit+0x31b/0x3e0 [ 9.022701][ T91] CPU: 2 UID: 0 PID: 91 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.022705][ T91] Tainted: [W]=WARN [ 9.022706][ T91] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.022708][ T91] Call Trace: [ 9.022709][ T91] [ 9.022711][ T91] dump_stack_lvl+0x6f/0xa0 [ 9.022716][ T91] ? vprintk_emit+0x31b/0x3e0 [ 9.022718][ T91] __might_resched.cold+0x1fe/0x2c1 [ 9.022722][ T91] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.022726][ T91] ? __kmalloc_noprof+0xdb/0x760 [ 9.022731][ T91] __kmalloc_noprof+0x443/0x760 [ 9.022733][ T91] ? alloc_buf.isra.0+0x4b/0x260 [ 9.022739][ T91] ? do_raw_spin_unlock+0x59/0x250 [ 9.022742][ T91] alloc_buf.isra.0+0x4b/0x260 [ 9.022745][ T91] put_chars+0x1e1/0x2f0 [ 9.022748][ T91] ? __send_to_port+0x420/0x420 [ 9.022753][ T91] ? validate_chain+0x34a/0xc20 [ 9.022757][ T91] hvc_console_print+0x292/0x780 [ 9.022760][ T91] ? mark_usage+0x61/0x170 [ 9.022762][ T91] ? __lock_acquire+0x518/0xc20 [ 9.022763][ T91] ? __lock_acquire+0x518/0xc20 [ 9.022767][ T91] ? hvc_write+0x3a0/0x3a0 [ 9.022770][ T91] ? console_emit_next_record+0x1df/0x4c0 [ 9.022773][ T91] ? rcu_is_watching+0x16/0xd0 [ 9.022776][ T91] ? lock_acquire+0x13c/0x160 [ 9.022780][ T91] console_emit_next_record+0x22f/0x4c0 [ 9.022783][ T91] ? devkmsg_read+0x4b0/0x4b0 [ 9.022785][ T91] ? console_flush_one_record+0x106/0x710 [ 9.022788][ T91] ? rcu_is_watching+0x16/0xd0 [ 9.022790][ T91] ? lock_acquire+0x13c/0x160 [ 9.022794][ T91] console_flush_one_record+0x46f/0x710 [ 9.022797][ T91] ? console_emit_next_record+0x4c0/0x4c0 [ 9.022806][ T91] ? __lock_acquire+0x518/0xc20 [ 9.022811][ T91] console_unlock+0xee/0x1f0 [ 9.022813][ T91] ? console_flush_one_record+0x710/0x710 [ 9.022815][ T91] ? rcu_is_watching+0x16/0xd0 [ 9.022817][ T91] ? lock_acquire+0x60/0x160 [ 9.022820][ T91] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.022822][ T91] ? vprintk_emit+0x320/0x3e0 [ 9.022825][ T91] vprintk_emit+0x37c/0x3e0 [ 9.022828][ T91] ? wake_up_klogd_work_func+0x90/0x90 [ 9.022830][ T91] ? write_profile+0xf0/0xf0 [ 9.022833][ T91] ? unwind_get_return_address+0x67/0xd0 [ 9.022840][ T91] dev_vprintk_emit+0x27f/0x2c0 [ 9.022845][ T91] ? device_rename.cold+0xa/0xa [ 9.022849][ T91] ? filter_irq_stacks+0xd0/0xd0 [ 9.022855][ T91] dev_printk_emit+0xb9/0xee [ 9.022857][ T91] ? dev_vprintk_emit+0x2c0/0x2c0 [ 9.022861][ T91] ? check_prev_add+0x316/0xe90 [ 9.022866][ T91] __netdev_printk+0x160/0x1d0 [ 9.022871][ T91] netdev_info+0xe2/0x116 [ 9.022873][ T91] ? netdev_notice+0x120/0x120 [ 9.022876][ T91] ? find_held_lock+0x2b/0x80 [ 9.022880][ T91] ? __lock_release.isra.0+0x69/0x1a0 [ 9.022882][ T91] ? mark_held_locks+0x40/0x70 [ 9.022885][ T91] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.022888][ T91] netif_change_name.cold+0x4f/0x89 [ 9.022891][ T91] ? __lock_acquire+0x518/0xc20 [ 9.022892][ T91] ? __lock_acquire+0x7/0xc20 [ 9.022894][ T91] ? find_held_lock+0x2/0x80 [ 9.022897][ T91] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.022899][ T91] ? find_held_lock+0x2b/0x80 [ 9.022903][ T91] ? __asan_memset+0x27/0x50 [ 9.022909][ T91] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.022912][ T91] ? __lock_acquire+0x518/0xc20 [ 9.022914][ T91] ? rtnl_link_get_size+0x350/0x350 [ 9.022916][ T91] ? mark_usage+0x61/0x170 [ 9.022917][ T91] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.022920][ T91] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.022922][ T91] ? validate_chain+0x38b/0xc20 [ 9.022926][ T91] ? __lock_acquire+0x518/0xc20 [ 9.022930][ T91] ? lock_acquire.part.0+0xd4/0x280 [ 9.022932][ T91] ? rtnl_setlink+0x29d/0x920 [ 9.022935][ T91] ? rcu_is_watching+0x16/0xd0 [ 9.022937][ T91] ? lock_acquire+0x13c/0x160 [ 9.022938][ T91] ? rcu_is_watching+0x16/0xd0 [ 9.022940][ T91] ? rcu_is_watching+0x16/0xd0 [ 9.022942][ T91] ? trace_contention_end+0xb3/0x180 [ 9.022945][ T91] ? __mutex_lock+0x1db/0x1ea0 [ 9.022949][ T91] ? __mutex_lock+0x9a3/0x1ea0 [ 9.022951][ T91] ? __lock_acquire+0x518/0xc20 [ 9.022953][ T91] ? rtnl_setlink+0x29d/0x920 [ 9.022956][ T91] ? __lock_acquire+0x518/0xc20 [ 9.022958][ T91] ? ww_mutex_lock+0x160/0x160 [ 9.022960][ T91] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.022965][ T91] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.022967][ T91] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.022971][ T91] ? cap_capable+0x1d7/0x3d0 [ 9.022978][ T91] rtnl_setlink+0x527/0x920 [ 9.022981][ T91] ? __rtnl_newlink+0xa50/0xa50 [ 9.022983][ T91] ? __lock_acquire+0x518/0xc20 [ 9.023004][ T91] ? lock_acquire.part.0+0xd4/0x280 [ 9.023006][ T91] ? find_held_lock+0x2b/0x80 [ 9.023009][ T91] ? __lock_release.isra.0+0x69/0x1a0 [ 9.023011][ T91] ? mark_usage+0x61/0x170 [ 9.023013][ T91] ? __lock_acquire+0x518/0xc20 [ 9.023017][ T91] ? lock_acquire.part.0+0xd4/0x280 [ 9.023018][ T91] ? find_held_lock+0x2b/0x80 [ 9.023021][ T91] ? __rtnl_newlink+0xa50/0xa50 [ 9.023023][ T91] ? __lock_release.isra.0+0x69/0x1a0 [ 9.023027][ T91] ? __rtnl_newlink+0xa50/0xa50 [ 9.023029][ T91] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.023032][ T91] ? rtnl_link_fill+0x900/0x900 [ 9.023034][ T91] ? __lock_acquire+0x518/0xc20 [ 9.023038][ T91] ? lock_acquire.part.0+0xd4/0x280 [ 9.023040][ T91] ? find_held_lock+0x2b/0x80 [ 9.023044][ T91] netlink_rcv_skb+0x14e/0x3a0 [ 9.023047][ T91] ? rtnl_link_fill+0x900/0x900 [ 9.023054][ T91] ? netlink_ack+0xcd0/0xcd0 [ 9.023062][ T91] ? netlink_deliver_tap+0xc5/0x330 [ 9.023065][ T91] ? netlink_deliver_tap+0x13c/0x330 [ 9.023075][ T91] netlink_unicast+0x486/0x750 [ 9.023079][ T91] ? netlink_attachskb+0x810/0x810 [ 9.023082][ T91] ? __lock_acquire+0x518/0xc20 [ 9.023086][ T91] netlink_sendmsg+0x735/0xc60 [ 9.023090][ T91] ? netlink_unicast+0x750/0x750 [ 9.023094][ T91] ? __might_fault+0x97/0x140 [ 9.023097][ T91] ? __might_fault+0x97/0x140 [ 9.023101][ T91] __sys_sendto+0x2aa/0x400 [ 9.023105][ T91] ? __ia32_sys_getpeername+0xd0/0xd0 [ 9.023110][ T91] ? __schedule+0x1239/0x20e0 [ 9.023113][ T91] ? __schedule+0xfa5/0x20e0 [ 9.023123][ T91] __x64_sys_sendto+0xe4/0x1f0 [ 9.023125][ T91] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.023129][ T91] ? lockdep_hardirqs_on+0x91/0x130 [ 9.023131][ T91] ? do_syscall_64+0xa6/0x530 [ 9.023133][ T91] do_syscall_64+0xff/0x530 [ 9.023135][ T91] ? irq_exit_rcu+0x1a/0x30 [ 9.023140][ T91] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.023142][ T91] RIP: 0033:0x7fad3cee054e [ 9.023146][ 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 [ 9.023148][ T91] RSP: 002b:00007ffde5201090 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 9.023151][ T91] RAX: ffffffffffffffda RBX: 0000560f41084f40 RCX: 00007fad3cee054e [ 9.023152][ T91] RDX: 0000000000000030 RSI: 0000560f411ec6f0 RDI: 0000000000000024 [ 9.023153][ T91] RBP: 00007ffde52010a0 R08: 00007ffde52010f0 R09: 0000000000000080 [ 9.023154][ T91] R10: 0000000000000000 R11: 0000000000000202 R12: 0000560f411ed270 [ 9.023154][ T91] R13: 00007ffde52011d4 R14: 0000000000000000 R15: 0000000000000000 [ 9.023161][ T91] [ 9.205827][ T139] netdevsim netdevsim1337 nsim0: renamed from eni1337np1 [ 9.251042][ T140] ip (140) used greatest stack depth: 24056 bytes left