syzbot


INFO: rcu detected stall in sys_getsockopt

Status: upstream: reported on 2025/07/16 08:59
Reported-by: syzbot+97bb7f48b714b6c47968@syzkaller.appspotmail.com
First crash: 3d19h, last: 3d19h
Similar bugs (19)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_getsockopt (2) kernel 1 1 2020d 2020d 0/29 closed as invalid on 2020/01/08 05:23
linux-4.19 INFO: rcu detected stall in sys_getsockopt 1 1 1032d 1032d 0/1 auto-obsoleted due to no activity on 2023/01/19 05:52
upstream INFO: rcu detected stall in sys_getsockopt (11) netfilter 1 4 566d 578d 0/29 auto-obsoleted due to no activity on 2024/03/30 17:47
linux-5.15 INFO: rcu detected stall in sys_getsockopt 1 1 585d 585d 0/3 auto-obsoleted due to no activity on 2024/03/21 16:23
linux-5.15 INFO: rcu detected stall in sys_getsockopt (2) 1 2 237d 271d 0/3 auto-obsoleted due to no activity on 2025/03/05 03:25
upstream INFO: rcu detected stall in sys_getsockopt (3) kernel 1 1 2019d 2019d 0/29 closed as invalid on 2020/01/08 05:33
upstream INFO: rcu detected stall in sys_getsockopt (4) kernel 1 3 2019d 2019d 0/29 closed as invalid on 2020/01/09 08:13
upstream INFO: rcu detected stall in sys_getsockopt (6) kvm 1 3 1437d 1505d 0/29 auto-closed as invalid on 2021/11/10 12:58
upstream INFO: rcu detected stall in sys_getsockopt (7) netfilter 1 2 1294d 1344d 0/29 closed as invalid on 2022/02/08 10:10
upstream INFO: rcu detected stall in sys_getsockopt (5) sctp 1 2 1837d 1880d 0/29 auto-closed as invalid on 2020/10/06 19:28
linux-6.1 INFO: rcu detected stall in sys_getsockopt 1 4 502d 660d 0/3 auto-obsoleted due to no activity on 2024/06/12 17:46
upstream INFO: rcu detected stall in sys_getsockopt (10) mm 1 9 697d 779d 0/29 auto-obsoleted due to no activity on 2023/11/20 15:28
linux-5.15 BUG: soft lockup in sys_getsockopt 1 2 24d 45d 0/3 upstream: reported on 2025/06/04 05:20
linux-6.1 INFO: rcu detected stall in sys_getsockopt (2) origin:lts-only 1 C error 2 83d 120d 0/3 upstream: reported C repro on 2025/03/21 07:27
upstream INFO: rcu detected stall in sys_getsockopt (9) kernel 1 6 900d 1056d 0/29 auto-obsoleted due to no activity on 2023/05/01 05:21
upstream INFO: rcu detected stall in sys_getsockopt (8) net 1 2 1185d 1200d 0/29 auto-closed as invalid on 2022/07/21 00:25
upstream INFO: rcu detected stall in sys_getsockopt kernel 1 2 2054d 2054d 0/29 closed as invalid on 2019/12/04 14:04
android-54 BUG: soft lockup in sys_getsockopt 1 1 459d 459d 0/2 auto-obsoleted due to no activity on 2024/07/15 21:19
android-5-15 BUG: soft lockup in sys_getsockopt 1 6 354d 452d 0/2 auto-obsoleted due to no activity on 2024/10/28 21:41

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-...0: (0 ticks this GP) idle=057c/1/0x4000000000000000 softirq=61985/61985 fqs=5245
rcu: 	         hardirqs   softirqs   csw/system
rcu: 	 number:        0          0            0
rcu: 	cputime:        0          0            0   ==> 52510(ms)
rcu: 	(detected by 1, t=10502 jiffies, g=73569, q=1754 ncpus=2)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 12875 Comm: syz-executor Not tainted 6.6.98-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:timerqueue_del+0x5/0x100 lib/timerqueue.c:54
Code: e8 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 a0 6b 26 f7 0f 0b e9 78 fe ff ff 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 55 <41> 57 41 56 41 55 41 54 53 49 89 f6 48 89 fb 49 bd 00 00 00 00 00
RSP: 0018:ffffc90000007d30 EFLAGS: 00000002
RAX: ffffffff8175bbc4 RBX: ffff8880b8e2ba88 RCX: 0000000000010000
RDX: ffff88801a6e3c00 RSI: ffff88805e4b4340 RDI: ffff8880b8e2ba90
RBP: ffffc90000007e90 R08: ffffffff8e4a936f R09: 1ffffffff1c9526d
R10: dffffc0000000000 R11: fffffbfff1c9526e R12: ffff88805e4b4340
R13: dffffc0000000000 R14: ffff8880b8e2b940 R15: 0000000000000001
FS:  000055558d089500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f92cbd7f2d8 CR3: 00000000502dc000 CR4: 00000000003506f0
Call Trace:
 <IRQ>
 __remove_hrtimer kernel/time/hrtimer.c:1146 [inline]
 __run_hrtimer kernel/time/hrtimer.c:1735 [inline]
 __hrtimer_run_queues+0x374/0xc40 kernel/time/hrtimer.c:1819
 hrtimer_interrupt+0x3c9/0x9c0 kernel/time/hrtimer.c:1881
 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:lock_acquire+0x1f2/0x410 kernel/locking/lockdep.c:5758
