[ 8.766648][ T83] netdevsim netdevsim1337 eni1337np1: renamed from eth0 [ 8.766744][ T83] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.766748][ T83] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 83, name: (udev-worker) [ 8.766750][ T83] preempt_count: 1, expected: 0 [ 8.766752][ T83] RCU nest depth: 0, expected: 0 [ 8.766753][ T83] locks held by (udev-worker)/83: 6, last CPU#2: [ 8.766757][ T83] #0: ffffffff8decfcc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 8.766773][ T83] #1: ff1100000cbaadd0 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 8.766781][ T83] #2: ffffffff8d769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.766790][ T83] #3: ffffffff8d769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.766796][ T83] #4: ffffffff8d689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.766801][ T83] #5: ffffffff8d689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 8.766808][ T83] irq event stamp: 349400 [ 8.766809][ T83] hardirqs last enabled at (349399): [] __down_trylock_console_sem+0x86/0xa0 [ 8.766813][ T83] hardirqs last disabled at (349400): [] console_emit_next_record+0x3d4/0x4c0 [ 8.766822][ T83] softirqs last enabled at (349394): [] netif_change_name+0x216/0x8c0 [ 8.766825][ T83] softirqs last disabled at (349392): [] netif_change_name+0x1ad/0x8c0 [ 8.766829][ T83] Preemption disabled at: [ 8.766830][ T83] [] vprintk_emit+0x31b/0x3e0 [ 8.766837][ T83] CPU: 2 UID: 0 PID: 83 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.766843][ T83] Tainted: [W]=WARN [ 8.766844][ T83] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.766847][ T83] Call Trace: [ 8.766849][ T83] [ 8.766852][ T83] dump_stack_lvl+0x6f/0xa0 [ 8.766859][ T83] ? vprintk_emit+0x31b/0x3e0 [ 8.766862][ T83] __might_resched.cold+0x1fe/0x2c1 [ 8.766869][ T83] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.766875][ T83] ? __kmalloc_noprof+0xdb/0x760 [ 8.766883][ T83] __kmalloc_noprof+0x443/0x760 [ 8.766886][ T83] ? alloc_buf.isra.0+0x4b/0x260 [ 8.766896][ T83] ? do_raw_spin_unlock+0x59/0x250 [ 8.766900][ T83] alloc_buf.isra.0+0x4b/0x260 [ 8.766907][ T83] put_chars+0x1e1/0x2f0 [ 8.766913][ T83] ? __send_to_port+0x420/0x420 [ 8.766924][ T83] ? validate_chain+0x34a/0xc20 [ 8.766931][ T83] hvc_console_print+0x292/0x780 [ 8.766937][ T83] ? mark_usage+0x61/0x170 [ 8.766940][ T83] ? __lock_acquire+0x518/0xc20 [ 8.766943][ T83] ? __lock_acquire+0x518/0xc20 [ 8.766951][ T83] ? hvc_write+0x3a0/0x3a0 [ 8.766956][ T83] ? console_emit_next_record+0x1df/0x4c0 [ 8.766960][ T83] ? rcu_is_watching+0x16/0xd0 [ 8.766964][ T83] ? lock_acquire+0x13c/0x160 [ 8.766969][ T83] console_emit_next_record+0x22f/0x4c0 [ 8.766973][ T83] ? devkmsg_read+0x4b0/0x4b0 [ 8.766975][ T83] ? console_flush_one_record+0x106/0x710 [ 8.766979][ T83] ? rcu_is_watching+0x16/0xd0 [ 8.766982][ T83] ? lock_acquire+0x13c/0x160 [ 8.766987][ T83] console_flush_one_record+0x46f/0x710 [ 8.766992][ T83] ? console_emit_next_record+0x4c0/0x4c0 [ 8.766994][ T83] ? __lock_acquire+0x518/0xc20 [ 8.766999][ T83] console_unlock+0xee/0x1f0 [ 8.767002][ T83] ? console_flush_one_record+0x710/0x710 [ 8.767004][ T83] ? rcu_is_watching+0x16/0xd0 [ 8.767006][ T83] ? lock_acquire+0x60/0x160 [ 8.767010][ T83] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.767011][ T83] ? vprintk_emit+0x320/0x3e0 [ 8.767014][ T83] vprintk_emit+0x37c/0x3e0 [ 8.767017][ T83] ? wake_up_klogd_work_func+0x90/0x90 [ 8.767020][ T83] ? write_profile+0xf0/0xf0 [ 8.767023][ T83] ? unwind_get_return_address+0x67/0xd0 [ 8.767030][ T83] dev_vprintk_emit+0x27f/0x2c0 [ 8.767035][ T83] ? device_rename.cold+0xa/0xa [ 8.767039][ T83] ? filter_irq_stacks+0xd0/0xd0 [ 8.767044][ T83] dev_printk_emit+0xb9/0xee [ 8.767047][ T83] ? dev_vprintk_emit+0x2c0/0x2c0 [ 8.767051][ T83] ? check_prev_add+0x316/0xe90 [ 8.767055][ T83] __netdev_printk+0x160/0x1d0 [ 8.767061][ T83] netdev_info+0xe2/0x116 [ 8.767063][ T83] ? netdev_notice+0x120/0x120 [ 8.767066][ T83] ? find_held_lock+0x2b/0x80 [ 8.767071][ T83] ? __lock_release.isra.0+0x69/0x1a0 [ 8.767073][ T83] ? mark_held_locks+0x40/0x70 [ 8.767076][ T83] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 8.767078][ T83] netif_change_name.cold+0x4f/0x89 [ 8.767081][ T83] ? __lock_acquire+0x518/0xc20 [ 8.767083][ T83] ? __lock_acquire+0x7/0xc20 [ 8.767084][ T83] ? find_held_lock+0x2/0x80 [ 8.767087][ T83] ? netdev_adjacent_rename_links+0x470/0x470 [ 8.767090][ T83] ? find_held_lock+0x2b/0x80 [ 8.767093][ T83] ? __asan_memset+0x27/0x50 [ 8.767100][ T83] do_setlink.isra.0+0x1f7d/0x2a60 [ 8.767103][ T83] ? __lock_acquire+0x518/0xc20 [ 8.767106][ T83] ? rtnl_link_get_size+0x350/0x350 [ 8.767108][ T83] ? mark_usage+0x61/0x170 [ 8.767109][ T83] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.767112][ T83] ? rcu_read_lock_any_held+0x3c/0x90 [ 8.767114][ T83] ? validate_chain+0x38b/0xc20 [ 8.767118][ T83] ? __lock_acquire+0x518/0xc20 [ 8.767123][ T83] ? lock_acquire.part.0+0xd4/0x280 [ 8.767124][ T83] ? rtnl_setlink+0x29d/0x920 [ 8.767127][ T83] ? rcu_is_watching+0x16/0xd0 [ 8.767130][ T83] ? lock_acquire+0x13c/0x160 [ 8.767131][ T83] ? rcu_is_watching+0x16/0xd0 [ 8.767133][ T83] ? rcu_is_watching+0x16/0xd0 [ 8.767135][ T83] ? trace_contention_end+0xb3/0x180 [ 8.767138][ T83] ? __mutex_lock+0x1db/0x1ea0 [ 8.767142][ T83] ? __mutex_lock+0x9a3/0x1ea0 [ 8.767144][ T83] ? __lock_acquire+0x518/0xc20 [ 8.767146][ T83] ? rtnl_setlink+0x29d/0x920 [ 8.767148][ T83] ? mark_usage+0x61/0x170 [ 8.767151][ T83] ? ww_mutex_lock+0x160/0x160 [ 8.767153][ T83] ? nla_get_range_signed+0x3d0/0x3d0 [ 8.767159][ T83] ? mark_usage+0x61/0x170 [ 8.767162][ T83] ? cap_capable+0x1d7/0x3d0 [ 8.767170][ T83] rtnl_setlink+0x527/0x920 [ 8.767173][ T83] ? __rtnl_newlink+0xa50/0xa50 [ 8.767175][ T83] ? __lock_acquire+0x518/0xc20 [ 8.767204][ T83] ? lock_acquire.part.0+0xd4/0x280 [ 8.767206][ T83] ? find_held_lock+0x2b/0x80 [ 8.767209][ T83] ? __lock_release.isra.0+0x69/0x1a0 [ 8.767210][ T83] ? mark_usage+0x61/0x170 [ 8.767212][ T83] ? __lock_acquire+0x518/0xc20 [ 8.767216][ T83] ? lock_acquire.part.0+0xd4/0x280 [ 8.767218][ T83] ? find_held_lock+0x2b/0x80 [ 8.767220][ T83] ? __rtnl_newlink+0xa50/0xa50 [ 8.767222][ T83] ? __lock_release.isra.0+0x69/0x1a0 [ 8.767226][ T83] ? __rtnl_newlink+0xa50/0xa50 [ 8.767228][ T83] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 8.767231][ T83] ? rtnl_link_fill+0x900/0x900 [ 8.767233][ T83] ? __lock_acquire+0x518/0xc20 [ 8.767237][ T83] ? lock_acquire.part.0+0xd4/0x280 [ 8.767239][ T83] ? find_held_lock+0x2b/0x80 [ 8.767243][ T83] netlink_rcv_skb+0x14e/0x3a0 [ 8.767246][ T83] ? rtnl_link_fill+0x900/0x900 [ 8.767249][ T83] ? netlink_ack+0xcd0/0xcd0 [ 8.767255][ T83] ? netlink_deliver_tap+0xc5/0x330 [ 8.767257][ T83] ? netlink_deliver_tap+0x13c/0x330 [ 8.767262][ T83] netlink_unicast+0x486/0x750 [ 8.767265][ T83] ? netlink_attachskb+0x810/0x810 [ 8.767268][ T83] ? __lock_acquire+0x518/0xc20 [ 8.767272][ T83] netlink_sendmsg+0x735/0xc60 [ 8.767276][ T83] ? netlink_unicast+0x750/0x750 [ 8.767279][ T83] ? __might_fault+0x97/0x140 [ 8.767282][ T83] ? __might_fault+0x97/0x140 [ 8.767286][ T83] __sys_sendto+0x2aa/0x400 [ 8.767290][ T83] ? __ia32_sys_getpeername+0xd0/0xd0 [ 8.767301][ T83] ? exc_page_fault+0x87/0x100 [ 8.767306][ T83] __x64_sys_sendto+0xe4/0x1f0 [ 8.767309][ T83] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 8.767313][ T83] ? lockdep_hardirqs_on+0x91/0x130 [ 8.767314][ T83] ? do_syscall_64+0xa6/0x530 [ 8.767316][ T83] do_syscall_64+0xff/0x530 [ 8.767318][ T83] ? exc_page_fault+0xee/0x100 [ 8.767321][ T83] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.767323][ T83] RIP: 0033:0x7f0b0cd3954e [ 8.767327][ T83] 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.767329][ T83] RSP: 002b:00007ffe6f6459c0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 8.767331][ T83] RAX: ffffffffffffffda RBX: 000055a6049e2f40 RCX: 00007f0b0cd3954e [ 8.767333][ T83] RDX: 0000000000000030 RSI: 000055a6049e3ae0 RDI: 0000000000000016 [ 8.767334][ T83] RBP: 00007ffe6f6459d0 R08: 00007ffe6f645a20 R09: 0000000000000080 [ 8.767335][ T83] R10: 0000000000000000 R11: 0000000000000202 R12: 000055a604b38530 [ 8.767335][ T83] R13: 00007ffe6f645b04 R14: 0000000000000000 R15: 0000000000000000 [ 8.767342][ T83] [ 8.964828][ T138] netdevsim netdevsim1337 nsim0: renamed from eni1337np1