syzbot


INFO: rcu detected stall in syscall_exit_to_user_mode

Status: upstream: reported C repro on 2025/06/24 16:00
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+a26ae52b1947e76c2e06@syzkaller.appspotmail.com
First crash: 111d, last: 2d11h
Fix commit to backport (bisect log) :
tree: upstream
commit 5f6bd380c7bdbe10f7b4e8ddcceed60ce0714c6d
Author: Peter Zijlstra <peterz@infradead.org>
Date: Mon May 27 12:06:55 2024 +0000

  sched/rt: Remove default bandwidth control

  
Bug presence (2)
Date Name Commit Repro Result
2025/06/29 linux-6.6.y (ToT) 3f5b4c104b7d C [report] INFO: rcu detected stall in syscall_exit_to_user_mode
2025/06/29 upstream (ToT) dfba48a70cb6 C Didn't crash
Similar bugs (6)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in syscall_exit_to_user_mode mm cgroups 1 78 1327d 1507d 20/29 fixed on 2022/03/08 16:11
linux-6.1 INFO: rcu detected stall in syscall_exit_to_user_mode origin:upstream missing-backport 1 C done 220 13h42m 920d 0/3 upstream: reported C repro on 2023/04/07 08:31
upstream INFO: rcu detected stall in syscall_exit_to_user_mode (2) usb 1 C inconclusive 807 1d05h 1043d 0/29 upstream: reported C repro on 2022/12/05 19:46
linux-5.15 INFO: rcu detected stall in syscall_exit_to_user_mode missing-backport origin:upstream 1 C done 1132 1d12h 779d 0/3 upstream: reported C repro on 2023/08/26 22:23
android-5-15 BUG: soft lockup in syscall_exit_to_user_mode (2) 1 1 325d 325d 0/2 auto-obsoleted due to no activity on 2025/02/19 23:24
android-5-15 BUG: soft lockup in syscall_exit_to_user_mode origin:lts 1 C 16 429d 508d 0/2 auto-obsoleted due to no activity on 2024/11/18 18:22
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2025/07/25 18:18 8h36m fix candidate upstream OK (1) job log

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	(detected by 1, t=10502 jiffies, g=9149, q=19 ncpus=2)
rcu: All QSes seen, last rcu_preempt kthread activity 10503 (4294956089-4294945586), jiffies_till_next_fqs=1, root ->qsmask 0x0
rcu: rcu_preempt kthread starved for 10504 jiffies! g9149 f0x2 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:25872 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: 5792 Comm: syz-executor934 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:__lock_acquire+0x3fa/0x7c80 kernel/locking/lockdep.c:5072
Code: 0f e8 2a e6 75 00 49 b8 00 00 00 00 00 fc ff df 48 8b 84 24 90 00 00 00 4c 89 70 08 49 89 c6 4c 8d 60 10 4c 89 e0 48 c1 e8 03 <48> 89 84 24 e0 00 00 00 42 80 3c 00 00 74 12 4c 89 e7 e8 ef e5 75
RSP: 0018:ffffc90000007a60 EFLAGS: 00000806
RAX: 1ffff1100569051e RBX: 0000000000000000 RCX: 1ffff11005690520
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88802b4828e8
RBP: ffffc90000007ca8 R08: dffffc0000000000 R09: 0000000000000001
R10: dffffc0000000000 R11: fffffbfff1c9506e R12: ffff88802b4828f0
R13: 0000000000000067 R14: ffff88802b4828e0 R15: 0000000000000000
FS:  00007fcd1ba0b6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcd1ba0ae40 CR3: 000000002989b000 CR4: 00000000003506f0
Call Trace:
 <IRQ>
 lock_acquire+0x197/0x410 kernel/locking/lockdep.c:5754
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0xa8/0xf0 kernel/locking/spinlock.c:162
 hrtimer_interrupt+0xfc/0x9c0 kernel/time/hrtimer.c:1857
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1077 [inline]
 __sysvec_apic_timer_interrupt+0xfb/0x3b0 arch/x86/kernel/apic/apic.c:1094
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline]
 sysvec_apic_timer_interrupt+0x9f/0xc0 arch/x86/kernel/apic/apic.c:1088
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202
Code: 00 f3 0f 1e fa 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 2a 73 ef f6 48 89 df e8 42 45 f0 f6 e8 8d eb 13 f7 fb bf 01 00 00 00 <e8> 52 6a e3 f6 65 8b 05 33 b5 8b 75 85 c0 74 02 5b c3 e8 50 99 88
RSP: 0018:ffffc900042cfc98 EFLAGS: 00000282
RAX: acca482d44173100 RBX: ffff88802b99d340 RCX: acca482d44173100
RDX: dffffc0000000000 RSI: ffffffff8aaabce0 RDI: 0000000000000001
RBP: ffff88802b99d7d8 R08: ffffffff8e4a836f R09: 1ffffffff1c9506d
R10: dffffc0000000000 R11: fffffbfff1c9506e R12: 1ffff11005733afb
R13: 0000000000000021 R14: dffffc0000000000 R15: 0000000000000000
 spin_unlock_irq include/linux/spinlock.h:401 [inline]
 get_signal+0x11f5/0x1400 kernel/signal.c:2905
 arch_do_signal_or_restart+0x96/0x780 arch/x86/kernel/signal.c:310
 exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:174
 exit_to_user_mode_prepare+0xf6/0x180 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
 syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302
 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fcd1ba4a459
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 18 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fcd1ba0b218 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 00007fcd1bad4308 RCX: 00007fcd1ba4a459
RDX: 000020000006b000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007fcd1bad4300 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 000020000006b000 R14: 0000200000000100 R15: 0000200000000680
 </TASK>
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.207 msecs

