syzbot


INFO: rcu detected stall in sys_unlink

Status: upstream: reported on 2025/07/20 18:19
Reported-by: syzbot+dfe0a4ce11e613b0f2f7@syzkaller.appspotmail.com
First crash: 152d, last: 29m
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 262d 262d 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 411d 411d 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 1062d 1147d 0/29 auto-obsoleted due to no activity on 2023/04/22 20:06
upstream INFO: rcu detected stall in sys_unlink (3) tomoyo mm 1 C error 254 1d13h 859d 0/29 upstream: reported C repro on 2023/08/13 23:42
linux-6.1 INFO: rcu detected stall in sys_unlink (2) 1 12 9d07h 267d 0/3 upstream: reported on 2025/03/27 11:38
linux-5.15 INFO: rcu detected stall in sys_unlink (5) 1 3 7d02h 85d 0/3 upstream: reported on 2025/09/25 16:42
linux-6.1 INFO: rcu detected stall in sys_unlink 1 4 477d 696d 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 530d 541d 0/3 auto-obsoleted due to no activity on 2024/10/15 13:02
upstream INFO: rcu detected stall in sys_unlink kasan mm 1 1 1237d 1237d 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 647d 647d 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 590d 612d 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): P6425/1:b..l
rcu: 	(detected by 1, t=10502 jiffies, g=34273, q=375 ncpus=2)
task:syz-executor    state:R  running task     stack:21736 pid:6425  ppid:6407   flags:0x00004002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5380 [inline]
 __schedule+0x14d2/0x44d0 kernel/sched/core.c:6699
 preempt_schedule_irq+0xb5/0x140 kernel/sched/core.c:7009
 irqentry_exit+0x67/0x70 kernel/entry/common.c:438
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:stackdepot_memcmp lib/stackdepot.c:335 [inline]
RIP: 0010:find_stack lib/stackdepot.c:352 [inline]
RIP: 0010:__stack_depot_save+0x175/0x630 lib/stackdepot.c:390
Code: ed 74 33 44 89 f0 eb 09 4d 8b 6d 00 4d 85 ed 74 25 45 39 65 08 75 f1 45 39 75 0c 75 eb 31 c9 48 8b 14 cb 49 3b 54 cd 18 75 de <48> ff c1 39 c8 75 ee e9 f6 03 00 00 45 84 ff 48 89 74 24 18 74 0e
RSP: 0018:ffffc9000bfdf4c8 EFLAGS: 00000246
RAX: 000000000000000b RBX: ffffc9000bfdf560 RCX: 0000000000000008
RDX: ffffffff81ef91c9 RSI: ffff88823b400000 RDI: 0000000000002800
RBP: 00000000000e6934 R08: 00000000a846095b R09: 000000009e29c327
R10: dffffc0000000000 R11: fffffbfff1c94426 R12: 000000001c1e6934
R13: ffff88807d0d8e70 R14: 000000000000000b R15: 0000000000000001
 save_stack+0x105/0x1f0 mm/page_owner.c:129
 __reset_page_owner+0x4e/0x190 mm/page_owner.c:149
 reset_page_owner include/linux/page_owner.h:24 [inline]
 free_pages_prepare mm/page_alloc.c:1154 [inline]
 free_unref_page_prepare+0x7ce/0x8e0 mm/page_alloc.c:2336
 free_unref_page_list+0xbe/0x860 mm/page_alloc.c:2475
 release_pages+0x1fa0/0x2220 mm/swap.c:1022
 __folio_batch_release+0x71/0xe0 mm/swap.c:1042
 folio_batch_release include/linux/pagevec.h:83 [inline]
 shmem_undo_range+0x5d0/0x1a40 mm/shmem.c:1026
 shmem_truncate_range mm/shmem.c:1135 [inline]
 shmem_evict_inode+0x273/0xa70 mm/shmem.c:1264
 evict+0x486/0x870 fs/inode.c:705
 do_unlinkat+0x37b/0x570 fs/namei.c:4406
 __do_sys_unlink fs/namei.c:4447 [inline]
 __se_sys_unlink fs/namei.c:4445 [inline]
 __x64_sys_unlink+0x49/0x50 fs/namei.c:4445
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fdaceb8ecf7
RSP: 002b:00007ffe371f8128 EFLAGS: 00000206 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fdaceb8ecf7
RDX: 00007ffe371f8150 RSI: 00007ffe371f81e0 RDI: 00007ffe371f81e0
RBP: 00007ffe371f81e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffe371f9270
R13: 00007fdacec13d7d R14: 0000000000058ad6 R15: 00007ffe371f92b0
 </TASK>
