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: 1d16h, last: 21h19m
Similar bugs (15)
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 379d 1376d 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 1756d 1762d 19/29 fixed on 2021/03/10 01:48
linux-5.15 INFO: rcu detected stall in sys_exit_group (2) 1 3 461d 495d 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 16 8d19h 546d 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 693d 693d 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 804d 804d 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 755d 755d 0/3 auto-obsoleted due to no activity on 2023/10/06 21:30
upstream INFO: rcu detected stall in sys_exit_group (2) cgroups mm 1 56 2057d 2059d 0/29 closed as invalid on 2019/12/04 14:14
upstream INFO: rcu detected stall in sys_exit_group (3) kernel 1 8 2023d 2023d 0/29 closed as invalid on 2020/01/08 05:23
upstream INFO: rcu detected stall in sys_exit_group (4) kernel 1 13 2022d 2023d 0/29 closed as invalid on 2020/01/09 08:13
upstream INFO: rcu detected stall in sys_exit_group (5) mm 1 1 1944d 1944d 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 250d 283d 0/3 auto-obsoleted due to no activity on 2025/02/22 19:05
upstream INFO: rcu detected stall in sys_exit_group kernel 1 C done 1 2138d 2134d 13/29 fixed on 2019/10/09 10:54
android-5-10 BUG: soft lockup in sys_exit_group 1 1 366d 366d 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 328d 471d 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): P11185/1:b..l
rcu: 	(detected by 0, t=10502 jiffies, g=52329, q=28 ncpus=2)
task:syz.4.1217      state:R  running task     stack:26728 pid:11185 ppid:6267   flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5381 [inline]
 __schedule+0x14e2/0x4580 kernel/sched/core.c:6700
 preempt_schedule_irq+0xb5/0x140 kernel/sched/core.c:7010
 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:__kernel_text_address+0x23/0x30 kernel/extable.c:79
Code: 84 00 00 00 00 00 90 66 0f 1f 00 53 48 89 fb e8 23 00 00 00 85 c0 0f 95 c0 48 81 fb 00 40 9c 8f 0f 93 c1 48 81 fb 2b 1e b2 8f <0f> 92 c2 20 ca 08 c2 0f b6 c2 5b c3 90 66 0f 1f 00 55 41 56 53 48
RSP: 0018:ffffc9000f2af1b0 EFLAGS: 00000283
RAX: 0000000000000001 RBX: ffffffff8174715c RCX: 0000000000000000
RDX: ffff888066d31e00 RSI: 0000000000000001 RDI: ffffffff8174715c
RBP: 0000000000000001 R08: ffff888066d31e00 R09: 0000000000000003
R10: 0000000000000004 R11: 0000000000000000 R12: ffff888066d31e00
R13: 1ffff92001e55e68 R14: dffffc0000000000 R15: 1ffff92001e55e46
 unwind_get_return_address+0x5d/0xc0 arch/x86/kernel/unwind_orc.c:369
 arch_stack_walk+0x11d/0x190 arch/x86/kernel/stacktrace.c:26
 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:1531 [inline]
 zap_pmd_range mm/memory.c:1570 [inline]
 zap_pud_range mm/memory.c:1599 [inline]
 zap_p4d_range mm/memory.c:1620 [inline]
 unmap_page_range+0x26d4/0x2fe0 mm/memory.c:1641
 unmap_vmas+0x25e/0x3a0 mm/memory.c:1731
 exit_mmap+0x200/0xb50 mm/mmap.c:3298
 __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:0x7f4852d8e9a9
RSP: 002b:00007ffffc8c7c58 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f4852d8e9a9
RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007ffffc8c7cbc R08: 0000000afc8c7d4f R09: 00000000000927c0
R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000123
R13: 00000000000927c0 R14: 00000000000b506f R15: 00007ffffc8c7d10
 </TASK>
rcu: rcu_preempt kthread starved for 10019 jiffies! g52329 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:27024 pid:17    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5381 [inline]
 __schedule+0x14e2/0x4580 kernel/sched/core.c:6700
 schedule+0xbd/0x170 kernel/sched/core.c:6774
 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:
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.6.99-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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 03 17 3b 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: 0707c7db73108900 RBX: ffffffff81619a7b RCX: 0707c7db73108900
RDX: 0000000000000001 RSI: ffffffff8aaaba40 RDI: ffffffff8afc6680
RBP: ffffffff8ca07eb8 R08: ffff8880b8e36d4b R09: 1ffff110171c6da9
R10: dffffc0000000000 R11: ffffed10171c6daa R12: ffffffff8e4a7ce8
R13: 0000000000000000 R14: 0000000000000000 R15: 1ffffffff1952670
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fea774ba386 CR3: 000000002d744000 CR4: 00000000003526f0
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 (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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.