[ 9.013502][ T86] netdevsim netdevsim1337 eni1337np1: renamed from eth0 [ 9.013562][ T86] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.013565][ T86] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 86, name: (udev-worker) [ 9.013566][ T86] preempt_count: 1, expected: 0 [ 9.013567][ T86] RCU nest depth: 0, expected: 0 [ 9.013569][ T86] locks held by (udev-worker)/86: 6, last CPU#1: [ 9.013571][ T86] #0: ffffffffb2ecfcc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 9.013583][ T86] #1: ff1100000cacadd0 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 9.013588][ T86] #2: ffffffffb2769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.013594][ T86] #3: ffffffffb2769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.013597][ T86] #4: ffffffffb2689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.013600][ T86] #5: ffffffffb2689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.013604][ T86] irq event stamp: 465362 [ 9.013605][ T86] hardirqs last enabled at (465361): [] __down_trylock_console_sem+0x86/0xa0 [ 9.013607][ T86] hardirqs last disabled at (465362): [] console_emit_next_record+0x3d4/0x4c0 [ 9.013609][ T86] softirqs last enabled at (465356): [] netif_change_name+0x216/0x8c0 [ 9.013612][ T86] softirqs last disabled at (465354): [] netif_change_name+0x1ad/0x8c0 [ 9.013614][ T86] Preemption disabled at: [ 9.013615][ T86] [] vprintk_emit+0x31b/0x3e0 [ 9.013620][ T86] CPU: 1 UID: 0 PID: 86 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.013624][ T86] Tainted: [W]=WARN [ 9.013625][ T86] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.013627][ T86] Call Trace: [ 9.013628][ T86] [ 9.013630][ T86] dump_stack_lvl+0x6f/0xa0 [ 9.013636][ T86] ? vprintk_emit+0x31b/0x3e0 [ 9.013638][ T86] __might_resched.cold+0x1fe/0x2c1 [ 9.013643][ T86] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.013647][ T86] ? __kmalloc_noprof+0xdb/0x760 [ 9.013651][ T86] __kmalloc_noprof+0x443/0x760 [ 9.013654][ T86] ? alloc_buf.isra.0+0x4b/0x260 [ 9.013660][ T86] ? do_raw_spin_unlock+0x59/0x250 [ 9.013662][ T86] alloc_buf.isra.0+0x4b/0x260 [ 9.013666][ T86] put_chars+0x1e1/0x2f0 [ 9.013669][ T86] ? __send_to_port+0x420/0x420 [ 9.013674][ T86] ? validate_chain+0x34a/0xc20 [ 9.013678][ T86] hvc_console_print+0x292/0x780 [ 9.013682][ T86] ? mark_usage+0x61/0x170 [ 9.013683][ T86] ? __lock_acquire+0x518/0xc20 [ 9.013685][ T86] ? __lock_acquire+0x518/0xc20 [ 9.013691][ T86] ? hvc_write+0x3a0/0x3a0 [ 9.013695][ T86] ? console_emit_next_record+0x1df/0x4c0 [ 9.013699][ T86] ? rcu_is_watching+0x16/0xd0 [ 9.013703][ T86] ? lock_acquire+0x13c/0x160 [ 9.013707][ T86] console_emit_next_record+0x22f/0x4c0 [ 9.013711][ T86] ? devkmsg_read+0x4b0/0x4b0 [ 9.013713][ T86] ? console_flush_one_record+0x106/0x710 [ 9.013716][ T86] ? rcu_is_watching+0x16/0xd0 [ 9.013718][ T86] ? lock_acquire+0x13c/0x160 [ 9.013722][ T86] console_flush_one_record+0x46f/0x710 [ 9.013726][ T86] ? console_emit_next_record+0x4c0/0x4c0 [ 9.013728][ T86] ? __lock_acquire+0x518/0xc20 [ 9.013733][ T86] console_unlock+0xee/0x1f0 [ 9.013736][ T86] ? console_flush_one_record+0x710/0x710 [ 9.013737][ T86] ? rcu_is_watching+0x16/0xd0 [ 9.013739][ T86] ? lock_acquire+0x60/0x160 [ 9.013743][ T86] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.013744][ T86] ? vprintk_emit+0x320/0x3e0 [ 9.013747][ T86] vprintk_emit+0x37c/0x3e0 [ 9.013751][ T86] ? wake_up_klogd_work_func+0x90/0x90 [ 9.013753][ T86] ? write_profile+0xf0/0xf0 [ 9.013756][ T86] ? unwind_get_return_address+0x67/0xd0 [ 9.013763][ T86] dev_vprintk_emit+0x27f/0x2c0 [ 9.013768][ T86] ? device_rename.cold+0xa/0xa [ 9.013772][ T86] ? filter_irq_stacks+0xd0/0xd0 [ 9.013778][ T86] dev_printk_emit+0xb9/0xee [ 9.013781][ T86] ? dev_vprintk_emit+0x2c0/0x2c0 [ 9.013784][ T86] ? check_prev_add+0x316/0xe90 [ 9.013790][ T86] __netdev_printk+0x160/0x1d0 [ 9.013795][ T86] netdev_info+0xe2/0x116 [ 9.013797][ T86] ? netdev_notice+0x120/0x120 [ 9.013800][ T86] ? find_held_lock+0x2b/0x80 [ 9.013804][ T86] ? __lock_release.isra.0+0x69/0x1a0 [ 9.013806][ T86] ? mark_held_locks+0x40/0x70 [ 9.013809][ T86] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.013812][ T86] netif_change_name.cold+0x4f/0x89 [ 9.013815][ T86] ? __lock_acquire+0x518/0xc20 [ 9.013816][ T86] ? __lock_acquire+0x7/0xc20 [ 9.013818][ T86] ? find_held_lock+0x2/0x80 [ 9.013821][ T86] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.013824][ T86] ? find_held_lock+0x2b/0x80 [ 9.013827][ T86] ? __asan_memset+0x27/0x50 [ 9.013833][ T86] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.013836][ T86] ? __lock_acquire+0x518/0xc20 [ 9.013838][ T86] ? rtnl_link_get_size+0x350/0x350 [ 9.013840][ T86] ? mark_usage+0x61/0x170 [ 9.013841][ T86] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.013844][ T86] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.013846][ T86] ? validate_chain+0x38b/0xc20 [ 9.013850][ T86] ? __lock_acquire+0x518/0xc20 [ 9.013855][ T86] ? lock_acquire.part.0+0xd4/0x280 [ 9.013857][ T86] ? rtnl_setlink+0x29d/0x920 [ 9.013859][ T86] ? rcu_is_watching+0x16/0xd0 [ 9.013862][ T86] ? lock_acquire+0x13c/0x160 [ 9.013863][ T86] ? rcu_is_watching+0x16/0xd0 [ 9.013865][ T86] ? rcu_is_watching+0x16/0xd0 [ 9.013867][ T86] ? trace_contention_end+0xb3/0x180 [ 9.013870][ T86] ? __mutex_lock+0x1db/0x1ea0 [ 9.013873][ T86] ? __mutex_lock+0x9a3/0x1ea0 [ 9.013875][ T86] ? __lock_acquire+0x518/0xc20 [ 9.013877][ T86] ? rtnl_setlink+0x29d/0x920 [ 9.013879][ T86] ? mark_usage+0x61/0x170 [ 9.013882][ T86] ? ww_mutex_lock+0x160/0x160 [ 9.013884][ T86] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.013890][ T86] ? mark_usage+0x61/0x170 [ 9.013893][ T86] ? cap_capable+0x1d7/0x3d0 [ 9.013900][ T86] rtnl_setlink+0x527/0x920 [ 9.013904][ T86] ? __rtnl_newlink+0xa50/0xa50 [ 9.013905][ T86] ? __lock_acquire+0x518/0xc20 [ 9.013928][ T86] ? lock_acquire.part.0+0xd4/0x280 [ 9.013930][ T86] ? find_held_lock+0x2b/0x80 [ 9.013933][ T86] ? __lock_release.isra.0+0x69/0x1a0 [ 9.013935][ T86] ? mark_usage+0x61/0x170 [ 9.013936][ T86] ? __lock_acquire+0x518/0xc20 [ 9.013941][ T86] ? lock_acquire.part.0+0xd4/0x280 [ 9.013942][ T86] ? find_held_lock+0x2b/0x80 [ 9.013945][ T86] ? __rtnl_newlink+0xa50/0xa50 [ 9.013947][ T86] ? __lock_release.isra.0+0x69/0x1a0 [ 9.013951][ T86] ? __rtnl_newlink+0xa50/0xa50 [ 9.013953][ T86] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.013956][ T86] ? rtnl_link_fill+0x900/0x900 [ 9.013958][ T86] ? __lock_acquire+0x518/0xc20 [ 9.013962][ T86] ? lock_acquire.part.0+0xd4/0x280 [ 9.013964][ T86] ? find_held_lock+0x2b/0x80 [ 9.013968][ T86] netlink_rcv_skb+0x14e/0x3a0 [ 9.013971][ T86] ? rtnl_link_fill+0x900/0x900 [ 9.013974][ T86] ? netlink_ack+0xcd0/0xcd0 [ 9.013981][ T86] ? netlink_deliver_tap+0xc5/0x330 [ 9.013982][ T86] ? netlink_deliver_tap+0x13c/0x330 [ 9.013987][ T86] netlink_unicast+0x486/0x750 [ 9.013991][ T86] ? netlink_attachskb+0x810/0x810 [ 9.013993][ T86] ? __lock_acquire+0x518/0xc20 [ 9.013998][ T86] netlink_sendmsg+0x735/0xc60 [ 9.014002][ T86] ? netlink_unicast+0x750/0x750 [ 9.014005][ T86] ? __might_fault+0x97/0x140 [ 9.014009][ T86] ? __might_fault+0x97/0x140 [ 9.014013][ T86] __sys_sendto+0x2aa/0x400 [ 9.014017][ T86] ? __ia32_sys_getpeername+0xd0/0xd0 [ 9.014028][ T86] ? exc_page_fault+0x87/0x100 [ 9.014034][ T86] __x64_sys_sendto+0xe4/0x1f0 [ 9.014036][ T86] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.014040][ T86] ? lockdep_hardirqs_on+0x91/0x130 [ 9.014042][ T86] ? do_syscall_64+0xa6/0x530 [ 9.014044][ T86] do_syscall_64+0xff/0x530 [ 9.014046][ T86] ? exc_page_fault+0xee/0x100 [ 9.014049][ T86] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.014051][ T86] RIP: 0033:0x7f9ae98f754e [ 9.014055][ T86] 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.014057][ T86] RSP: 002b:00007ffcd0367740 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 9.014060][ T86] RAX: ffffffffffffffda RBX: 000055a57fd55f50 RCX: 00007f9ae98f754e [ 9.014061][ T86] RDX: 0000000000000030 RSI: 000055a57fd53d10 RDI: 000000000000001c [ 9.014062][ T86] RBP: 00007ffcd0367750 R08: 00007ffcd03677a0 R09: 0000000000000080 [ 9.014063][ T86] R10: 0000000000000000 R11: 0000000000000202 R12: 000055a57feaa720 [ 9.014064][ T86] R13: 00007ffcd0367884 R14: 0000000000000000 R15: 0000000000000000 [ 9.014071][ T86] [ 9.185465][ T137] netdevsim netdevsim1337 nsim0: renamed from eni1337np1 [ 9.192844][ T137] ip (137) used greatest stack depth: 24424 bytes left