syzbot


INFO: rcu detected stall in sys_unlink (2)

Status: upstream: reported on 2025/03/27 11:38
Reported-by: syzbot+a0dc8f91386bb1406734@syzkaller.appspotmail.com
First crash: 313d, last: 2d14h
Similar bugs (11)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: rcu detected stall in sys_unlink (4) 1 1 308d 308d 0/3 auto-obsoleted due to no activity on 2025/07/10 21:02
linux-5.15 INFO: rcu detected stall in sys_unlink (3) 1 1 457d 457d 0/3 auto-obsoleted due to no activity on 2025/02/11 14:08
upstream INFO: rcu detected stall in sys_unlink (2) kernel 1 2 1108d 1193d 0/29 auto-obsoleted due to no activity on 2023/04/22 20:06
upstream INFO: rcu detected stall in sys_unlink (3) mm 1 C error 346 16h44m 905d 0/29 upstream: reported C repro on 2023/08/13 23:42
linux-5.15 INFO: rcu detected stall in sys_unlink (5) 1 4 17d 131d 0/3 upstream: reported on 2025/09/25 16:42
linux-6.1 INFO: rcu detected stall in sys_unlink 1 4 524d 742d 0/3 auto-obsoleted due to no activity on 2024/12/07 03:28
linux-5.15 INFO: rcu detected stall in sys_unlink (2) 1 3 576d 587d 0/3 auto-obsoleted due to no activity on 2024/10/15 13:02
linux-6.6 INFO: rcu detected stall in sys_unlink 1 16 1d01h 198d 0/2 upstream: reported on 2025/07/20 18:19
upstream INFO: rcu detected stall in sys_unlink mm kasan 1 1 1283d 1283d 0/29 auto-obsoleted due to no activity on 2022/10/29 07:23
linux-5.15 INFO: rcu detected stall in sys_unlink 1 1 693d 693d 0/3 auto-obsoleted due to no activity on 2024/06/20 14:47
android-5-15 BUG: soft lockup in sys_unlink 1 7 636d 658d 0/2 auto-obsoleted due to no activity on 2024/08/07 01:29

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P4272/1:b..l P4486/1:b..l
	(detected by 0, t=10502 jiffies, g=38893, q=281 ncpus=2)
task:udevd           state:R  running task     stack:22928 pid:4486  ppid:3639   flags:0x00004002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x11d1/0x40e0 kernel/sched/core.c:6562
 preempt_schedule_common+0x82/0xd0 kernel/sched/core.c:6731
 preempt_schedule+0xbc/0xd0 kernel/sched/core.c:6755
 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34
 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
 _raw_spin_unlock_irqrestore+0x10d/0x120 kernel/locking/spinlock.c:194
 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
 __wake_up_common_lock kernel/sched/wait.c:140 [inline]
 __wake_up_sync_key+0x128/0x190 kernel/sched/wait.c:208
 sock_def_readable+0x15b/0x280 net/core/sock.c:3316
 unix_dgram_sendmsg+0x1051/0x16e0 net/unix/af_unix.c:2085
 sock_sendmsg_nosec net/socket.c:718 [inline]
 __sock_sendmsg net/socket.c:730 [inline]
 sock_write_iter+0x2d9/0x3e0 net/socket.c:1143
 call_write_iter include/linux/fs.h:2265 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x4b1/0xa30 fs/read_write.c:584
 ksys_write+0x14c/0x250 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f876b6a7407
RSP: 002b:00007ffee5028890 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f876be03880 RCX: 00007f876b6a7407
RDX: 0000000000000000 RSI: 00007ffee5028937 RDI: 000000000000000a
RBP: 000000000000000a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007f876be036e8
R13: 0000000000000000 R14: 0000000000000000 R15: 00005570487ea9d0
 </TASK>
