[ 9.266486][ T85] netdevsim netdevsim1337 eni1337np1: renamed from eth0 [ 9.266543][ T85] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.266545][ T85] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 85, name: (udev-worker) [ 9.266547][ T85] preempt_count: 1, expected: 0 [ 9.266548][ T85] RCU nest depth: 0, expected: 0 [ 9.266549][ T85] locks held by (udev-worker)/85: 6, last CPU#0: [ 9.266551][ T85] #0: ffffffffb70cfcc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 9.266563][ T85] #1: ff11000007d6add0 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 9.266567][ T85] #2: ffffffffb6969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.266573][ T85] #3: ffffffffb6969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.266576][ T85] #4: ffffffffb6889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.266579][ T85] #5: ffffffffb6889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.266583][ T85] irq event stamp: 427166 [ 9.266584][ T85] hardirqs last enabled at (427165): [] __down_trylock_console_sem+0x86/0xa0 [ 9.266586][ T85] hardirqs last disabled at (427166): [] console_emit_next_record+0x3d4/0x4c0 [ 9.266588][ T85] softirqs last enabled at (427160): [] netif_change_name+0x216/0x8c0 [ 9.266591][ T85] softirqs last disabled at (427158): [] netif_change_name+0x1ad/0x8c0 [ 9.266593][ T85] Preemption disabled at: [ 9.266593][ T85] [] vprintk_emit+0x31b/0x3e0 [ 9.266599][ T85] CPU: 0 UID: 0 PID: 85 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.266603][ T85] Tainted: [W]=WARN [ 9.266603][ T85] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.266605][ T85] Call Trace: [ 9.266607][ T85] [ 9.266608][ T85] dump_stack_lvl+0x6f/0xa0 [ 9.266614][ T85] ? vprintk_emit+0x31b/0x3e0 [ 9.266616][ T85] __might_resched.cold+0x1fe/0x2c1 [ 9.266620][ T85] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.266624][ T85] ? __kmalloc_noprof+0xdb/0x760 [ 9.266629][ T85] __kmalloc_noprof+0x443/0x760 [ 9.266631][ T85] ? alloc_buf.isra.0+0x4b/0x260 [ 9.266638][ T85] ? do_raw_spin_unlock+0x59/0x250 [ 9.266640][ T85] alloc_buf.isra.0+0x4b/0x260 [ 9.266644][ T85] put_chars+0x1e1/0x2f0 [ 9.266647][ T85] ? __send_to_port+0x420/0x420 [ 9.266652][ T85] ? validate_chain+0x34a/0xc20 [ 9.266655][ T85] hvc_console_print+0x292/0x780 [ 9.266659][ T85] ? mark_usage+0x61/0x170 [ 9.266661][ T85] ? __lock_acquire+0x518/0xc20 [ 9.266662][ T85] ? __lock_acquire+0x518/0xc20 [ 9.266666][ T85] ? hvc_write+0x3a0/0x3a0 [ 9.266668][ T85] ? console_emit_next_record+0x1df/0x4c0 [ 9.266671][ T85] ? rcu_is_watching+0x16/0xd0 [ 9.266675][ T85] ? lock_acquire+0x13c/0x160 [ 9.266679][ T85] console_emit_next_record+0x22f/0x4c0 [ 9.266682][ T85] ? devkmsg_read+0x4b0/0x4b0 [ 9.266684][ T85] ? console_flush_one_record+0x106/0x710 [ 9.266687][ T85] ? rcu_is_watching+0x16/0xd0 [ 9.266689][ T85] ? lock_acquire+0x13c/0x160 [ 9.266695][ T85] console_flush_one_record+0x46f/0x710 [ 9.266701][ T85] ? console_emit_next_record+0x4c0/0x4c0 [ 9.266704][ T85] ? __lock_acquire+0x518/0xc20 [ 9.266709][ T85] console_unlock+0xee/0x1f0 [ 9.266712][ T85] ? console_flush_one_record+0x710/0x710 [ 9.266713][ T85] ? rcu_is_watching+0x16/0xd0 [ 9.266715][ T85] ? lock_acquire+0x60/0x160 [ 9.266719][ T85] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.266720][ T85] ? vprintk_emit+0x320/0x3e0 [ 9.266723][ T85] vprintk_emit+0x37c/0x3e0 [ 9.266727][ T85] ? wake_up_klogd_work_func+0x90/0x90 [ 9.266729][ T85] ? write_profile+0xf0/0xf0 [ 9.266732][ T85] ? unwind_get_return_address+0x67/0xd0 [ 9.266738][ T85] dev_vprintk_emit+0x27f/0x2c0 [ 9.266743][ T85] ? device_rename.cold+0xa/0xa [ 9.266747][ T85] ? filter_irq_stacks+0xd0/0xd0 [ 9.266753][ T85] dev_printk_emit+0xb9/0xee [ 9.266756][ T85] ? dev_vprintk_emit+0x2c0/0x2c0 [ 9.266768][ T85] ? check_prev_add+0x316/0xe90 [ 9.266773][ T85] __netdev_printk+0x160/0x1d0 [ 9.266778][ T85] netdev_info+0xe2/0x116 [ 9.266780][ T85] ? netdev_notice+0x120/0x120 [ 9.266783][ T85] ? find_held_lock+0x2b/0x80 [ 9.266787][ T85] ? __lock_release.isra.0+0x69/0x1a0 [ 9.266790][ T85] ? mark_held_locks+0x40/0x70 [ 9.266793][ T85] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.266795][ T85] netif_change_name.cold+0x4f/0x89 [ 9.266798][ T85] ? __lock_acquire+0x518/0xc20 [ 9.266800][ T85] ? __lock_acquire+0x7/0xc20 [ 9.266802][ T85] ? find_held_lock+0x2/0x80 [ 9.266805][ T85] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.266807][ T85] ? find_held_lock+0x2b/0x80 [ 9.266810][ T85] ? __asan_memset+0x27/0x50 [ 9.266816][ T85] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.266819][ T85] ? __lock_acquire+0x518/0xc20 [ 9.266821][ T85] ? rtnl_link_get_size+0x350/0x350 [ 9.266823][ T85] ? mark_usage+0x61/0x170 [ 9.266824][ T85] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.266827][ T85] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.266829][ T85] ? validate_chain+0x38b/0xc20 [ 9.266836][ T85] ? __lock_acquire+0x518/0xc20 [ 9.266843][ T85] ? lock_acquire.part.0+0xd4/0x280 [ 9.266846][ T85] ? rtnl_setlink+0x29d/0x920 [ 9.266848][ T85] ? rcu_is_watching+0x16/0xd0 [ 9.266851][ T85] ? lock_acquire+0x13c/0x160 [ 9.266852][ T85] ? rcu_is_watching+0x16/0xd0 [ 9.266853][ T85] ? rcu_is_watching+0x16/0xd0 [ 9.266856][ T85] ? trace_contention_end+0xb3/0x180 [ 9.266859][ T85] ? __mutex_lock+0x1db/0x1ea0 [ 9.266863][ T85] ? __mutex_lock+0x9a3/0x1ea0 [ 9.266864][ T85] ? __lock_acquire+0x518/0xc20 [ 9.266866][ T85] ? rtnl_setlink+0x29d/0x920 [ 9.266869][ T85] ? mark_usage+0x61/0x170 [ 9.266871][ T85] ? ww_mutex_lock+0x160/0x160 [ 9.266873][ T85] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.266879][ T85] ? mark_usage+0x61/0x170 [ 9.266882][ T85] ? cap_capable+0x1d7/0x3d0 [ 9.266891][ T85] rtnl_setlink+0x527/0x920 [ 9.266895][ T85] ? __rtnl_newlink+0xa50/0xa50 [ 9.266896][ T85] ? __lock_acquire+0x518/0xc20 [ 9.266918][ T85] ? lock_acquire.part.0+0xd4/0x280 [ 9.266920][ T85] ? find_held_lock+0x2b/0x80 [ 9.266923][ T85] ? __lock_release.isra.0+0x69/0x1a0 [ 9.266925][ T85] ? mark_usage+0x61/0x170 [ 9.266927][ T85] ? __lock_acquire+0x518/0xc20 [ 9.266931][ T85] ? lock_acquire.part.0+0xd4/0x280 [ 9.266933][ T85] ? find_held_lock+0x2b/0x80 [ 9.266935][ T85] ? __rtnl_newlink+0xa50/0xa50 [ 9.266937][ T85] ? __lock_release.isra.0+0x69/0x1a0 [ 9.266941][ T85] ? __rtnl_newlink+0xa50/0xa50 [ 9.266943][ T85] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.266947][ T85] ? rtnl_link_fill+0x900/0x900 [ 9.266949][ T85] ? __lock_acquire+0x518/0xc20 [ 9.266956][ T85] ? lock_acquire.part.0+0xd4/0x280 [ 9.266958][ T85] ? find_held_lock+0x2b/0x80 [ 9.266962][ T85] netlink_rcv_skb+0x14e/0x3a0 [ 9.266965][ T85] ? rtnl_link_fill+0x900/0x900 [ 9.266969][ T85] ? netlink_ack+0xcd0/0xcd0 [ 9.266975][ T85] ? netlink_deliver_tap+0xc5/0x330 [ 9.266977][ T85] ? netlink_deliver_tap+0x13c/0x330 [ 9.266981][ T85] netlink_unicast+0x486/0x750 [ 9.266985][ T85] ? netlink_attachskb+0x810/0x810 [ 9.266987][ T85] ? __lock_acquire+0x518/0xc20 [ 9.266989][ T85] ? do_raw_spin_trylock+0x161/0x180 [ 9.266993][ T85] netlink_sendmsg+0x735/0xc60 [ 9.266997][ T85] ? netlink_unicast+0x750/0x750 [ 9.267000][ T85] ? __might_fault+0x97/0x140 [ 9.267004][ T85] ? __might_fault+0x97/0x140 [ 9.267007][ T85] __sys_sendto+0x2aa/0x400 [ 9.267012][ T85] ? __ia32_sys_getpeername+0xd0/0xd0 [ 9.267023][ T85] ? exc_page_fault+0x87/0x100 [ 9.267028][ T85] __x64_sys_sendto+0xe4/0x1f0 [ 9.267031][ T85] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.267034][ T85] ? lockdep_hardirqs_on+0x91/0x130 [ 9.267036][ T85] ? do_syscall_64+0xa6/0x530 [ 9.267038][ T85] do_syscall_64+0xff/0x530 [ 9.267040][ T85] ? exc_page_fault+0xee/0x100 [ 9.267043][ T85] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.267046][ T85] RIP: 0033:0x7f98a411054e [ 9.267050][ T85] 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.267052][ T85] RSP: 002b:00007fff7233b410 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 9.267055][ T85] RAX: ffffffffffffffda RBX: 0000560408157f40 RCX: 00007f98a411054e [ 9.267056][ T85] RDX: 0000000000000030 RSI: 0000560408158580 RDI: 0000000000000018 [ 9.267057][ T85] RBP: 00007fff7233b420 R08: 00007fff7233b470 R09: 0000000000000080 [ 9.267058][ T85] R10: 0000000000000000 R11: 0000000000000202 R12: 00005604082acf90 [ 9.267059][ T85] R13: 00007fff7233b554 R14: 0000000000000000 R15: 0000000000000000 [ 9.267066][ T85] [ 9.430058][ T139] netdevsim netdevsim1337 nsim0: renamed from eni1337np1