[ 10.157474][ T88] netdevsim netdevsim1337 eni1337np1: renamed from eth0 [ 10.157559][ T88] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.157561][ T88] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 88, name: (udev-worker) [ 10.157563][ T88] preempt_count: 1, expected: 0 [ 10.157564][ T88] RCU nest depth: 0, expected: 0 [ 10.157565][ T88] locks held by (udev-worker)/88: 6, last CPU#3: [ 10.157567][ T88] #0: ffffffff882cfcc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 10.157579][ T88] #1: ff1100000d022dd0 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 10.157584][ T88] #2: ffffffff87b69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.157590][ T88] #3: ffffffff87b69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.157593][ T88] #4: ffffffff87a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.157596][ T88] #5: ffffffff87a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.157600][ T88] irq event stamp: 420948 [ 10.157601][ T88] hardirqs last enabled at (420947): [] __down_trylock_console_sem+0x86/0xa0 [ 10.157603][ T88] hardirqs last disabled at (420948): [] console_emit_next_record+0x3d4/0x4c0 [ 10.157605][ T88] softirqs last enabled at (420942): [] netif_change_name+0x216/0x8c0 [ 10.157608][ T88] softirqs last disabled at (420940): [] netif_change_name+0x1ad/0x8c0 [ 10.157611][ T88] Preemption disabled at: [ 10.157612][ T88] [] vprintk_emit+0x31b/0x3e0 [ 10.157618][ T88] CPU: 3 UID: 0 PID: 88 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.157622][ T88] Tainted: [W]=WARN [ 10.157623][ T88] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.157625][ T88] Call Trace: [ 10.157626][ T88] [ 10.157628][ T88] dump_stack_lvl+0x6f/0xa0 [ 10.157634][ T88] ? vprintk_emit+0x31b/0x3e0 [ 10.157636][ T88] __might_resched.cold+0x1fe/0x2c1 [ 10.157640][ T88] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.157644][ T88] ? __kmalloc_noprof+0xdb/0x760 [ 10.157649][ T88] __kmalloc_noprof+0x443/0x760 [ 10.157651][ T88] ? alloc_buf.isra.0+0x4b/0x260 [ 10.157657][ T88] ? do_raw_spin_unlock+0x59/0x250 [ 10.157660][ T88] alloc_buf.isra.0+0x4b/0x260 [ 10.157664][ T88] put_chars+0x1e1/0x2f0 [ 10.157667][ T88] ? __send_to_port+0x420/0x420 [ 10.157672][ T88] ? validate_chain+0x34a/0xc20 [ 10.157676][ T88] hvc_console_print+0x292/0x780 [ 10.157679][ T88] ? mark_usage+0x61/0x170 [ 10.157681][ T88] ? __lock_acquire+0x518/0xc20 [ 10.157682][ T88] ? __lock_acquire+0x518/0xc20 [ 10.157686][ T88] ? hvc_write+0x3a0/0x3a0 [ 10.157688][ T88] ? console_emit_next_record+0x1df/0x4c0 [ 10.157691][ T88] ? rcu_is_watching+0x16/0xd0 [ 10.157695][ T88] ? lock_acquire+0x13c/0x160 [ 10.157699][ T88] console_emit_next_record+0x22f/0x4c0 [ 10.157703][ T88] ? devkmsg_read+0x4b0/0x4b0 [ 10.157704][ T88] ? console_flush_one_record+0x106/0x710 [ 10.157707][ T88] ? rcu_is_watching+0x16/0xd0 [ 10.157709][ T88] ? lock_acquire+0x13c/0x160 [ 10.157713][ T88] console_flush_one_record+0x46f/0x710 [ 10.157717][ T88] ? console_emit_next_record+0x4c0/0x4c0 [ 10.157719][ T88] ? __lock_acquire+0x518/0xc20 [ 10.157724][ T88] console_unlock+0xee/0x1f0 [ 10.157726][ T88] ? console_flush_one_record+0x710/0x710 [ 10.157728][ T88] ? rcu_is_watching+0x16/0xd0 [ 10.157730][ T88] ? lock_acquire+0x60/0x160 [ 10.157734][ T88] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.157735][ T88] ? vprintk_emit+0x320/0x3e0 [ 10.157738][ T88] vprintk_emit+0x37c/0x3e0 [ 10.157742][ T88] ? wake_up_klogd_work_func+0x90/0x90 [ 10.157744][ T88] ? write_profile+0xf0/0xf0 [ 10.157747][ T88] ? unwind_get_return_address+0x67/0xd0 [ 10.157754][ T88] dev_vprintk_emit+0x27f/0x2c0 [ 10.157759][ T88] ? device_rename.cold+0xa/0xa [ 10.157763][ T88] ? filter_irq_stacks+0xd0/0xd0 [ 10.157769][ T88] dev_printk_emit+0xb9/0xee [ 10.157772][ T88] ? dev_vprintk_emit+0x2c0/0x2c0 [ 10.157776][ T88] ? check_prev_add+0x316/0xe90 [ 10.157781][ T88] __netdev_printk+0x160/0x1d0 [ 10.157786][ T88] netdev_info+0xe2/0x116 [ 10.157788][ T88] ? netdev_notice+0x120/0x120 [ 10.157791][ T88] ? find_held_lock+0x2b/0x80 [ 10.157795][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 10.157798][ T88] ? mark_held_locks+0x40/0x70 [ 10.157801][ T88] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.157803][ T88] netif_change_name.cold+0x4f/0x89 [ 10.157806][ T88] ? __lock_acquire+0x518/0xc20 [ 10.157808][ T88] ? __lock_acquire+0x7/0xc20 [ 10.157810][ T88] ? find_held_lock+0x2/0x80 [ 10.157813][ T88] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.157815][ T88] ? find_held_lock+0x2b/0x80 [ 10.157818][ T88] ? __asan_memset+0x27/0x50 [ 10.157824][ T88] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.157827][ T88] ? __lock_acquire+0x518/0xc20 [ 10.157830][ T88] ? rtnl_link_get_size+0x350/0x350 [ 10.157831][ T88] ? mark_usage+0x61/0x170 [ 10.157832][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.157835][ T88] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.157837][ T88] ? validate_chain+0x38b/0xc20 [ 10.157842][ T88] ? __lock_acquire+0x518/0xc20 [ 10.157846][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 10.157848][ T88] ? rtnl_setlink+0x29d/0x920 [ 10.157851][ T88] ? rcu_is_watching+0x16/0xd0 [ 10.157853][ T88] ? lock_acquire+0x13c/0x160 [ 10.157854][ T88] ? rcu_is_watching+0x16/0xd0 [ 10.157856][ T88] ? rcu_is_watching+0x16/0xd0 [ 10.157858][ T88] ? trace_contention_end+0xb3/0x180 [ 10.157861][ T88] ? __mutex_lock+0x1db/0x1ea0 [ 10.157864][ T88] ? __mutex_lock+0x9a3/0x1ea0 [ 10.157866][ T88] ? __lock_acquire+0x518/0xc20 [ 10.157868][ T88] ? rtnl_setlink+0x29d/0x920 [ 10.157871][ T88] ? mark_usage+0x61/0x170 [ 10.157873][ T88] ? ww_mutex_lock+0x160/0x160 [ 10.157875][ T88] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.157881][ T88] ? mark_usage+0x61/0x170 [ 10.157884][ T88] ? cap_capable+0x1d7/0x3d0 [ 10.157892][ T88] rtnl_setlink+0x527/0x920 [ 10.157895][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 10.157897][ T88] ? __lock_acquire+0x518/0xc20 [ 10.157920][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 10.157922][ T88] ? find_held_lock+0x2b/0x80 [ 10.157925][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 10.157927][ T88] ? mark_usage+0x61/0x170 [ 10.157929][ T88] ? __lock_acquire+0x518/0xc20 [ 10.157933][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 10.157935][ T88] ? find_held_lock+0x2b/0x80 [ 10.157938][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 10.157940][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 10.157944][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 10.157946][ T88] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.157949][ T88] ? rtnl_link_fill+0x900/0x900 [ 10.157951][ T88] ? __lock_acquire+0x518/0xc20 [ 10.157955][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 10.157957][ T88] ? find_held_lock+0x2b/0x80 [ 10.157961][ T88] netlink_rcv_skb+0x14e/0x3a0 [ 10.157964][ T88] ? rtnl_link_fill+0x900/0x900 [ 10.157967][ T88] ? netlink_ack+0xcd0/0xcd0 [ 10.157974][ T88] ? netlink_deliver_tap+0xc5/0x330 [ 10.157975][ T88] ? netlink_deliver_tap+0x13c/0x330 [ 10.157980][ T88] netlink_unicast+0x486/0x750 [ 10.157984][ T88] ? netlink_attachskb+0x810/0x810 [ 10.157986][ T88] ? __lock_acquire+0x518/0xc20 [ 10.157988][ T88] ? do_raw_spin_trylock+0x161/0x180 [ 10.157992][ T88] netlink_sendmsg+0x735/0xc60 [ 10.157996][ T88] ? netlink_unicast+0x750/0x750 [ 10.157999][ T88] ? __might_fault+0x97/0x140 [ 10.158003][ T88] ? __might_fault+0x97/0x140 [ 10.158006][ T88] __sys_sendto+0x2aa/0x400 [ 10.158011][ T88] ? __ia32_sys_getpeername+0xd0/0xd0 [ 10.158022][ T88] ? exc_page_fault+0x87/0x100 [ 10.158027][ T88] __x64_sys_sendto+0xe4/0x1f0 [ 10.158030][ T88] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.158033][ T88] ? lockdep_hardirqs_on+0x91/0x130 [ 10.158035][ T88] ? do_syscall_64+0xa6/0x530 [ 10.158037][ T88] do_syscall_64+0xff/0x530 [ 10.158039][ T88] ? exc_page_fault+0xee/0x100 [ 10.158041][ T88] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.158044][ T88] RIP: 0033:0x7f43d08fe54e [ 10.158048][ T88] 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.158049][ T88] RSP: 002b:00007fff0c471860 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 10.158052][ T88] RAX: ffffffffffffffda RBX: 000055b58b6ebf50 RCX: 00007f43d08fe54e [ 10.158053][ T88] RDX: 0000000000000030 RSI: 000055b58b6e88c0 RDI: 000000000000001e [ 10.158054][ T88] RBP: 00007fff0c471870 R08: 00007fff0c4718c0 R09: 0000000000000080 [ 10.158055][ T88] R10: 0000000000000000 R11: 0000000000000202 R12: 000055b58b840fe0 [ 10.158056][ T88] R13: 00007fff0c4719a4 R14: 0000000000000000 R15: 0000000000000000 [ 10.158063][ T88] [ 10.340703][ T138] netdevsim netdevsim1337 nsim0: renamed from eni1337np1 [ 10.399635][ T139] ip (139) used greatest stack depth: 23800 bytes left