Crashes (35):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/11 11:03 linux-6.6.y e617101e5626 ff1712fe .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/10/10 16:56 linux-6.6.y e617101e5626 ff1712fe .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in syscall_exit_to_user_mode
2025/10/05 14:03 linux-6.6.y f34f16e5c632 49379ee0 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/10/04 00:37 linux-6.6.y f34f16e5c632 49379ee0 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/09/27 14:47 linux-6.6.y 147338df3487 001c9061 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/09/21 07:29 linux-6.6.y af1544b5d072 67c37560 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/09/17 00:50 linux-6.6.y 60a9e718726f e2beed91 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/08/31 09:29 linux-6.6.y cc1a1c5b404a 807a3b61 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/08/17 21:46 linux-6.6.y bb9c90ab9c5a 1804e95e .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/08/11 13:53 linux-6.6.y 3a8ababb8b6a 32a0e5ed .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/08/03 09:16 linux-6.6.y 3a8ababb8b6a 7368264b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/08/03 05:54 linux-6.6.y 3a8ababb8b6a 7368264b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/08/02 22:59 linux-6.6.y 3a8ababb8b6a 7368264b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/08/02 15:30 linux-6.6.y 3a8ababb8b6a 7368264b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/07/06 03:52 linux-6.6.y 3f5b4c104b7d 4f67c4ae .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/06/29 15:13 linux-6.6.y 3f5b4c104b7d fc9d8ee5 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/06/24 16:00 linux-6.6.y 6282921b6825 e2f27c35 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/10/09 13:25 linux-6.6.y e617101e5626 7e2882b3 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/10/05 17:01 linux-6.6.y f34f16e5c632 49379ee0 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/09/26 11:06 linux-6.6.y 147338df3487 0abd0691 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/08/16 08:06 linux-6.6.y bb9c90ab9c5a 1804e95e .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/08/16 06:11 linux-6.6.y bb9c90ab9c5a 1804e95e .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/06/26 11:57 linux-6.6.y 6282921b6825 26d77996 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/10/09 07:12 linux-6.6.y e617101e5626 7e2882b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/09/07 10:30 linux-6.6.y 355bd0b51d2f d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/08/22 07:58 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/08/17 07:57 linux-6.6.y bb9c90ab9c5a 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/08/15 10:52 linux-6.6.y 3a8ababb8b6a 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/08/13 14:36 linux-6.6.y 3a8ababb8b6a 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/08/06 05:29 linux-6.6.y 3a8ababb8b6a ffe1dd46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/07/16 09:01 linux-6.6.y 9247f4e6573a 124ec9cc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/07/10 04:34 linux-6.6.y a5df3a702b2c 956bd956 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/07/08 19:54 linux-6.6.y a5df3a702b2c 4d9fdfa4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/07/06 12:23 linux-6.6.y a5df3a702b2c 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
2025/07/05 08:41 linux-6.6.y 3f5b4c104b7d 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in syscall_exit_to_user_mode
* Struck through repros no longer work on HEAD.