rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=147c/1/0x4000000000000000 softirq=19945/19945 fqs=0 rcu: (detected by 0, t=10502 jiffies, g=28449, q=384 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 7078 Comm: syz-executor Not tainted 6.11.0-rc1-syzkaller-00154-gc0ecd6388360 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:hlock_class kernel/locking/lockdep.c:227 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4773 [inline] RIP: 0010:__lock_acquire+0x5e7/0x2040 kernel/locking/lockdep.c:5092 Code: 41 8b 1f 81 e3 ff 1f 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 00 98 72 93 be 08 00 00 00 e8 a1 eb 8a 00 48 0f a3 1d f9 e0 02 12 <73> 26 48 69 c3 c8 00 00 00 48 8d 98 00 f7 40 93 48 ba 00 00 00 00 RSP: 0018:ffffc90000a18a30 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 0000000000000b59 RCX: ffffffff816fb6ff RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff93729968 RBP: 0000000000000002 R08: ffffffff9372996f R09: 1ffffffff26e532d R10: dffffc0000000000 R11: fffffbfff26e532e R12: ffff888022798000 R13: 0000000000000b59 R14: 1ffff110044f3183 R15: ffff888022798c18 FS: 0000555572758500(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9f54c54b2f CR3: 0000000054f4a000 CR4: 0000000000350ef0 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5759 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] advance_sched+0xab/0xca0 net/sched/sch_taprio.c:924 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x59d/0xd50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x112/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:vsnprintf+0x103/0x1da0 lib/vsprintf.c:2774 Code: c1 ff ff ff ff 48 0f 43 c8 48 89 4c 24 18 49 0f 43 dc 4c 89 f8 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 66 1c 00 00 45 0f b6 27 <31> ff 44 89 e6 e8 d3 d0 e4 f5 45 85 e4 4c 89 74 24 58 0f 84 8a 1b RSP: 0018:ffffc9000514f160 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000800 RCX: ffff88806642aa1c RDX: 0000000000000000 RSI: 0000000000000800 RDI: 000000007fffffff RBP: ffffc9000514f250 R08: ffffffff8bae984d R09: ffffc9000514f300 R10: dffffc0000000000 R11: fffff52000a29e63 R12: 0000000000000041 R13: dffffc0000000000 R14: ffff88806642a21c R15: ffffffff8d33c600 add_uevent_var+0x1c8/0x450 lib/kobject_uevent.c:679 kobject_uevent_env+0x2c6/0x8e0 lib/kobject_uevent.c:552 __kobject_del+0xd3/0x310 lib/kobject.c:601 kobject_cleanup lib/kobject.c:680 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x245/0x480 lib/kobject.c:737 netdev_queue_update_kobjects+0x556/0x5f0 net/core/net-sysfs.c:1854 remove_queue_kobjects net/core/net-sysfs.c:1951 [inline] netdev_unregister_kobject+0x110/0x250 net/core/net-sysfs.c:2104 unregister_netdevice_many_notify+0x1709/0x1c40 net/core/dev.c:11378 unregister_netdevice_many net/core/dev.c:11406 [inline] unregister_netdevice_queue+0x303/0x370 net/core/dev.c:11281 unregister_netdevice include/linux/netdevice.h:3129 [inline] nsim_destroy+0x180/0x5c0 drivers/net/netdevsim/netdev.c:778 __nsim_dev_port_del+0x14b/0x1b0 drivers/net/netdevsim/dev.c:1425 nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1437 [inline] nsim_dev_reload_destroy+0x28a/0x490 drivers/net/netdevsim/dev.c:1658 nsim_drv_remove+0x58/0x160 drivers/net/netdevsim/dev.c:1673 device_remove drivers/base/dd.c:566 [inline] __device_release_driver drivers/base/dd.c:1272 [inline] device_release_driver_internal+0x4ab/0x7c0 drivers/base/dd.c:1295 bus_remove_device+0x34f/0x420 drivers/base/bus.c:574 device_del+0x57a/0x9b0 drivers/base/core.c:3868 device_unregister+0x20/0xc0 drivers/base/core.c:3909 nsim_bus_dev_del drivers/net/netdevsim/bus.c:462 [inline] del_device_store+0x363/0x480 drivers/net/netdevsim/bus.c:226 kernfs_fop_write_iter+0x3a3/0x500 fs/kernfs/file.c:334 new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa74/0xc90 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0578375e9f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 c9 8c 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 1c 8d 02 00 48 RSP: 002b:00007ffd92260c40 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f0578375e9f RDX: 0000000000000001 RSI: 00007ffd92260c90 RDI: 0000000000000005 RBP: 00007f05783e5940 R08: 0000000000000000 R09: 00007ffd92260a97 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001 R13: 00007ffd92260c90 R14: 00007f0579034620 R15: 0000000000000003 rcu: rcu_preempt kthread starved for 10502 jiffies! g28449 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0 rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior. rcu: RCU grace-period kthread stack dump: task:rcu_preempt state:R running task stack:25560 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2034 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2236 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 UID: 0 PID: 7393 Comm: syz.0.629 Not tainted 6.11.0-rc1-syzkaller-00154-gc0ecd6388360 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:get_current arch/x86/include/asm/current.h:49 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x8/0x70 kernel/kcov.c:206 Code: 8b 3d 9c cc 95 0c 48 89 de 5b e9 73 87 5b 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 04 24 <65> 48 8b 0c 25 40 d7 03 00 65 8b 15 c0 70 70 7e f7 c2 00 01 ff 00 RSP: 0018:ffffc90009ae73f8 EFLAGS: 00000202 RAX: ffffffff81875648 RBX: 1ffff110172688f9 RCX: 0000000000040000 RDX: ffffc900107ea000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90009ae75e0 R08: ffffffff81875617 R09: 1ffffffff26e5300 R10: dffffc0000000000 R11: fffffbfff26e5301 R12: dffffc0000000000 R13: ffff8880b93447c8 R14: ffff8880b923fb80 R15: 0000000000000001 FS: 00007f0d930306c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3fa3b5 CR3: 000000005b652000 CR4: 0000000000350ef0 Call Trace: csd_lock_wait kernel/smp.c:312 [inline] smp_call_function_many_cond+0x1878/0x29d0 kernel/smp.c:856 on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2085 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2295 text_poke_bp+0xb0/0x100 arch/x86/kernel/alternative.c:2522 __static_call_transform+0x51a/0x810 arch/x86/kernel/static_call.c:111 arch_static_call_transform+0x141/0x380 arch/x86/kernel/static_call.c:163 __static_call_update+0xd8/0x5e0 kernel/static_call_inline.c:147 tracepoint_update_call kernel/tracepoint.c:317 [inline] tracepoint_add_func+0x918/0x9e0 kernel/tracepoint.c:358 tracepoint_probe_register_prio_may_exist+0x122/0x190 kernel/tracepoint.c:482 bpf_raw_tp_link_attach+0x48b/0x6e0 kernel/bpf/syscall.c:3896 bpf_raw_tracepoint_open+0x1c2/0x240 kernel/bpf/syscall.c:3927 __sys_bpf+0x3c0/0x810 kernel/bpf/syscall.c:5752 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0d921773b9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f0d93030048 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f0d92305f80 RCX: 00007f0d921773b9 RDX: 0000000000000010 RSI: 0000000020000080 RDI: 0000000000000011 RBP: 00007f0d921e48e6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f0d92305f80 R15: 00007ffcd3a16108