syzbot


INFO: rcu detected stall in sys_exit_group

Status: upstream: reported on 2025/07/21 16:02
Reported-by: syzbot+48904dad9520cbb5ce21@syzkaller.appspotmail.com
First crash: 156d, last: 2d00h
Similar bugs (16)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_exit_group (7) net 1 C unreliable inconclusive 90 534d 1531d 0/29 upstream: reported C repro on 2021/10/15 18:41
upstream INFO: rcu detected stall in sys_exit_group (6) mm 1 C 4 1911d 1917d 19/29 fixed on 2021/03/10 01:48
linux-5.15 INFO: rcu detected stall in sys_exit_group (2) 1 3 616d 650d 0/3 auto-obsoleted due to no activity on 2024/07/27 04:53
linux-6.1 INFO: rcu detected stall in sys_exit_group (3) origin:upstream 1 C error 20 11d 701d 0/3 upstream: reported C repro on 2024/01/23 11:05
linux-6.1 INFO: rcu detected stall in sys_exit_group (2) 1 1 848d 848d 0/3 auto-obsoleted due to no activity on 2023/12/07 20:57
linux-6.1 INFO: rcu detected stall in sys_exit_group 1 1 959d 959d 0/3 auto-obsoleted due to no activity on 2023/08/23 09:06
linux-5.15 INFO: rcu detected stall in sys_exit_group 1 1 910d 910d 0/3 auto-obsoleted due to no activity on 2023/10/06 21:30
upstream INFO: rcu detected stall in sys_exit_group (2) mm cgroups 1 56 2212d 2214d 0/29 closed as invalid on 2019/12/04 14:14
upstream INFO: rcu detected stall in sys_exit_group (3) mm 1 8 2178d 2178d 0/29 closed as invalid on 2020/01/08 05:23
upstream INFO: rcu detected stall in sys_exit_group (4) mm 1 13 2177d 2178d 0/29 closed as invalid on 2020/01/09 08:13
upstream INFO: rcu detected stall in sys_exit_group (5) mm 1 1 2098d 2098d 0/29 auto-closed as invalid on 2020/06/25 07:58
linux-5.15 INFO: rcu detected stall in sys_exit_group (3) 1 2 405d 438d 0/3 auto-obsoleted due to no activity on 2025/02/22 19:05
linux-5.15 INFO: rcu detected stall in sys_exit_group (4) origin:upstream 1 C 5 1d03h 97d 0/3 upstream: reported C repro on 2025/09/19 02:54
upstream INFO: rcu detected stall in sys_exit_group kernel 1 C done 1 2293d 2289d 13/29 fixed on 2019/10/09 10:54
android-5-10 BUG: soft lockup in sys_exit_group 1 1 521d 521d 0/2 auto-obsoleted due to no activity on 2024/10/19 10:22
android-5-15 BUG: soft lockup in sys_exit_group 1 C error 7 483d 626d 0/2 auto-obsoleted due to no activity on 2024/12/07 01:30

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P9263/1:b..l
rcu: 	(detected by 0, t=10502 jiffies, g=40749, q=480 ncpus=2)
task:syz.7.590       state:R  running task     stack:25320 pid:9263  ppid:8840   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:stack_trace_consume_entry+0x0/0x270 kernel/stacktrace.c:83
Code: 00 00 00 65 48 8b 0c 25 28 00 00 00 48 3b 4c 24 78 75 09 48 8d 65 f0 5b 41 5e 5d c3 e8 39 09 f3 08 66 0f 1f 84 00 00 00 00 00 <f3> 0f 1e fa 55 41 57 41 56 41 55 41 54 53 48 83 ec 18 48 ba 00 00
RSP: 0018:ffffc9000438f1e0 EFLAGS: 00000286
RAX: ffffffff81321d9a RBX: ffffc9000438f2a0 RCX: ffff88802d491e00
RDX: 0000000000000000 RSI: ffffffff8a672ea5 RDI: ffffc9000438f2a0
RBP: ffffc9000438f270 R08: ffff88802d491e00 R09: 0000000000000003
R10: 0000000000000004 R11: 0000000000000000 R12: ffffffff8a672ea5
R13: 1ffff92000871e68 R14: ffffffff81746d20 R15: ffffc9000438f1e8
 arch_stack_walk+0x138/0x190 arch/x86/kernel/stacktrace.c:27
 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122
 save_stack+0xf7/0x1f0 mm/page_owner.c:128
 __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
 tlb_batch_pages_flush mm/mmu_gather.c:98 [inline]
 tlb_flush_mmu_free mm/mmu_gather.c:293 [inline]
 tlb_flush_mmu+0x368/0x4f0 mm/mmu_gather.c:300
 zap_pte_range mm/memory.c:1532 [inline]
 zap_pmd_range mm/memory.c:1571 [inline]
 zap_pud_range mm/memory.c:1600 [inline]
 zap_p4d_range mm/memory.c:1621 [inline]
 unmap_page_range+0x26d4/0x2fe0 mm/memory.c:1642
 unmap_vmas+0x25e/0x3a0 mm/memory.c:1732
 exit_mmap+0x200/0xb50 mm/mmap.c:3302
 __mmput+0x118/0x3c0 kernel/fork.c:1355
 exit_mm+0x1da/0x2c0 kernel/exit.c:569
 do_exit+0x88e/0x23c0 kernel/exit.c:870
 do_group_exit+0x21b/0x2d0 kernel/exit.c:1024
 __do_sys_exit_group kernel/exit.c:1035 [inline]
 __se_sys_exit_group kernel/exit.c:1033 [inline]
 __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1033
 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:0x7f9afcb8f749
RSP: 002b:00007fff465eb418 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9afcb8f749
RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007fff465eb47c R08: 0000001e465eb50f R09: 00000000000927c0
R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000006
R13: 00000000000927c0 R14: 000000000008ea08 R15: 00007fff465eb4d0
 </TASK>
rcu: rcu_preempt kthread starved for 10550 jiffies! g40749 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:26056 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:
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
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: 80675e2001baf800 RBX: ffffffff8161881b RCX: 80675e2001baf800
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: 0000200000004a80 CR3: 00000000641f3000 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 (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/23 05:35 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_exit_group
2025/11/24 22:31 linux-6.6.y 1e89a1be4fe9 bf6fe8fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_exit_group
2025/09/27 04:24 linux-6.6.y 147338df3487 001c9061 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_exit_group
2025/09/17 02:00 linux-6.6.y 60a9e718726f e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_exit_group
2025/09/03 17:05 linux-6.6.y cc1a1c5b404a 96a211bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_exit_group
2025/07/22 10:50 linux-6.6.y d96eb99e2f0e 1555463b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_exit_group
2025/07/21 16:01 linux-6.6.y d96eb99e2f0e 56d87229 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_exit_group
* Struck through repros no longer work on HEAD.