syzbot


INFO: rcu detected stall in sys_clock_nanosleep (3)

Status: upstream: reported on 2025/01/22 19:59
Reported-by: syzbot+b63e85390d08ec9c5308@syzkaller.appspotmail.com
First crash: 7d09h, last: 7d09h
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: rcu detected stall in sys_clock_nanosleep 1 506d 506d 0/3 auto-obsoleted due to no activity on 2023/12/20 18:13
linux-6.1 INFO: rcu detected stall in sys_clock_nanosleep (2) 4 230d 385d 0/3 auto-obsoleted due to no activity on 2024/09/21 09:26
upstream INFO: rcu detected stall in sys_clock_nanosleep (5) kernel C error done 88 1d01h 531d 0/28 upstream: reported C repro on 2023/08/17 09:25
upstream INFO: rcu detected stall in sys_clock_nanosleep (4) kernel 6 855d 975d 0/28 auto-obsoleted due to no activity on 2022/12/31 21:43
upstream INFO: rcu detected stall in sys_clock_nanosleep (3) kernel 3 1152d 1162d 0/28 closed as invalid on 2022/02/08 10:00
upstream INFO: rcu detected stall in sys_clock_nanosleep kernel 1 1407d 1407d 0/28 auto-closed as invalid on 2021/06/22 18:23
linux-6.1 INFO: rcu detected stall in sys_clock_nanosleep 1 682d 682d 0/3 auto-obsoleted due to no activity on 2023/07/17 12:13
upstream INFO: rcu detected stall in sys_clock_nanosleep (2) kernel 1 1285d 1285d 0/28 auto-closed as invalid on 2021/10/22 22:53
linux-5.15 INFO: rcu detected stall in sys_clock_nanosleep (2) 2 309d 382d 0/3 auto-obsoleted due to no activity on 2024/07/04 20:17

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	1-...0: (1 GPs behind) idle=15f/1/0x4000000000000000 softirq=46910/46911 fqs=5242 
	(detected by 0, t=10502 jiffies, g=54797, q=1793)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 14802 Comm: syz-executor Not tainted 5.15.176-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:__run_hrtimer kernel/time/hrtimer.c:1714 [inline]
RIP: 0010:__hrtimer_run_queues+0x6f6/0xcf0 kernel/time/hrtimer.c:1752
Code: 24 10 48 8b 74 24 50 42 0f b6 04 3e 84 c0 48 8b 54 24 18 0f 85 9c 01 00 00 ff 02 42 0f b6 04 3e 84 c0 0f 85 b6 01 00 00 ff 02 <48> 8b 44 24 58 42 80 3c 38 00 74 08 48 89 df e8 d6 e1 5a 00 4c 39
RSP: 0018:ffffc90000dd0d60 EFLAGS: 00000012
RAX: 0000000000000000 RBX: ffff8880b8f2a348 RCX: dffffc0000000000
RDX: ffff8880b8f2a310 RSI: 1ffff110171e5462 RDI: ffff88801fea9b40
RBP: ffffc90000dd0ea8 R08: dffffc0000000000 R09: ffff88801fea9b40
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b8f2a200
R13: ffff8880b8f2a300 R14: ffff88801fea9b40 R15: dffffc0000000000
FS:  0000555560412500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055556e150808 CR3: 0000000077ca9000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline]
 __sysvec_apic_timer_interrupt+0x13b/0x4b0 arch/x86/kernel/apic/apic.c:1114
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
 sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:lock_release+0x20/0x9a0 kernel/locking/lockdep.c:5631
Code: 5e fd ff ff 66 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec 00 01 00 00 49 89 f5 48 89 7c 24 20 <65> 48 8b 04 25 28 00 00 00 48 89 84 24 e0 00 00 00 49 bf 00 00 00
RSP: 0018:ffffc9000344fc20 EFLAGS: 00000282
RAX: ffffffff81b9f5ed RBX: 00007ffd451b9350 RCX: ffff88802c570000
RDX: 0000000000000000 RSI: ffffffff81b9f5e8 RDI: ffff88801746ce28
RBP: ffffc9000344fd60 R08: dffffc0000000000 R09: fffffbfff2131427
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000010
R13: ffffffff81b9f5e8 R14: ffffc9000344fde0 R15: 00007ffd451b9350
 _copy_from_user+0x28/0x170 lib/usercopy.c:14
 copy_from_user include/linux/uaccess.h:192 [inline]
 get_timespec64+0x93/0x270 kernel/time/time.c:787
 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1302 [inline]
 __se_sys_clock_nanosleep+0x1a1/0x3b0 kernel/time/posix-timers.c:1290
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1c88ba95e5
Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 f6 54 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 4f 55 ff ff 48 8b 04 24 48 83 c4 28 f7 d8
RSP: 002b:00007ffd451b9310 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6
RAX: ffffffffffffffda RBX: 000000000000008b RCX: 00007f1c88ba95e5
RDX: 00007ffd451b9350 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007ffd451b93ac R08: 0000000000000000 R09: 0000000000000010
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032
R13: 0000000000143ac0 R14: 00007ffd451b9400 R15: 0000000000000bb8
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/22 19:59 linux-5.15.y 4735586da88e a44b0418 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_nanosleep
* Struck through repros no longer work on HEAD.