syzbot


INFO: rcu detected stall in sys_clone

Status: upstream: reported C repro on 2025/08/12 09:37
Reported-by: syzbot+4a0c2a1f63c5084ccdd9@syzkaller.appspotmail.com
First crash: 56d, last: 4d03h
Bug presence (1)
Date Name Commit Repro Result
2025/09/15 upstream (ToT) f83ec76bf285 C Didn't crash
Similar bugs (16)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: rcu detected stall in sys_clone 1 1 671d 671d 0/3 auto-obsoleted due to no activity on 2024/03/15 18:08
linux-6.1 INFO: rcu detected stall in sys_clone 1 3 818d 890d 0/3 auto-obsoleted due to no activity on 2023/10/20 18:18
upstream INFO: rcu detected stall in sys_clone (2) mm 1 49 2044d 2161d 0/29 auto-closed as invalid on 2020/06/01 05:26
upstream INFO: rcu detected stall in sys_clone (4) kernel 1 1 1561d 1561d 0/29 auto-closed as invalid on 2021/09/27 17:49
upstream INFO: rcu detected stall in sys_clone (3) mm 1 2 1897d 1919d 0/29 auto-closed as invalid on 2020/10/26 22:48
upstream INFO: rcu detected stall in sys_clone (6) kasan mm 1 1 1231d 1231d 0/29 auto-closed as invalid on 2022/08/23 03:28
upstream INFO: rcu detected stall in sys_clone kernel 1 1 2217d 2217d 13/29 fixed on 2019/10/09 10:54
upstream INFO: rcu detected stall in sys_clone (8) mm 1 C error 309 2d19h 558d 0/29 upstream: reported C repro on 2024/03/29 00:16
linux-4.19 INFO: rcu detected stall in sys_clone 1 2 2115d 2134d 0/1 auto-closed as invalid on 2020/04/21 05:46
upstream INFO: rcu detected stall in sys_clone (5) kernfs 1 5 1366d 1465d 0/29 closed as invalid on 2022/02/08 10:00
upstream INFO: rcu detected stall in sys_clone (7) fs 1 1 967d 967d 0/29 auto-obsoleted due to no activity on 2023/05/14 17:18
linux-5.15 INFO: rcu detected stall in sys_clone (2) missing-backport origin:upstream 1 C done 37 5h14m 560d 0/3 upstream: reported C repro on 2024/03/27 00:16
linux-6.1 INFO: rcu detected stall in sys_clone (2) missing-backport origin:upstream 1 C error 29 13d 566d 0/3 upstream: reported C repro on 2024/03/20 15:17
android-5-10 BUG: soft lockup in sys_clone 1 1 456d 456d 0/2 auto-obsoleted due to no activity on 2024/10/06 12:58
android-5-10 BUG: soft lockup in sys_clone (2) 1 1 30d 30d 0/2 premoderation: reported on 2025/09/07 01:56
android-5-15 BUG: soft lockup in sys_clone origin:upstream 1 C error 18 392d 535d 0/2 auto-obsoleted due to no activity on 2024/12/19 12:14

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P13773/1:b..l
rcu: 	(detected by 1, t=10502 jiffies, g=67625, q=364 ncpus=2)
task:syz-executor    state:R  running task     stack:21224 pid:13773 ppid:13763  flags:0x00004000
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:lock_is_held_type+0x13e/0x190 kernel/locking/lockdep.c:5830
Code: 75 40 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 46 41 f7 c5 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 75 3c 89 e8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f
RSP: 0018:ffffc90004dd72a0 EFLAGS: 00000206
RAX: bec79c2a78565e00 RBX: ffff8880245d5a00 RCX: bec79c2a78565e00
RDX: 0000000000000000 RSI: ffffffff8aaace60 RDI: ffffffff8afc63c0
RBP: 0000000000000000 R08: dffffc0000000000 R09: 1ffffffff21b4ea0
R10: dffffc0000000000 R11: fffffbfff21b4ea1 R12: 0000000000000004
R13: 0000000000000246 R14: ffffffff8cd598f8 R15: ffff8880245d6580
 lock_is_held include/linux/lockdep.h:288 [inline]
 task_css include/linux/cgroup.h:436 [inline]
 mem_cgroup_from_task+0x77/0x110 mm/memcontrol.c:1009
 get_obj_cgroup_from_current mm/memcontrol.c:3033 [inline]
 __memcg_kmem_charge_page+0x189/0x380 mm/memcontrol.c:3133
 __alloc_pages+0x219/0x460 mm/page_alloc.c:4474
 pagetable_alloc include/linux/mm.h:2900 [inline]
 __pte_alloc_one include/asm-generic/pgalloc.h:68 [inline]
 pte_alloc_one+0x89/0x540 arch/x86/mm/pgtable.c:33
 __pte_alloc+0x22/0x2a0 mm/memory.c:437
 copy_pte_range mm/memory.c:1028 [inline]
 copy_pmd_range mm/memory.c:1167 [inline]
 copy_pud_range mm/memory.c:1204 [inline]
 copy_p4d_range mm/memory.c:1228 [inline]
 copy_page_range+0x2d72/0x3600 mm/memory.c:1322
 dup_mmap kernel/fork.c:764 [inline]
 dup_mm kernel/fork.c:1692 [inline]
 copy_mm+0x112a/0x1c20 kernel/fork.c:1741
 copy_process+0x16d3/0x3d70 kernel/fork.c:2506
 kernel_clone+0x21b/0x840 kernel/fork.c:2914
 __do_sys_clone kernel/fork.c:3057 [inline]
 __se_sys_clone kernel/fork.c:3041 [inline]
 __x64_sys_clone+0x18c/0x1e0 kernel/fork.c:3041
 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:0x7f9326185613
