[ 8.782662][ T89] netdevsim netdevsim1337 eni1337np1: renamed from eth0 [ 8.782730][ T89] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.782732][ T89] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 89, name: (udev-worker) [ 8.782734][ T89] preempt_count: 1, expected: 0 [ 8.782735][ T89] RCU nest depth: 0, expected: 0 [ 8.782736][ T89] locks held by (udev-worker)/89: 6, last CPU#2: [ 8.782738][ T89] #0: ffffffff9decfcc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 8.782750][ T89] #1: ff110000140dadd0 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 8.782755][ T89] #2: ffffffff9d769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.782761][ T89] #3: ffffffff9d769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.782764][ T89] #4: ffffffff9d689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.782767][ T89] #5: ffffffff9d689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 8.782771][ T89] irq event stamp: 455744 [ 8.782772][ T89] hardirqs last enabled at (455743): [] __down_trylock_console_sem+0x86/0xa0 [ 8.782774][ T89] hardirqs last disabled at (455744): [] console_emit_next_record+0x3d4/0x4c0 [ 8.782776][ T89] softirqs last enabled at (455738): [] netif_change_name+0x216/0x8c0 [ 8.782778][ T89] softirqs last disabled at (455736): [] netif_change_name+0x1ad/0x8c0 [ 8.782780][ T89] Preemption disabled at: [ 8.782781][ T89] [] vprintk_emit+0x31b/0x3e0 [ 8.782787][ T89] CPU: 2 UID: 0 PID: 89 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.782791][ T89] Tainted: [W]=WARN [ 8.782792][ T89] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.782794][ T89] Call Trace: [ 8.782795][ T89] [ 8.782797][ T89] dump_stack_lvl+0x6f/0xa0 [ 8.782803][ T89] ? vprintk_emit+0x31b/0x3e0 [ 8.782805][ T89] __might_resched.cold+0x1fe/0x2c1 [ 8.782809][ T89] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.782813][ T89] ? __kmalloc_noprof+0xdb/0x760 [ 8.782818][ T89] __kmalloc_noprof+0x443/0x760 [ 8.782820][ T89] ? alloc_buf.isra.0+0x4b/0x260 [ 8.782827][ T89] ? do_raw_spin_unlock+0x59/0x250 [ 8.782829][ T89] alloc_buf.isra.0+0x4b/0x260 [ 8.782833][ T89] put_chars+0x1e1/0x2f0 [ 8.782836][ T89] ? __send_to_port+0x420/0x420 [ 8.782841][ T89] ? validate_chain+0x34a/0xc20 [ 8.782844][ T89] hvc_console_print+0x292/0x780 [ 8.782848][ T89] ? mark_usage+0x61/0x170 [ 8.782850][ T89] ? __lock_acquire+0x518/0xc20 [ 8.782851][ T89] ? __lock_acquire+0x518/0xc20 [ 8.782855][ T89] ? hvc_write+0x3a0/0x3a0 [ 8.782858][ T89] ? console_emit_next_record+0x1df/0x4c0 [ 8.782860][ T89] ? rcu_is_watching+0x16/0xd0 [ 8.782864][ T89] ? lock_acquire+0x13c/0x160 [ 8.782868][ T89] console_emit_next_record+0x22f/0x4c0 [ 8.782872][ T89] ? devkmsg_read+0x4b0/0x4b0 [ 8.782873][ T89] ? console_flush_one_record+0x106/0x710 [ 8.782876][ T89] ? rcu_is_watching+0x16/0xd0 [ 8.782878][ T89] ? lock_acquire+0x13c/0x160 [ 8.782882][ T89] console_flush_one_record+0x46f/0x710 [ 8.782886][ T89] ? console_emit_next_record+0x4c0/0x4c0 [ 8.782887][ T89] ? __lock_acquire+0x518/0xc20 [ 8.782892][ T89] console_unlock+0xee/0x1f0 [ 8.782895][ T89] ? console_flush_one_record+0x710/0x710 [ 8.782896][ T89] ? rcu_is_watching+0x16/0xd0 [ 8.782898][ T89] ? lock_acquire+0x60/0x160 [ 8.782902][ T89] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.782903][ T89] ? vprintk_emit+0x320/0x3e0 [ 8.782906][ T89] vprintk_emit+0x37c/0x3e0 [ 8.782910][ T89] ? wake_up_klogd_work_func+0x90/0x90 [ 8.782912][ T89] ? write_profile+0xf0/0xf0 [ 8.782915][ T89] ? unwind_get_return_address+0x67/0xd0 [ 8.782922][ T89] dev_vprintk_emit+0x27f/0x2c0 [ 8.782927][ T89] ? device_rename.cold+0xa/0xa [ 8.782932][ T89] ? filter_irq_stacks+0xd0/0xd0 [ 8.782938][ T89] dev_printk_emit+0xb9/0xee [ 8.782941][ T89] ? dev_vprintk_emit+0x2c0/0x2c0 [ 8.782945][ T89] ? check_prev_add+0x316/0xe90 [ 8.782950][ T89] __netdev_printk+0x160/0x1d0 [ 8.782955][ T89] netdev_info+0xe2/0x116 [ 8.782957][ T89] ? netdev_notice+0x120/0x120 [ 8.782960][ T89] ? find_held_lock+0x2b/0x80 [ 8.782964][ T89] ? __lock_release.isra.0+0x69/0x1a0 [ 8.782966][ T89] ? mark_held_locks+0x40/0x70 [ 8.782969][ T89] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 8.782972][ T89] netif_change_name.cold+0x4f/0x89 [ 8.782975][ T89] ? __lock_acquire+0x518/0xc20 [ 8.782976][ T89] ? __lock_acquire+0x7/0xc20 [ 8.782978][ T89] ? find_held_lock+0x2/0x80 [ 8.782981][ T89] ? netdev_adjacent_rename_links+0x470/0x470 [ 8.782983][ T89] ? find_held_lock+0x2b/0x80 [ 8.782987][ T89] ? __asan_memset+0x27/0x50 [ 8.782992][ T89] do_setlink.isra.0+0x1f7d/0x2a60 [ 8.782995][ T89] ? __lock_acquire+0x518/0xc20 [ 8.782998][ T89] ? rtnl_link_get_size+0x350/0x350 [ 8.782999][ T89] ? mark_usage+0x61/0x170 [ 8.783001][ T89] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.783003][ T89] ? rcu_read_lock_any_held+0x3c/0x90 [ 8.783006][ T89] ? validate_chain+0x38b/0xc20 [ 8.783010][ T89] ? __lock_acquire+0x518/0xc20 [ 8.783014][ T89] ? lock_acquire.part.0+0xd4/0x280 [ 8.783016][ T89] ? rtnl_setlink+0x29d/0x920 [ 8.783019][ T89] ? rcu_is_watching+0x16/0xd0 [ 8.783021][ T89] ? lock_acquire+0x13c/0x160 [ 8.783022][ T89] ? rcu_is_watching+0x16/0xd0 [ 8.783024][ T89] ? rcu_is_watching+0x16/0xd0 [ 8.783026][ T89] ? trace_contention_end+0xb3/0x180 [ 8.783029][ T89] ? __mutex_lock+0x1db/0x1ea0 [ 8.783033][ T89] ? __mutex_lock+0x9a3/0x1ea0 [ 8.783034][ T89] ? __lock_acquire+0x518/0xc20 [ 8.783036][ T89] ? rtnl_setlink+0x29d/0x920 [ 8.783038][ T89] ? mark_usage+0x61/0x170 [ 8.783041][ T89] ? ww_mutex_lock+0x160/0x160 [ 8.783043][ T89] ? nla_get_range_signed+0x3d0/0x3d0 [ 8.783049][ T89] ? mark_usage+0x61/0x170 [ 8.783052][ T89] ? cap_capable+0x1d7/0x3d0 [ 8.783060][ T89] rtnl_setlink+0x527/0x920 [ 8.783063][ T89] ? __rtnl_newlink+0xa50/0xa50 [ 8.783065][ T89] ? __lock_acquire+0x518/0xc20 [ 8.783088][ T89] ? lock_acquire.part.0+0xd4/0x280 [ 8.783089][ T89] ? find_held_lock+0x2b/0x80 [ 8.783093][ T89] ? __lock_release.isra.0+0x69/0x1a0 [ 8.783094][ T89] ? mark_usage+0x61/0x170 [ 8.783096][ T89] ? __lock_acquire+0x518/0xc20 [ 8.783100][ T89] ? lock_acquire.part.0+0xd4/0x280 [ 8.783102][ T89] ? find_held_lock+0x2b/0x80 [ 8.783104][ T89] ? __rtnl_newlink+0xa50/0xa50 [ 8.783106][ T89] ? __lock_release.isra.0+0x69/0x1a0 [ 8.783110][ T89] ? __rtnl_newlink+0xa50/0xa50 [ 8.783112][ T89] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 8.783115][ T89] ? rtnl_link_fill+0x900/0x900 [ 8.783117][ T89] ? __lock_acquire+0x518/0xc20 [ 8.783121][ T89] ? lock_acquire.part.0+0xd4/0x280 [ 8.783123][ T89] ? find_held_lock+0x2b/0x80 [ 8.783127][ T89] netlink_rcv_skb+0x14e/0x3a0 [ 8.783130][ T89] ? rtnl_link_fill+0x900/0x900 [ 8.783133][ T89] ? netlink_ack+0xcd0/0xcd0 [ 8.783140][ T89] ? netlink_deliver_tap+0xc5/0x330 [ 8.783141][ T89] ? netlink_deliver_tap+0x13c/0x330 [ 8.783146][ T89] netlink_unicast+0x486/0x750 [ 8.783150][ T89] ? netlink_attachskb+0x810/0x810 [ 8.783152][ T89] ? __lock_acquire+0x518/0xc20 [ 8.783154][ T89] ? do_raw_spin_trylock+0x161/0x180 [ 8.783158][ T89] netlink_sendmsg+0x735/0xc60 [ 8.783162][ T89] ? netlink_unicast+0x750/0x750 [ 8.783165][ T89] ? __might_fault+0x97/0x140 [ 8.783169][ T89] ? __might_fault+0x97/0x140 [ 8.783172][ T89] __sys_sendto+0x2aa/0x400 [ 8.783177][ T89] ? __ia32_sys_getpeername+0xd0/0xd0 [ 8.783188][ T89] ? exc_page_fault+0x87/0x100 [ 8.783194][ T89] __x64_sys_sendto+0xe4/0x1f0 [ 8.783196][ T89] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 8.783200][ T89] ? lockdep_hardirqs_on+0x91/0x130 [ 8.783201][ T89] ? do_syscall_64+0xa6/0x530 [ 8.783203][ T89] do_syscall_64+0xff/0x530 [ 8.783205][ T89] ? exc_page_fault+0xee/0x100 [ 8.783208][ T89] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.783210][ T89] RIP: 0033:0x7fe34afbf54e [ 8.783214][ T89] 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 [ 8.783216][ T89] RSP: 002b:00007ffee6e75270 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 8.783218][ T89] RAX: ffffffffffffffda RBX: 00005603f7cfdf60 RCX: 00007fe34afbf54e [ 8.783220][ T89] RDX: 0000000000000030 RSI: 00005603f7e4ee60 RDI: 0000000000000022 [ 8.783221][ T89] RBP: 00007ffee6e75280 R08: 00007ffee6e752d0 R09: 0000000000000080 [ 8.783221][ T89] R10: 0000000000000000 R11: 0000000000000202 R12: 00005603f7e58c60 [ 8.783222][ T89] R13: 00007ffee6e753b4 R14: 0000000000000000 R15: 0000000000000000 [ 8.783229][ T89] [ 8.972659][ T138] netdevsim netdevsim1337 nsim0: renamed from eni1337np1