task:syz-executor    state:R  running task     stack:22608 pid:4272  ppid:4265   flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x11d1/0x40e0 kernel/sched/core.c:6562
 preempt_schedule_irq+0xbb/0x160 kernel/sched/core.c:6874
 irqentry_exit+0x63/0x70 kernel/entry/common.c:439
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:lock_acquire+0x225/0x4a0 kernel/locking/lockdep.c:5666
Code: f7 84 24 80 00 00 00 00 02 00 00 43 c6 44 3d 04 f8 0f 85 f0 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 44 3d 00 00 00 00 00 43 c7 44 3d 08 00 00 00 00 65 48 8b 04
RSP: 0018:ffffc90003de7520 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 0000000000000000 RCX: 578a339154fce300
RDX: 0000000000000000 RSI: ffffffff8a8c23a0 RDI: ffffffff8adf0c20
RBP: ffffc90003de7640 R08: dffffc0000000000 R09: 1ffffffff215e648
R10: dffffc0000000000 R11: fffffbfff215e649 R12: 0000000000000001
R13: 1ffff920007bceb0 R14: 0000000000000246 R15: dffffc0000000000
 rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
 rcu_read_lock include/linux/rcupdate.h:791 [inline]
 page_ext_get+0x3a/0x2a0 mm/page_ext.c:157
 __reset_page_owner+0x31/0x1a0 mm/page_owner.c:144
 reset_page_owner include/linux/page_owner.h:24 [inline]
 free_pages_prepare mm/page_alloc.c:1459 [inline]
 free_pcp_prepare mm/page_alloc.c:1509 [inline]
 free_unref_page_prepare+0x8b4/0x9a0 mm/page_alloc.c:3384
 free_unref_page_list+0xbb/0x8e0 mm/page_alloc.c:3525
 release_pages+0x1fa6/0x2220 mm/swap.c:1035
 __pagevec_release+0x6d/0xe0 mm/swap.c:1055
 pagevec_release include/linux/pagevec.h:71 [inline]
 folio_batch_release include/linux/pagevec.h:135 [inline]
 shmem_undo_range+0x7c2/0x20c0 mm/shmem.c:946
 shmem_truncate_range mm/shmem.c:1062 [inline]
 shmem_evict_inode+0x25b/0xa80 mm/shmem.c:1171
 evict+0x4c9/0x8d0 fs/inode.c:705
 do_unlinkat+0x388/0x580 fs/namei.c:4405
 __do_sys_unlink fs/namei.c:4446 [inline]
 __se_sys_unlink fs/namei.c:4444 [inline]
 __x64_sys_unlink+0x45/0x50 fs/namei.c:4444
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f3f3f599fa7
RSP: 002b:00007ffc9afbbf28 EFLAGS: 00000206 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3f3f599fa7
RDX: 00007ffc9afbbf50 RSI: 00007ffc9afbbfe0 RDI: 00007ffc9afbbfe0
RBP: 00007ffc9afbbfe0 R08: 00007ffc9afbcfe0 R09: 00000000ffffffff
R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffc9afbd070
R13: 00007f3f3f60471f R14: 0000000000075f08 R15: 00007ffc9afbd0b0
 </TASK>
rcu: rcu_preempt kthread starved for 9765 jiffies! g38893 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
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:26864 pid:16    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x11d1/0x40e0 kernel/sched/core.c:6562
 schedule+0xb9/0x180 kernel/sched/core.c:6638
 schedule_timeout+0x184/0x2d0 kernel/time/timer.c:2168
 rcu_gp_fqs_loop+0x303/0x1340 kernel/rcu/tree.c:1706
 rcu_gp_kthread+0x99/0x3b0 kernel/rcu/tree.c:1905
 kthread+0x29d/0x330 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline]
NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline]
NMI backtrace for cpu 1 skipped: idling at default_idle+0xb/0x10 arch/x86/kernel/process.c:741

Crashes (19):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/02/01 14:55 linux-6.1.y cd9b81672742 6b8752f2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_unlink
2026/01/31 23:55 linux-6.1.y cd9b81672742 afc0c4d4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_unlink
2026/01/31 23:53 linux-6.1.y cd9b81672742 afc0c4d4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_unlink
2026/01/31 23:48 linux-6.1.y cd9b81672742 afc0c4d4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_unlink
2026/01/27 21:55 linux-6.1.y cd9b81672742 9a514c2f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_unlink
2026/01/27 21:48 linux-6.1.y cd9b81672742 9a514c2f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_unlink
2026/01/26 20:41 linux-6.1.y cd9b81672742 a4c52dd6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_unlink
2025/12/10 18:37 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_unlink
2025/11/05 11:26 linux-6.1.y f6e38ae624cf a6c9c731 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_unlink
2025/10/30 12:43 linux-6.1.y f6e38ae624cf fd2207e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_unlink
2025/10/25 09:55 linux-6.1.y 8e6e2188d949 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_unlink
2025/09/24 01:47 linux-6.1.y 363a599da6d9 e667a34f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_unlink
2025/09/20 02:49 linux-6.1.y 363a599da6d9 67c37560 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_unlink
2025/09/10 06:06 linux-6.1.y f97f1002271b fdeaa69b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_unlink
2025/09/08 18:04 linux-6.1.y 28c695c365e1 d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_unlink
2025/08/07 20:45 linux-6.1.y 3594f306da12 04cffc22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_unlink
2025/05/07 14:34 linux-6.1.y ac7079a42ea5 350f4ffc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in sys_unlink
2025/04/10 09:45 linux-6.1.y 3dfebb87d7eb 988b336c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_unlink
2025/03/27 11:38 linux-6.1.y 344a09659766 20510e88 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_unlink
* Struck through repros no longer work on HEAD.