Code: 00 9c 8f 84 24 80 00 00 00 f6 84 24 81 00 00 00 02 0f 85 f5 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 3c 00 00 00 00 66 43 c7 44 3c 09 00 00 43 c6 44 3c 0b 00
RSP: 0018:ffffc9000443f7a0 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ad739d4172018b00
RDX: 0000000000000000 RSI: ffffffff8aaacac0 RDI: ffffffff8afc7880
RBP: ffffc9000443f8a8 R08: dffffc0000000000 R09: 1ffffffff21b4caa
R10: dffffc0000000000 R11: fffffbfff21b4cab R12: 1ffff92000887f00
R13: ffff88807f0c4420 R14: 0000000000000246 R15: dffffc0000000000
 __might_fault+0xc6/0x120 mm/memory.c:5946
 _copy_to_user+0x2a/0xa0 lib/usercopy.c:36
 copy_to_user include/linux/uaccess.h:191 [inline]
 copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:851 [inline]
 get_entries net/ipv6/netfilter/ip6_tables.c:1039 [inline]
 do_ip6t_get_ctl+0xbf8/0x1150 net/ipv6/netfilter/ip6_tables.c:1677
 nf_getsockopt+0x262/0x280 net/netfilter/nf_sockopt.c:116
 ipv6_getsockopt+0x216/0x2c0 net/ipv6/ipv6_sockglue.c:1499
 do_sock_getsockopt+0x38d/0x660 net/socket.c:2384
 __sys_getsockopt net/socket.c:2413 [inline]
 __do_sys_getsockopt net/socket.c:2423 [inline]
 __se_sys_getsockopt net/socket.c:2420 [inline]
 __x64_sys_getsockopt+0x1d6/0x280 net/socket.c:2420
 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:0x7f92cbb9066a
Code: ff c3 66 0f 1f 44 00 00 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb b8 0f 1f 44 00 00 49 89 ca b8 37 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 06 c3 0f 1f 44 00 00 48 c7 c2 a8 ff ff ff f7
RSP: 002b:00007ffc1919fdc8 EFLAGS: 00000216 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 00007ffc1919fe50 RCX: 00007f92cbb9066a
RDX: 0000000000000041 RSI: 0000000000000029 RDI: 0000000000000003
RBP: 0000000000000003 R08: 00007ffc1919fdec R09: 0079746972756365
R10: 00007ffc1919fe50 R11: 0000000000000216 R12: 00007f92cbd81340
R13: 00007ffc1919fdec R14: 0000000000000000 R15: 00007f92cbd82e40
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/16 08:58 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 sys_getsockopt
* Struck through repros no longer work on HEAD.