[ 12.623908][ T82] netdevsim netdevsim1337 eni1337np1: renamed from eth0 [ 12.623994][ T82] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.623998][ T82] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 82, name: (udev-worker) [ 12.624000][ T82] preempt_count: 1, expected: 0 [ 12.624001][ T82] RCU nest depth: 0, expected: 0 [ 12.624003][ T82] locks held by (udev-worker)/82: 6, last CPU#2: [ 12.624006][ T82] #0: ffffffffafecfcc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 12.624020][ T82] #1: ff1100000c03add0 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 12.624027][ T82] #2: ffffffffaf769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.624035][ T82] #3: ffffffffaf769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.624041][ T82] #4: ffffffffaf689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.624046][ T82] #5: ffffffffaf689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.624053][ T82] irq event stamp: 434032 [ 12.624054][ T82] hardirqs last enabled at (434031): [] __down_trylock_console_sem+0x86/0xa0 [ 12.624058][ T82] hardirqs last disabled at (434032): [] console_emit_next_record+0x3d4/0x4c0 [ 12.624061][ T82] softirqs last enabled at (434026): [] netif_change_name+0x216/0x8c0 [ 12.624064][ T82] softirqs last disabled at (434024): [] netif_change_name+0x1ad/0x8c0 [ 12.624067][ T82] Preemption disabled at: [ 12.624068][ T82] [] vprintk_emit+0x31b/0x3e0 [ 12.624075][ T82] CPU: 2 UID: 0 PID: 82 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.624080][ T82] Tainted: [W]=WARN [ 12.624081][ T82] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.624083][ T82] Call Trace: [ 12.624086][ T82] [ 12.624088][ T82] dump_stack_lvl+0x6f/0xa0 [ 12.624095][ T82] ? vprintk_emit+0x31b/0x3e0 [ 12.624098][ T82] __might_resched.cold+0x1fe/0x2c1 [ 12.624104][ T82] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.624110][ T82] ? __kmalloc_noprof+0xdb/0x760 [ 12.624117][ T82] __kmalloc_noprof+0x443/0x760 [ 12.624120][ T82] ? alloc_buf.isra.0+0x4b/0x260 [ 12.624129][ T82] ? do_raw_spin_unlock+0x59/0x250 [ 12.624133][ T82] alloc_buf.isra.0+0x4b/0x260 [ 12.624139][ T82] put_chars+0x1e1/0x2f0 [ 12.624143][ T82] ? __send_to_port+0x420/0x420 [ 12.624151][ T82] ? validate_chain+0x34a/0xc20 [ 12.624157][ T82] hvc_console_print+0x292/0x780 [ 12.624162][ T82] ? mark_usage+0x61/0x170 [ 12.624165][ T82] ? __lock_acquire+0x518/0xc20 [ 12.624167][ T82] ? __lock_acquire+0x518/0xc20 [ 12.624173][ T82] ? hvc_write+0x3a0/0x3a0 [ 12.624177][ T82] ? console_emit_next_record+0x1df/0x4c0 [ 12.624182][ T82] ? rcu_is_watching+0x16/0xd0 [ 12.624187][ T82] ? lock_acquire+0x13c/0x160 [ 12.624194][ T82] console_emit_next_record+0x22f/0x4c0 [ 12.624200][ T82] ? devkmsg_read+0x4b0/0x4b0 [ 12.624202][ T82] ? console_flush_one_record+0x106/0x710 [ 12.624207][ T82] ? rcu_is_watching+0x16/0xd0 [ 12.624211][ T82] ? lock_acquire+0x13c/0x160 [ 12.624217][ T82] console_flush_one_record+0x46f/0x710 [ 12.624224][ T82] ? console_emit_next_record+0x4c0/0x4c0 [ 12.624226][ T82] ? __lock_acquire+0x518/0xc20 [ 12.624235][ T82] console_unlock+0xee/0x1f0 [ 12.624239][ T82] ? console_flush_one_record+0x710/0x710 [ 12.624242][ T82] ? rcu_is_watching+0x16/0xd0 [ 12.624245][ T82] ? lock_acquire+0x60/0x160 [ 12.624251][ T82] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.624253][ T82] ? vprintk_emit+0x320/0x3e0 [ 12.624259][ T82] vprintk_emit+0x37c/0x3e0 [ 12.624265][ T82] ? wake_up_klogd_work_func+0x90/0x90 [ 12.624268][ T82] ? write_profile+0xf0/0xf0 [ 12.624272][ T82] ? unwind_get_return_address+0x67/0xd0 [ 12.624282][ T82] dev_vprintk_emit+0x27f/0x2c0 [ 12.624289][ T82] ? device_rename.cold+0xa/0xa [ 12.624296][ T82] ? filter_irq_stacks+0xd0/0xd0 [ 12.624306][ T82] dev_printk_emit+0xb9/0xee [ 12.624310][ T82] ? dev_vprintk_emit+0x2c0/0x2c0 [ 12.624317][ T82] ? check_prev_add+0x316/0xe90 [ 12.624326][ T82] __netdev_printk+0x160/0x1d0 [ 12.624334][ T82] netdev_info+0xe2/0x116 [ 12.624338][ T82] ? netdev_notice+0x120/0x120 [ 12.624342][ T82] ? find_held_lock+0x2b/0x80 [ 12.624349][ T82] ? __lock_release.isra.0+0x69/0x1a0 [ 12.624352][ T82] ? mark_held_locks+0x40/0x70 [ 12.624358][ T82] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 12.624362][ T82] netif_change_name.cold+0x4f/0x89 [ 12.624367][ T82] ? __lock_acquire+0x518/0xc20 [ 12.624369][ T82] ? __lock_acquire+0x7/0xc20 [ 12.624372][ T82] ? find_held_lock+0x2/0x80 [ 12.624377][ T82] ? netdev_adjacent_rename_links+0x470/0x470 [ 12.624381][ T82] ? find_held_lock+0x2b/0x80 [ 12.624386][ T82] ? __asan_memset+0x27/0x50 [ 12.624395][ T82] do_setlink.isra.0+0x1f7d/0x2a60 [ 12.624400][ T82] ? __lock_acquire+0x518/0xc20 [ 12.624404][ T82] ? rtnl_link_get_size+0x350/0x350 [ 12.624407][ T82] ? mark_usage+0x61/0x170 [ 12.624409][ T82] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.624413][ T82] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.624416][ T82] ? validate_chain+0x38b/0xc20 [ 12.624424][ T82] ? __lock_acquire+0x518/0xc20 [ 12.624431][ T82] ? lock_acquire.part.0+0xd4/0x280 [ 12.624434][ T82] ? rtnl_setlink+0x29d/0x920 [ 12.624439][ T82] ? rcu_is_watching+0x16/0xd0 [ 12.624442][ T82] ? lock_acquire+0x13c/0x160 [ 12.624444][ T82] ? rcu_is_watching+0x16/0xd0 [ 12.624447][ T82] ? rcu_is_watching+0x16/0xd0 [ 12.624450][ T82] ? trace_contention_end+0xb3/0x180 [ 12.624455][ T82] ? __mutex_lock+0x1db/0x1ea0 [ 12.624459][ T82] ? __mutex_lock+0x9a3/0x1ea0 [ 12.624462][ T82] ? __lock_acquire+0x518/0xc20 [ 12.624465][ T82] ? rtnl_setlink+0x29d/0x920 [ 12.624469][ T82] ? mark_usage+0x61/0x170 [ 12.624473][ T82] ? ww_mutex_lock+0x160/0x160 [ 12.624476][ T82] ? nla_get_range_signed+0x3d0/0x3d0 [ 12.624485][ T82] ? mark_usage+0x61/0x170 [ 12.624490][ T82] ? cap_capable+0x1d7/0x3d0 [ 12.624502][ T82] rtnl_setlink+0x527/0x920 [ 12.624507][ T82] ? __rtnl_newlink+0xa50/0xa50 [ 12.624510][ T82] ? __lock_acquire+0x518/0xc20 [ 12.624551][ T82] ? lock_acquire.part.0+0xd4/0x280 [ 12.624554][ T82] ? find_held_lock+0x2b/0x80 [ 12.624559][ T82] ? __lock_release.isra.0+0x69/0x1a0 [ 12.624562][ T82] ? mark_usage+0x61/0x170 [ 12.624566][ T82] ? __lock_acquire+0x518/0xc20 [ 12.624574][ T82] ? lock_acquire.part.0+0xd4/0x280 [ 12.624577][ T82] ? find_held_lock+0x2b/0x80 [ 12.624581][ T82] ? __rtnl_newlink+0xa50/0xa50 [ 12.624584][ T82] ? __lock_release.isra.0+0x69/0x1a0 [ 12.624590][ T82] ? __rtnl_newlink+0xa50/0xa50 [ 12.624594][ T82] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 12.624600][ T82] ? rtnl_link_fill+0x900/0x900 [ 12.624602][ T82] ? __lock_acquire+0x518/0xc20 [ 12.624609][ T82] ? lock_acquire.part.0+0xd4/0x280 [ 12.624612][ T82] ? find_held_lock+0x2b/0x80 [ 12.624619][ T82] netlink_rcv_skb+0x14e/0x3a0 [ 12.624623][ T82] ? rtnl_link_fill+0x900/0x900 [ 12.624628][ T82] ? netlink_ack+0xcd0/0xcd0 [ 12.624640][ T82] ? netlink_deliver_tap+0xc5/0x330 [ 12.624642][ T82] ? netlink_deliver_tap+0x13c/0x330 [ 12.624650][ T82] netlink_unicast+0x486/0x750 [ 12.624657][ T82] ? netlink_attachskb+0x810/0x810 [ 12.624660][ T82] ? __lock_acquire+0x518/0xc20 [ 12.624664][ T82] ? do_raw_spin_trylock+0x161/0x180 [ 12.624670][ T82] netlink_sendmsg+0x735/0xc60 [ 12.624677][ T82] ? netlink_unicast+0x750/0x750 [ 12.624682][ T82] ? __might_fault+0x97/0x140 [ 12.624693][ T82] ? __might_fault+0x97/0x140 [ 12.624699][ T82] __sys_sendto+0x2aa/0x400 [ 12.624706][ T82] ? __ia32_sys_getpeername+0xd0/0xd0 [ 12.624725][ T82] ? exc_page_fault+0x87/0x100 [ 12.624734][ T82] __x64_sys_sendto+0xe4/0x1f0 [ 12.624738][ T82] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.624743][ T82] ? lockdep_hardirqs_on+0x91/0x130 [ 12.624745][ T82] ? do_syscall_64+0xa6/0x530 [ 12.624749][ T82] do_syscall_64+0xff/0x530 [ 12.624752][ T82] ? exc_page_fault+0xee/0x100 [ 12.624756][ T82] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.624760][ T82] RIP: 0033:0x7fee9a69254e [ 12.624764][ T82] 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 [ 12.624767][ T82] RSP: 002b:00007ffe1b8adb00 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 12.624771][ T82] RAX: ffffffffffffffda RBX: 00005645ef2e9f50 RCX: 00007fee9a69254e [ 12.624772][ T82] RDX: 0000000000000030 RSI: 00005645ef2e3950 RDI: 0000000000000011 [ 12.624774][ T82] RBP: 00007ffe1b8adb10 R08: 00007ffe1b8adb60 R09: 0000000000000080 [ 12.624775][ T82] R10: 0000000000000000 R11: 0000000000000202 R12: 00005645ef43c9d0 [ 12.624777][ T82] R13: 00007ffe1b8adc44 R14: 0000000000000000 R15: 0000000000000000 [ 12.624789][ T82] [ 12.917719][ T139] netdevsim netdevsim1337 nsim0: renamed from eni1337np1