[ 11.203023][ T212] netdevsim netdevsim2025 nsim2025: renamed from eth0 [ 11.203081][ T212] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.203084][ T212] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 212, name: ip [ 11.203085][ T212] preempt_count: 1, expected: 0 [ 11.203086][ T212] RCU nest depth: 0, expected: 0 [ 11.203087][ T212] locks held by ip/212: 6, last CPU#0: [ 11.203089][ T212] #0: ffffffff9311b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 11.203101][ T212] #1: ff11000009f4ae10 (&dev_instance_lock_key#8){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 11.203106][ T212] #2: ffffffff9297ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.203111][ T212] #3: ffffffff9297de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.203115][ T212] #4: ffffffff9289d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.203119][ T212] #5: ffffffff9289d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.203123][ T212] irq event stamp: 19708 [ 11.203124][ T212] hardirqs last enabled at (19707): [] __down_trylock_console_sem+0x86/0xa0 [ 11.203127][ T212] hardirqs last disabled at (19708): [] console_emit_next_record+0x3d4/0x4c0 [ 11.203129][ T212] softirqs last enabled at (19702): [] netif_change_name+0x216/0x8c0 [ 11.203133][ T212] softirqs last disabled at (19698): [] netif_change_name+0x1ad/0x8c0 [ 11.203135][ T212] Preemption disabled at: [ 11.203136][ T212] [] vprintk_emit+0x31b/0x3e0 [ 11.203141][ T212] CPU: 0 UID: 0 PID: 212 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.203145][ T212] Tainted: [W]=WARN [ 11.203146][ T212] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.203148][ T212] Call Trace: [ 11.203149][ T212] [ 11.203151][ T212] dump_stack_lvl+0x6f/0xa0 [ 11.203157][ T212] ? vprintk_emit+0x31b/0x3e0 [ 11.203158][ T212] __might_resched.cold+0x1fe/0x2c1 [ 11.203163][ T212] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.203167][ T212] ? __kmalloc_noprof+0xdb/0x760 [ 11.203172][ T212] __kmalloc_noprof+0x443/0x760 [ 11.203174][ T212] ? alloc_buf.isra.0+0x4b/0x260 [ 11.203180][ T212] ? do_raw_spin_unlock+0x59/0x250 [ 11.203183][ T212] alloc_buf.isra.0+0x4b/0x260 [ 11.203187][ T212] put_chars+0x1e1/0x2f0 [ 11.203190][ T212] ? __send_to_port+0x420/0x420 [ 11.203194][ T212] ? validate_chain+0x34a/0xc20 [ 11.203198][ T212] hvc_console_print+0x292/0x780 [ 11.203203][ T212] ? mark_usage+0x61/0x170 [ 11.203205][ T212] ? __lock_acquire+0x518/0xc20 [ 11.203207][ T212] ? __lock_acquire+0x518/0xc20 [ 11.203211][ T212] ? hvc_write+0x3a0/0x3a0 [ 11.203214][ T212] ? console_emit_next_record+0x1df/0x4c0 [ 11.203217][ T212] ? rcu_is_watching+0x16/0xd0 [ 11.203220][ T212] ? lock_acquire+0x13c/0x160 [ 11.203224][ T212] console_emit_next_record+0x22f/0x4c0 [ 11.203228][ T212] ? devkmsg_read+0x4b0/0x4b0 [ 11.203230][ T212] ? console_flush_one_record+0x106/0x710 [ 11.203233][ T212] ? rcu_is_watching+0x16/0xd0 [ 11.203235][ T212] ? lock_acquire+0x13c/0x160 [ 11.203239][ T212] console_flush_one_record+0x46f/0x710 [ 11.203244][ T212] ? console_emit_next_record+0x4c0/0x4c0 [ 11.203246][ T212] ? __lock_acquire+0x518/0xc20 [ 11.203251][ T212] console_unlock+0xee/0x1f0 [ 11.203254][ T212] ? console_flush_one_record+0x710/0x710 [ 11.203256][ T212] ? rcu_is_watching+0x16/0xd0 [ 11.203258][ T212] ? lock_acquire+0xe0/0x160 [ 11.203262][ T212] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.203264][ T212] ? vprintk_emit+0x320/0x3e0 [ 11.203267][ T212] vprintk_emit+0x37c/0x3e0 [ 11.203270][ T212] ? wake_up_klogd_work_func+0x90/0x90 [ 11.203273][ T212] ? find_held_lock+0x2b/0x80 [ 11.203278][ T212] dev_vprintk_emit+0x27f/0x2c0 [ 11.203283][ T212] ? device_rename.cold+0xa/0xa [ 11.203288][ T212] ? clockevents_program_event+0x307/0x7e0 [ 11.203295][ T212] dev_printk_emit+0xb9/0xee [ 11.203297][ T212] ? dev_vprintk_emit+0x2c0/0x2c0 [ 11.203302][ T212] ? mark_held_locks+0x40/0x70 [ 11.203310][ T212] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 11.203314][ T212] __netdev_printk+0x160/0x1d0 [ 11.203320][ T212] netdev_info+0xe2/0x116 [ 11.203323][ T212] ? netdev_notice+0x120/0x120 [ 11.203326][ T212] ? find_held_lock+0x2b/0x80 [ 11.203328][ T212] ? __lock_release.isra.0+0x69/0x1a0 [ 11.203331][ T212] ? mark_held_locks+0x40/0x70 [ 11.203335][ T212] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 11.203337][ T212] netif_change_name.cold+0x4f/0x89 [ 11.203339][ T212] ? is_bpf_text_address+0x68/0x110 [ 11.203345][ T212] ? netdev_adjacent_rename_links+0x470/0x470 [ 11.203347][ T212] ? write_profile+0xf0/0xf0 [ 11.203351][ T212] ? __asan_memset+0x27/0x50 [ 11.203357][ T212] do_setlink.isra.0+0x1f7d/0x2a60 [ 11.203361][ T212] ? stack_trace_save+0x93/0xc0 [ 11.203363][ T212] ? rtnl_link_get_size+0x350/0x350 [ 11.203364][ T212] ? rcu_read_lock_any_held+0x66/0x90 [ 11.203367][ T212] ? stack_depot_save_flags+0x38e/0x790 [ 11.203371][ T212] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.203373][ T212] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.203375][ T212] ? validate_chain+0x38b/0xc20 [ 11.203377][ T212] ? kasan_save_stack+0x3d/0x50 [ 11.203379][ T212] ? kasan_save_stack+0x2f/0x50 [ 11.203380][ T212] ? kasan_save_track+0x14/0x30 [ 11.203382][ T212] ? __kasan_kmalloc+0x7b/0x90 [ 11.203384][ T212] ? __lock_acquire+0x518/0xc20 [ 11.203386][ T212] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 11.203389][ T212] ? ___sys_sendmsg+0xd0/0x1d0 [ 11.203393][ T212] ? lock_acquire.part.0+0xd4/0x280 [ 11.203395][ T212] ? rtnl_newlink+0x9a8/0x11b0 [ 11.203398][ T212] ? rcu_is_watching+0x16/0xd0 [ 11.203400][ T212] ? lock_acquire+0x13c/0x160 [ 11.203401][ T212] ? rcu_is_watching+0x16/0xd0 [ 11.203403][ T212] ? rcu_is_watching+0x16/0xd0 [ 11.203404][ T212] ? trace_contention_end+0xb3/0x180 [ 11.203407][ T212] ? __mutex_lock+0x1db/0x1ea0 [ 11.203409][ T212] ? __mutex_lock+0x9a3/0x1ea0 [ 11.203411][ T212] ? rtnl_newlink+0x9a8/0x11b0 [ 11.203415][ T212] ? ww_mutex_lock+0x160/0x160 [ 11.203416][ T212] ? nla_get_range_signed+0x3d0/0x3d0 [ 11.203421][ T212] ? rcu_is_watching+0x16/0xd0 [ 11.203423][ T212] ? __rtnl_newlink+0x3fa/0xa50 [ 11.203429][ T212] rtnl_newlink+0x9f1/0x11b0 [ 11.203434][ T212] ? rtnl_bridge_getlink+0x850/0x850 [ 11.203436][ T212] ? __lock_acquire+0x518/0xc20 [ 11.203441][ T212] ? lock_acquire.part.0+0xd4/0x280 [ 11.203443][ T212] ? find_held_lock+0x2b/0x80 [ 11.203445][ T212] ? rtnl_bridge_getlink+0x850/0x850 [ 11.203447][ T212] ? __lock_release.isra.0+0x69/0x1a0 [ 11.203451][ T212] ? rtnl_bridge_getlink+0x850/0x850 [ 11.203453][ T212] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.203456][ T212] ? rtnl_link_fill+0x920/0x920 [ 11.203457][ T212] ? __lock_acquire+0x518/0xc20 [ 11.203462][ T212] ? lock_acquire.part.0+0xd4/0x280 [ 11.203464][ T212] ? find_held_lock+0x2b/0x80 [ 11.203468][ T212] netlink_rcv_skb+0x14e/0x3a0 [ 11.203471][ T212] ? rtnl_link_fill+0x920/0x920 [ 11.203474][ T212] ? netlink_ack+0xcf0/0xcf0 [ 11.203481][ T212] ? netlink_deliver_tap+0xc5/0x330 [ 11.203483][ T212] ? netlink_deliver_tap+0x13c/0x330 [ 11.203487][ T212] netlink_unicast+0x486/0x750 [ 11.203491][ T212] ? netlink_attachskb+0x810/0x810 [ 11.203494][ T212] ? find_held_lock+0x2b/0x80 [ 11.203499][ T212] netlink_sendmsg+0x75b/0xc90 [ 11.203503][ T212] ? netlink_unicast+0x750/0x750 [ 11.203507][ T212] ? __lock_release.isra.0+0x69/0x1a0 [ 11.203508][ T212] ? __import_iovec+0x36c/0x620 [ 11.203514][ T212] __sock_sendmsg+0xce/0x190 [ 11.203517][ T212] ____sys_sendmsg+0x61a/0x860 [ 11.203519][ T212] ? copy_msghdr_from_user+0x279/0x420 [ 11.203522][ T212] ? sock_write_iter+0x400/0x400 [ 11.203523][ T212] ? move_addr_to_kernel+0x40/0x40 [ 11.203531][ T212] ___sys_sendmsg+0x14e/0x1d0 [ 11.203534][ T212] ? copy_msghdr_from_user+0x420/0x420 [ 11.203550][ T212] __sys_sendmsg+0x12c/0x1d0 [ 11.203553][ T212] ? __sys_sendmsg_sock+0x20/0x20 [ 11.203560][ T212] ? rcu_is_watching+0x16/0xd0 [ 11.203563][ T212] do_syscall_64+0xff/0x530 [ 11.203566][ T212] ? exc_page_fault+0xee/0x100 [ 11.203569][ T212] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.203571][ T212] RIP: 0033:0x7f27aa0d454e [ 11.203575][ T212] 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 [ 11.203577][ T212] RSP: 002b:00007ffce57a41f0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 11.203579][ T212] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f27aa0d454e [ 11.203581][ T212] RDX: 0000000000000000 RSI: 00007ffce57a42a0 RDI: 0000000000000005 [ 11.203582][ T212] RBP: 00007ffce57a4200 R08: 0000000000000000 R09: 0000000000000000 [ 11.203582][ T212] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a9163a2 [ 11.203583][ T212] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffce57a4970 [ 11.203590][ T212] [ 11.258292][ T212] ip (212) used greatest stack depth: 22824 bytes left [ 11.286735][ T213] 8021q: adding VLAN 0 to HW filter on device nsim2025 [ 11.645277][ T230] The supplied perm_addr is not a valid MAC address [ 11.804077][ T238] netdevsim netdevsim2025 nsim2025p2: renamed from eth0 [ 11.836206][ T239] 8021q: adding VLAN 0 to HW filter on device nsim2025p2