RSP: 002b:00007ffea8bcf888 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9326185613
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001
R10: 0000555587dc77d0 R11: 0000000000000246 R12: 0000000000000000
R13: 00000000000927c0 R14: 00000000000cc08e R15: 00007ffea8bcfa20
 </TASK>
rcu: rcu_preempt kthread starved for 10515 jiffies! g67625 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:26856 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:2167
 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:
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 0 Comm: swapper/0 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/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 93 c8 39 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:ffffffff8ca07d80 EFLAGS: 000002c6
RAX: 3105e158a9168c00 RBX: ffffffff816185ab RCX: 3105e158a9168c00
RDX: 0000000000000001 RSI: ffffffff8aaabce0 RDI: ffffffff8afc63c0
RBP: ffffffff8ca07eb8 R08: ffff8880b8e36b2b R09: 1ffff110171c6d65
R10: dffffc0000000000 R11: ffffed10171c6d66 R12: ffffffff8e4a82e8
R13: 0000000000000000 R14: 0000000000000000 R15: 1ffffffff1952670
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000000b030 CR3: 000000002e488000 CR4: 00000000003506f0
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
 rest_init+0x2e2/0x300 init/main.c:732
 arch_call_rest_init+0xe/0x10 init/main.c:829
 start_kernel+0x459/0x4e0 init/main.c:1074
 x86_64_start_reservations+0x2a/0x30 arch/x86/kernel/head64.c:555
 x86_64_start_kernel+0x60/0x60 arch/x86/kernel/head64.c:536
 secondary_startup_64_no_verify+0x179/0x17b
 </TASK>

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/03 21:35 linux-6.6.y f34f16e5c632 49379ee0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_clone
2025/08/30 05:56 linux-6.6.y cc1a1c5b404a 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_clone
2025/08/26 05:29 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_clone
2025/08/26 04:07 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_clone
2025/08/12 09:36 linux-6.6.y 3a8ababb8b6a c06e8995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_clone
* Struck through repros no longer work on HEAD.