[ 10.206269][ T197] ip (197) used greatest stack depth: 23464 bytes left [ 10.206293][ T197] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.206296][ T197] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 197, name: ip [ 10.206298][ T197] preempt_count: 2, expected: 0 [ 10.206300][ T197] RCU nest depth: 0, expected: 0 [ 10.206301][ T197] locks held by ip/197: 5, last CPU#0: [ 10.206304][ T197] #0: ffffffff8be167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.206319][ T197] #1: ffffffff8bf7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.206326][ T197] #2: ffffffff8bf7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.206333][ T197] #3: ffffffff8be9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.206339][ T197] #4: ffffffff8be9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.206345][ T197] irq event stamp: 29666 [ 10.206347][ T197] hardirqs last enabled at (29665): [] __down_trylock_console_sem+0x86/0xa0 [ 10.206351][ T197] hardirqs last disabled at (29666): [] console_emit_next_record+0x3d4/0x4c0 [ 10.206354][ T197] softirqs last enabled at (28078): [] netlink_release+0x17b/0xcf0 [ 10.206360][ T197] softirqs last disabled at (28076): [] netlink_release+0xd2/0xcf0 [ 10.206364][ T197] Preemption disabled at: [ 10.206365][ T197] [<0000000000000000>] 0x0 [ 10.206374][ T197] CPU: 0 UID: 0 PID: 197 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.206378][ T197] Tainted: [W]=WARN [ 10.206380][ T197] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.206382][ T197] Call Trace: [ 10.206385][ T197] [ 10.206387][ T197] dump_stack_lvl+0x6f/0xa0 [ 10.206395][ T197] __might_resched.cold+0x1fe/0x2c1 [ 10.206401][ T197] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.206407][ T197] ? __kmalloc_noprof+0xdb/0x760 [ 10.206414][ T197] __kmalloc_noprof+0x443/0x760 [ 10.206417][ T197] ? alloc_buf.isra.0+0x4b/0x260 [ 10.206427][ T197] ? do_raw_spin_unlock+0x59/0x250 [ 10.206432][ T197] alloc_buf.isra.0+0x4b/0x260 [ 10.206439][ T197] put_chars+0x1e1/0x2f0 [ 10.206443][ T197] ? __send_to_port+0x420/0x420 [ 10.206445][ T197] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.206450][ T197] ? validate_chain+0x38b/0xc20 [ 10.206460][ T197] hvc_console_print+0x292/0x780 [ 10.206472][ T197] ? hvc_write+0x3a0/0x3a0 [ 10.206476][ T197] ? rcu_is_watching+0x16/0xd0 [ 10.206479][ T197] ? lock_acquire+0x13c/0x160 [ 10.206486][ T197] console_emit_next_record+0x22f/0x4c0 [ 10.206493][ T197] ? devkmsg_read+0x4b0/0x4b0 [ 10.206496][ T197] ? console_flush_one_record+0x106/0x710 [ 10.206501][ T197] ? rcu_is_watching+0x16/0xd0 [ 10.206504][ T197] ? lock_acquire+0x13c/0x160 [ 10.206511][ T197] console_flush_one_record+0x46f/0x710 [ 10.206518][ T197] ? console_emit_next_record+0x4c0/0x4c0 [ 10.206521][ T197] ? __lock_acquire+0x518/0xc20 [ 10.206530][ T197] console_unlock+0xee/0x1f0 [ 10.206535][ T197] ? console_flush_one_record+0x710/0x710 [ 10.206538][ T197] ? rcu_is_watching+0x16/0xd0 [ 10.206541][ T197] ? lock_acquire+0xe0/0x160 [ 10.206547][ T197] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.206550][ T197] ? vprintk_emit+0x320/0x3e0 [ 10.206555][ T197] vprintk_emit+0x37c/0x3e0 [ 10.206561][ T197] ? wake_up_klogd_work_func+0x90/0x90 [ 10.206566][ T197] ? __lock_acquire+0x518/0xc20 [ 10.206573][ T197] _printk+0xc7/0x100 [ 10.206578][ T197] ? snapshot_read.cold+0x21/0x21 [ 10.206582][ T197] ? do_raw_spin_lock+0x131/0x280 [ 10.206586][ T197] ? __rwlock_init+0x150/0x150 [ 10.206593][ T197] ? do_raw_spin_lock+0x131/0x280 [ 10.206598][ T197] do_exit.cold+0x82/0x9c [ 10.206603][ T197] ? exit_notify+0x890/0x890 [ 10.206605][ T197] ? __lock_release.isra.0+0x69/0x1a0 [ 10.206610][ T197] ? rcu_is_watching+0x16/0xd0 [ 10.206616][ T197] do_group_exit+0xb8/0x370 [ 10.206621][ T197] __x64_sys_exit_group+0x3c/0x50 [ 10.206624][ T197] x64_sys_call+0x1567/0x1570 [ 10.206628][ T197] do_syscall_64+0xff/0x530 [ 10.206633][ T197] ? exc_page_fault+0xee/0x100 [ 10.206637][ T197] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.206641][ T197] RIP: 0033:0x7fccd6cd11b8 [ 10.206644][ T197] Code: Unable to access opcode bytes at 0x7fccd6cd118e. [ 10.206645][ T197] RSP: 002b:00007fff5eb1ae98 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.206649][ T197] RAX: ffffffffffffffda RBX: 00007fccd6e01f88 RCX: 00007fccd6cd11b8 [ 10.206651][ T197] RDX: 00007fccd6a1bfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.206652][ T197] RBP: 00007fff5eb1aef0 R08: 0000000000000000 R09: 0000000000000050 [ 10.206653][ T197] R10: 00007fff5eb1acb0 R11: 0000000000000246 R12: 0000000000000001 [ 10.206655][ T197] R13: 0000000000000000 R14: 00007fccd6e00680 R15: 00007fccd6e01fa0 [ 10.206668][ T197] [ 10.715546][ T211] netdevsim netdevsim2025 nsim2025: renamed from eth0 [ 10.750776][ T212] 8021q: adding VLAN 0 to HW filter on device nsim2025 [ 11.058579][ T228] The supplied perm_addr is not a valid MAC address [ 11.220235][ T236] netdevsim netdevsim2025 nsim2025p2: renamed from eth0 [ 11.220259][ T236] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.220262][ T236] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 236, name: ip [ 11.220265][ T236] preempt_count: 1, expected: 0 [ 11.220266][ T236] RCU nest depth: 0, expected: 0 [ 11.220268][ T236] locks held by ip/236: 6, last CPU#3: [ 11.220271][ T236] #0: ffffffff8c71b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 11.220286][ T236] #1: ff1100000adfae10 (&dev_instance_lock_key#8){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 11.220293][ T236] #2: ffffffff8bf7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.220300][ T236] #3: ffffffff8bf7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.220307][ T236] #4: ffffffff8be9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.220313][ T236] #5: ffffffff8be9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.220319][ T236] irq event stamp: 24084 [ 11.220320][ T236] hardirqs last enabled at (24083): [] __down_trylock_console_sem+0x86/0xa0 [ 11.220324][ T236] hardirqs last disabled at (24084): [] console_emit_next_record+0x3d4/0x4c0 [ 11.220328][ T236] softirqs last enabled at (24078): [] netif_change_name+0x216/0x8c0 [ 11.220332][ T236] softirqs last disabled at (24076): [] netif_change_name+0x1ad/0x8c0 [ 11.220336][ T236] Preemption disabled at: [ 11.220337][ T236] [] vprintk_emit+0x31b/0x3e0 [ 11.220344][ T236] CPU: 3 UID: 0 PID: 236 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.220349][ T236] Tainted: [W]=WARN [ 11.220350][ T236] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.220352][ T236] Call Trace: [ 11.220355][ T236] [ 11.220357][ T236] dump_stack_lvl+0x6f/0xa0 [ 11.220365][ T236] ? vprintk_emit+0x31b/0x3e0 [ 11.220368][ T236] __might_resched.cold+0x1fe/0x2c1 [ 11.220375][ T236] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.220381][ T236] ? __kmalloc_noprof+0xdb/0x760 [ 11.220388][ T236] __kmalloc_noprof+0x443/0x760 [ 11.220391][ T236] ? alloc_buf.isra.0+0x4b/0x260 [ 11.220401][ T236] ? do_raw_spin_unlock+0x59/0x250 [ 11.220405][ T236] alloc_buf.isra.0+0x4b/0x260 [ 11.220411][ T236] put_chars+0x1e1/0x2f0 [ 11.220414][ T236] ? prb_final_commit+0x50/0x50 [ 11.220418][ T236] ? __send_to_port+0x420/0x420 [ 11.220423][ T236] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.220431][ T236] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.220435][ T236] ? validate_chain+0x38b/0xc20 [ 11.220442][ T236] hvc_console_print+0x292/0x780 [ 11.220448][ T236] ? mark_usage+0x61/0x170 [ 11.220451][ T236] ? __lock_acquire+0x518/0xc20 [ 11.220454][ T236] ? __lock_acquire+0x518/0xc20 [ 11.220460][ T236] ? hvc_write+0x3a0/0x3a0 [ 11.220465][ T236] ? console_emit_next_record+0x1df/0x4c0 [ 11.220471][ T236] ? rcu_is_watching+0x16/0xd0 [ 11.220474][ T236] ? lock_acquire+0x13c/0x160 [ 11.220482][ T236] console_emit_next_record+0x22f/0x4c0 [ 11.220488][ T236] ? devkmsg_read+0x4b0/0x4b0 [ 11.220491][ T236] ? console_flush_one_record+0x106/0x710 [ 11.220497][ T236] ? rcu_is_watching+0x16/0xd0 [ 11.220500][ T236] ? lock_acquire+0x13c/0x160 [ 11.220507][ T236] console_flush_one_record+0x46f/0x710 [ 11.220515][ T236] ? console_emit_next_record+0x4c0/0x4c0 [ 11.220518][ T236] ? __lock_acquire+0x518/0xc20 [ 11.220527][ T236] console_unlock+0xee/0x1f0 [ 11.220533][ T236] ? console_flush_one_record+0x710/0x710 [ 11.220535][ T236] ? rcu_is_watching+0x16/0xd0 [ 11.220539][ T236] ? lock_acquire+0xe0/0x160 [ 11.220546][ T236] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.220549][ T236] ? vprintk_emit+0x320/0x3e0 [ 11.220554][ T236] vprintk_emit+0x37c/0x3e0 [ 11.220560][ T236] ? wake_up_klogd_work_func+0x90/0x90 [ 11.220562][ T236] ? lock_pin_lock+0x87/0x180 [ 11.220565][ T236] ? __print_lock_name+0x2/0x80 [ 11.220576][ T236] dev_vprintk_emit+0x27f/0x2c0 [ 11.220583][ T236] ? device_rename.cold+0xa/0xa [ 11.220591][ T236] ? mark_usage+0x61/0x170 [ 11.220594][ T236] ? __lock_acquire+0x518/0xc20 [ 11.220597][ T236] ? __lock_acquire+0x518/0xc20 [ 11.220605][ T236] dev_printk_emit+0xb9/0xee [ 11.220609][ T236] ? dev_vprintk_emit+0x2c0/0x2c0 [ 11.220612][ T236] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.220617][ T236] ? validate_chain+0x38b/0xc20 [ 11.220621][ T236] ? find_held_lock+0x2b/0x80 [ 11.220623][ T236] ? __lock_acquire+0x518/0xc20 [ 11.220626][ T236] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.220629][ T236] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.220636][ T236] __netdev_printk+0x160/0x1d0 [ 11.220646][ T236] netdev_info+0xe2/0x116 [ 11.220650][ T236] ? netdev_notice+0x120/0x120 [ 11.220655][ T236] ? find_held_lock+0x2b/0x80 [ 11.220660][ T236] ? __lock_release.isra.0+0x69/0x1a0 [ 11.220664][ T236] ? mark_held_locks+0x40/0x70 [ 11.220671][ T236] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 11.220676][ T236] netif_change_name.cold+0x4f/0x89 [ 11.220680][ T236] ? is_bpf_text_address+0x68/0x110 [ 11.220689][ T236] ? netdev_adjacent_rename_links+0x470/0x470 [ 11.220694][ T236] ? write_profile+0xf0/0xf0 [ 11.220700][ T236] ? __asan_memset+0x27/0x50 [ 11.220709][ T236] do_setlink.isra.0+0x1f7d/0x2a60 [ 11.220715][ T236] ? stack_trace_save+0x93/0xc0 [ 11.220718][ T236] ? rtnl_link_get_size+0x350/0x350 [ 11.220720][ T236] ? rcu_read_lock_any_held+0x66/0x90 [ 11.220724][ T236] ? stack_depot_save_flags+0x38e/0x790 [ 11.220729][ T236] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.220732][ T236] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.220735][ T236] ? validate_chain+0x38b/0xc20 [ 11.220739][ T236] ? kasan_save_stack+0x3d/0x50 [ 11.220742][ T236] ? kasan_save_stack+0x2f/0x50 [ 11.220744][ T236] ? kasan_save_track+0x14/0x30 [ 11.220746][ T236] ? __kasan_kmalloc+0x7b/0x90 [ 11.220750][ T236] ? __lock_acquire+0x518/0xc20 [ 11.220753][ T236] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 11.220758][ T236] ? ___sys_sendmsg+0xd0/0x1d0 [ 11.220764][ T236] ? lock_acquire.part.0+0xd4/0x280 [ 11.220767][ T236] ? rtnl_newlink+0x9a8/0x11b0 [ 11.220772][ T236] ? rcu_is_watching+0x16/0xd0 [ 11.220775][ T236] ? lock_acquire+0x13c/0x160 [ 11.220778][ T236] ? rcu_is_watching+0x16/0xd0 [ 11.220780][ T236] ? rcu_is_watching+0x16/0xd0 [ 11.220783][ T236] ? trace_contention_end+0xb3/0x180 [ 11.220787][ T236] ? __mutex_lock+0x1db/0x1ea0 [ 11.220791][ T236] ? __mutex_lock+0x9a3/0x1ea0 [ 11.220795][ T236] ? rtnl_newlink+0x9a8/0x11b0 [ 11.220801][ T236] ? ww_mutex_lock+0x160/0x160 [ 11.220803][ T236] ? nla_get_range_signed+0x3d0/0x3d0 [ 11.220811][ T236] ? rcu_is_watching+0x16/0xd0 [ 11.220815][ T236] ? __rtnl_newlink+0x3fa/0xa50 [ 11.220826][ T236] rtnl_newlink+0x9f1/0x11b0 [ 11.220836][ T236] ? rtnl_bridge_getlink+0x850/0x850 [ 11.220839][ T236] ? __lock_acquire+0x518/0xc20 [ 11.220848][ T236] ? lock_acquire.part.0+0xd4/0x280 [ 11.220851][ T236] ? find_held_lock+0x2b/0x80 [ 11.220854][ T236] ? rtnl_bridge_getlink+0x850/0x850 [ 11.220858][ T236] ? __lock_release.isra.0+0x69/0x1a0 [ 11.220865][ T236] ? rtnl_bridge_getlink+0x850/0x850 [ 11.220869][ T236] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.220875][ T236] ? rtnl_link_fill+0x920/0x920 [ 11.220877][ T236] ? __lock_acquire+0x518/0xc20 [ 11.220885][ T236] ? lock_acquire.part.0+0xd4/0x280 [ 11.220888][ T236] ? find_held_lock+0x2b/0x80 [ 11.220895][ T236] netlink_rcv_skb+0x14e/0x3a0 [ 11.220900][ T236] ? rtnl_link_fill+0x920/0x920 [ 11.220905][ T236] ? netlink_ack+0xcf0/0xcf0 [ 11.220917][ T236] ? netlink_deliver_tap+0xc5/0x330 [ 11.220920][ T236] ? netlink_deliver_tap+0x13c/0x330 [ 11.220928][ T236] netlink_unicast+0x486/0x750 [ 11.220935][ T236] ? netlink_attachskb+0x810/0x810 [ 11.220940][ T236] ? find_held_lock+0x2b/0x80 [ 11.220948][ T236] netlink_sendmsg+0x75b/0xc90 [ 11.220955][ T236] ? netlink_unicast+0x750/0x750 [ 11.220962][ T236] ? __lock_release.isra.0+0x69/0x1a0 [ 11.220965][ T236] ? __import_iovec+0x36c/0x620 [ 11.220974][ T236] __sock_sendmsg+0xce/0x190 [ 11.220980][ T236] ____sys_sendmsg+0x61a/0x860 [ 11.220983][ T236] ? copy_msghdr_from_user+0x279/0x420 [ 11.220987][ T236] ? sock_write_iter+0x400/0x400 [ 11.220990][ T236] ? move_addr_to_kernel+0x40/0x40 [ 11.221004][ T236] ___sys_sendmsg+0x14e/0x1d0 [ 11.221009][ T236] ? copy_msghdr_from_user+0x420/0x420 [ 11.221040][ T236] __sys_sendmsg+0x12c/0x1d0 [ 11.221044][ T236] ? __sys_sendmsg_sock+0x20/0x20 [ 11.221056][ T236] ? rcu_is_watching+0x16/0xd0 [ 11.221062][ T236] do_syscall_64+0xff/0x530 [ 11.221067][ T236] ? exc_page_fault+0xee/0x100 [ 11.221072][ T236] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.221076][ T236] RIP: 0033:0x7f96347d054e [ 11.221081][ T236] 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.221084][ T236] RSP: 002b:00007fffec2a7240 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 11.221089][ T236] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f96347d054e [ 11.221091][ T236] RDX: 0000000000000000 RSI: 00007fffec2a72f0 RDI: 0000000000000005 [ 11.221093][ T236] RBP: 00007fffec2a7250 R08: 0000000000000000 R09: 0000000000000000 [ 11.221094][ T236] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a90e6ad [ 11.221096][ T236] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007fffec2a79c0 [ 11.221109][ T236] [ 11.299173][ T236] ip (236) used greatest stack depth: 22824 bytes left [ 11.322240][ T237] 8021q: adding VLAN 0 to HW filter on device nsim2025p2