rcu: rcu_preempt kthread starved for 10547 jiffies! g34273 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:27752 pid:17    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5380 [inline]
 __schedule+0x14d2/0x44d0 kernel/sched/core.c:6699
 schedule+0xbd/0x170 kernel/sched/core.c:6773
 schedule_timeout+0x160/0x280 kernel/time/timer.c:2168
 rcu_gp_fqs_loop+0x302/0x1560 kernel/rcu/tree.c:1667
 rcu_gp_kthread+0x99/0x380 kernel/rcu/tree.c:1866
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
CPU: 1 PID: 0 Comm: swapper/1 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:pv_native_safe_halt+0x13/0x20 arch/x86/kernel/paravirt.c:148
Code: cc cc cc cc cc cc cc f3 0f 1e fa 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 66 90 0f 00 2d 23 bb 40 00 f3 0f 1e fa fb f4 <c3> cc cc cc cc cc cc cc cc cc cc cc cc 66 0f 1f 00 55 41 57 41 56
RSP: 0018:ffffc90000187de0 EFLAGS: 000002c2
RAX: 3b528ccbedc5c700 RBX: ffffffff8161881b RCX: 3b528ccbedc5c700
RDX: 0000000000000001 RSI: ffffffff8aaabce0 RDI: ffffffff8afc6f80
RBP: ffffc90000187f20 R08: ffff8880b8f36b2b R09: 1ffff110171e6d65
R10: dffffc0000000000 R11: ffffed10171e6d66 R12: ffffffff8e4a2128
R13: 0000000000000001 R14: 0000000000000001 R15: 1ffff1100364e780
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00001ffffffffec0 CR3: 0000000052228000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 arch_safe_halt arch/x86/include/asm/paravirt.h:108 [inline]
 default_idle+0x13/0x20 arch/x86/kernel/process.c:753
 default_idle_call+0x6c/0xa0 kernel/sched/idle.c:97
 cpuidle_idle_call kernel/sched/idle.c:170 [inline]
 do_idle+0x1eb/0x510 kernel/sched/idle.c:282
 cpu_startup_entry+0x43/0x60 kernel/sched/idle.c:380
 start_secondary+0xee/0xf0 arch/x86/kernel/smpboot.c:323
 secondary_startup_64_no_verify+0x179/0x17b
 </TASK>

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/20 01:17 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_unlink
2025/12/12 05:51 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_unlink
2025/12/11 10:44 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_unlink
2025/12/10 10:44 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_unlink
2025/11/08 07:48 linux-6.6.y 0a805b6ea8cd 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_unlink
2025/11/07 04:11 linux-6.6.y 0a805b6ea8cd 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_unlink
2025/11/07 03:37 linux-6.6.y 0a805b6ea8cd 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_unlink
2025/10/26 19:07 linux-6.6.y 4a243110dc88 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_unlink
2025/10/24 06:07 linux-6.6.y 4a243110dc88 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_unlink
2025/09/30 05:14 linux-6.6.y 147338df3487 86341da6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_unlink
2025/07/31 13:11 linux-6.6.y dbcb8d8e4163 f8f2b4da .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_unlink
2025/07/23 13:51 linux-6.6.y d96eb99e2f0e e1dd4f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_unlink
2025/07/20 18:18 linux-6.6.y d96eb99e2f0e 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_unlink
* Struck through repros no longer work on HEAD.