rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P22550/1:b..l rcu: (detected by 1, t=10505 jiffies, g=120333, q=43 ncpus=2) task:syz-executor state:R running task stack:22568 pid:22550 tgid:22550 ppid:22539 task_flags:0x400140 flags:0x00080001 Call Trace: context_switch kernel/sched/core.c:5325 [inline] __schedule+0x1798/0x4cc0 kernel/sched/core.c:6929 preempt_schedule_irq+0xb5/0x150 kernel/sched/core.c:7256 irqentry_exit+0x6f/0x90 kernel/entry/common.c:211 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_is_held_type+0x137/0x190 kernel/locking/lockdep.c:5945 Code: 01 75 44 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 4c 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b 05 09 0a 28 07 <48> 3b 44 24 08 75 43 89 d8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffffc90003756c90 EFLAGS: 00000206 RAX: 1f12dae9b0c55b00 RBX: 0000000000000001 RCX: 1f12dae9b0c55b00 RDX: ffff888028a9dac0 RSI: ffffffff8d8f29ba RDI: ffffffff8bbf05e0 RBP: 00000000ffffffff R08: 0000000000000000 R09: ffffffff82606e8c R10: dffffc0000000000 R11: ffffed102808c025 R12: 0000000000000246 R13: ffff888028a9dac0 R14: ffffffff8df3d2e0 R15: 0000000000000003 kernfs_root+0xf6/0x230 fs/kernfs/kernfs-internal.h:76 kernfs_root_is_locked fs/kernfs/kernfs-internal.h:109 [inline] kernfs_rcu_name fs/kernfs/kernfs-internal.h:119 [inline] kernfs_add_one+0x148/0x520 fs/kernfs/dir.c:808 __kernfs_create_file+0x22b/0x2e0 fs/kernfs/file.c:1086 sysfs_add_file_mode_ns+0x238/0x300 fs/sysfs/file.c:313 sysfs_merge_group+0x177/0x310 fs/sysfs/group.c:376 dpm_sysfs_add+0xd2/0x270 drivers/base/power/sysfs.c:704 device_add+0x4d8/0xb50 drivers/base/core.c:3649 netdev_register_kobject+0x178/0x310 net/core/net-sysfs.c:2358 register_netdevice+0x126c/0x1ae0 net/core/dev.c:11294 rtnl_newlink_create+0x31f/0xb00 net/core/rtnetlink.c:3835 __rtnl_newlink net/core/rtnetlink.c:3950 [inline] rtnl_newlink+0x16e4/0x1c80 net/core/rtnetlink.c:4065 rtnetlink_rcv_msg+0x7cf/0xb70 net/core/rtnetlink.c:6951 netlink_rcv_skb+0x208/0x470 net/netlink/af_netlink.c:2552 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x82f/0x9e0 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x805/0xb30 net/netlink/af_netlink.c:1896 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg+0x21c/0x270 net/socket.c:742 __sys_sendto+0x3bd/0x520 net/socket.c:2244 __do_sys_sendto net/socket.c:2251 [inline] __se_sys_sendto net/socket.c:2247 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2247 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe146f90e5c RSP: 002b:00007ffd6f91d320 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fe147d14620 RCX: 00007fe146f90e5c RDX: 000000000000003c RSI: 00007fe147d14670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffd6f91d374 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007fe147d14670 R15: 0000000000000000 rcu: rcu_preempt kthread timer wakeup didn't happen for 10446 jiffies! g120333 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=140398 rcu: rcu_preempt kthread starved for 10447 jiffies! g120333 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:26960 pid:16 tgid:16 ppid:2 task_flags:0x208040 flags:0x00080000 Call Trace: context_switch kernel/sched/core.c:5325 [inline] __schedule+0x1798/0x4cc0 kernel/sched/core.c:6929 __schedule_loop kernel/sched/core.c:7011 [inline] schedule+0x165/0x360 kernel/sched/core.c:7026 schedule_timeout+0x12b/0x270 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x301/0x1540 kernel/rcu/tree.c:2083 rcu_gp_kthread+0x99/0x390 kernel/rcu/tree.c:2285 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 22700 Comm: syz.3.3695 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:__kasan_check_write+0xa/0x20 mm/kasan/shadow.c:37 Code: ff 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 89 f6 48 8b 0c 24 01 00 00 00 e9 bc e4 ff ff 66 66 66 2e 0f 1f 84 00 00 00 00 00 RSP: 0018:ffffc90000007bd8 EFLAGS: 00000056 RAX: 00000000ffffff01 RBX: ffff8880b8827ac0 RCX: ffffffff819df771 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc90000007c20 RBP: ffffc90000007c90 R08: ffff8880b8827ac3 R09: 1ffff11017104f58 R10: dffffc0000000000 R11: ffffed1017104f59 R12: ffff8880b8827ad0 R13: ffff8880b8827ac8 R14: 1ffff11017104f5a R15: 1ffff11017104f59 FS: 00007f95f08776c0(0000) GS:ffff88812613e000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000001000 CR3: 00000000613e8000 CR4: 0000000000350ef0 Call Trace: instrument_atomic_read_write include/linux/instrumented.h:96 [inline] atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:1301 [inline] queued_spin_lock include/asm-generic/qspinlock.h:111 [inline] do_raw_spin_lock+0x121/0x290 kernel/locking/spinlock_debug.c:116 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:120 [inline] _raw_spin_lock_irq+0xae/0xf0 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1781 [inline] __hrtimer_run_queues+0x602/0xc60 kernel/time/hrtimer.c:1841 hrtimer_interrupt+0x45b/0xaa0 kernel/time/hrtimer.c:1903 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1041 [inline] __sysvec_apic_timer_interrupt+0x10b/0x410 arch/x86/kernel/apic/apic.c:1058 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1052 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xa8/0x110 kernel/locking/spinlock.c:194 Code: 74 05 e8 5b 1c 7f f6 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f6 44 24 21 02 75 4f f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 53 4a 47 f6 65 8b 05 dc 78 25 07 85 c0 74 40 48 c7 04 24 0e 36 RSP: 0018:ffffc90002f677a0 EFLAGS: 00000206 RAX: 3ca7a78024ffeb00 RBX: 0000000000000212 RCX: 3ca7a78024ffeb00 RDX: 0000000000000000 RSI: ffffffff8d70bf1d RDI: 0000000000000001 RBP: ffffc90002f67830 R08: ffffffff8f7cd477 R09: 1ffffffff1ef9a8e R10: dffffc0000000000 R11: fffffbfff1ef9a8f R12: dffffc0000000000 R13: ffff88805c350498 R14: ffffffff99989a90 R15: 1ffff920005ecef4 debug_object_assert_init+0x20e/0x380 lib/debugobjects.c:1009 debug_timer_assert_init kernel/time/timer.c:803 [inline] debug_assert_init kernel/time/timer.c:848 [inline] __mod_timer+0x4a/0xf30 kernel/time/timer.c:1025 schedule_timeout+0x126/0x270 kernel/time/sleep_timeout.c:98 snd_rawmidi_write+0x3a8/0xbc0 sound/core/rawmidi.c:1616 do_loop_readv_writev fs/read_write.c:850 [inline] vfs_writev+0x4b6/0x960 fs/read_write.c:1059 do_writev+0x14d/0x2d0 fs/read_write.c:1103 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f95ef98efc9 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:00007f95f0877038 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007f95efbe5fa0 RCX: 00007f95ef98efc9 RDX: 0000000000000002 RSI: 0000200000000840 RDI: 0000000000000007 RBP: 00007f95efa11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f95efbe6038 R14: 00007f95efbe5fa0 R15: 00007ffc89b37be8