syzbot


INFO: rcu detected stall in sys_getsockopt (2)

Status: upstream: reported on 2025/11/22 01:54
Reported-by: syzbot+ccf0c92386c908894de4@syzkaller.appspotmail.com
First crash: 27d, last: 27d
Similar bugs (20)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_getsockopt (2) mm 1 1 2172d 2172d 0/29 closed as invalid on 2020/01/08 05:23
linux-4.19 INFO: rcu detected stall in sys_getsockopt 1 1 1185d 1185d 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 718d 731d 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 737d 737d 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 389d 423d 0/3 auto-obsoleted due to no activity on 2025/03/05 03:25
upstream INFO: rcu detected stall in sys_getsockopt (3) mm 1 1 2172d 2172d 0/29 closed as invalid on 2020/01/08 05:33
upstream INFO: rcu detected stall in sys_getsockopt (4) mm 1 3 2171d 2171d 0/29 closed as invalid on 2020/01/09 08:13
upstream INFO: rcu detected stall in sys_getsockopt (6) kvm 1 3 1589d 1657d 0/29 auto-closed as invalid on 2021/11/10 12:58
linux-6.6 INFO: rcu detected stall in sys_getsockopt 1 1 156d 156d 0/2 auto-obsoleted due to no activity on 2025/10/24 08:59
upstream INFO: rcu detected stall in sys_getsockopt (7) netfilter 1 2 1447d 1496d 0/29 closed as invalid on 2022/02/08 10:10
upstream INFO: rcu detected stall in sys_getsockopt (5) sctp 1 2 1989d 2032d 0/29 auto-closed as invalid on 2020/10/06 19:28
linux-6.1 INFO: rcu detected stall in sys_getsockopt 1 4 654d 812d 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 849d 931d 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 176d 198d 0/3 auto-obsoleted due to no activity on 2025/10/03 23:07
linux-6.1 INFO: rcu detected stall in sys_getsockopt (2) origin:lts-only 1 C error 3 73d 273d 0/3 upstream: reported C repro on 2025/03/21 07:27
upstream INFO: rcu detected stall in sys_getsockopt (9) kernel 1 6 1053d 1208d 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 1337d 1353d 0/29 auto-closed as invalid on 2022/07/21 00:25
upstream INFO: rcu detected stall in sys_getsockopt mm 1 2 2207d 2207d 0/29 closed as invalid on 2019/12/04 14:04
android-54 BUG: soft lockup in sys_getsockopt 1 1 611d 611d 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 506d 605d 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: (1 GPs behind) idle=67c4/1/0x4000000000000000 softirq=52757/52761 fqs=2099
rcu: 	         hardirqs   softirqs   csw/system
rcu: 	 number:        0          0            0
rcu: 	cputime:        0          0            0   ==> 52500(ms)
rcu: 	(detected by 1, t=10505 jiffies, g=63725, q=2664 ncpus=2)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 8468 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:26 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:89 [inline]
RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:131 [inline]
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x8f/0x110 kernel/locking/spinlock.c:194
Code: 83 c7 18 48 8b 75 08 e8 bf 04 ef f6 4c 89 f7 e8 d7 d6 ef f6 f7 c3 00 02 00 00 74 05 e8 ea 7c 13 f7 48 c7 44 24 20 00 00 00 00 <9c> 8f 44 24 20 f6 44 24 21 02 75 4b f7 c3 00 02 00 00 74 01 fb bf
RSP: 0018:ffffc90000007ca0 EFLAGS: 00000046
RAX: 0000000000000001 RBX: 0000000000000806 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8880b8e2b700
RBP: ffffc90000007d30 R08: ffff8880b8e2b703 R09: 1ffff110171c56e0
R10: dffffc0000000000 R11: ffffed10171c56e1 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff8880b8e2b700 R15: 1ffff92000000f94
FS:  0000555584e07500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff32c7b42f8 CR3: 00000000305c8000 CR4: 00000000003526f0
Call Trace:
 <IRQ>
 __run_hrtimer kernel/time/hrtimer.c:1746 [inline]
 __hrtimer_run_queues+0x426/0xc40 kernel/time/hrtimer.c:1814
 hrtimer_interrupt+0x3c9/0x9c0 kernel/time/hrtimer.c:1876
 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_is_held_type+0x13e/0x190 kernel/locking/lockdep.c:5830
Code: 75 40 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 46 41 f7 c5 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 75 3c 89 e8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f
RSP: 0018:ffffc9000331fbf8 EFLAGS: 00000206
RAX: 14d0cb50d1688800 RBX: ffff8880261eda00 RCX: 14d0cb50d1688800
RDX: 0000000000000000 RSI: ffffffff8aaace60 RDI: ffffffff8afc6b00
RBP: 0000000000000000 R08: ffff888020c5c100 R09: 0000000000000000
R10: ffffffff8a6ece00 R11: ffffed1005ea5ad1 R12: dffffc0000000000
R13: 0000000000000246 R14: ffffffff8cd2ffa0 R15: 00000000ffffffff
 lock_is_held include/linux/lockdep.h:288 [inline]
 __might_resched+0xf6/0x610 kernel/sched/core.c:10170
 __might_fault+0x71/0x120 mm/memory.c:5944
 _copy_from_user+0x2a/0xe0 lib/usercopy.c:14
 copy_from_user include/linux/uaccess.h:183 [inline]
 copy_from_sockptr_offset include/linux/sockptr.h:48 [inline]
 copy_from_sockptr include/linux/sockptr.h:59 [inline]
 do_sock_getsockopt+0x17e/0x440 net/socket.c:2372
 __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:0x7ff32c59148a
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:00007fff1332a6e8 EFLAGS: 00000212 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 00007fff1332a770 RCX: 00007ff32c59148a
RDX: 0000000000000041 RSI: 0000000000000029 RDI: 0000000000000003
RBP: 0000000000000003 R08: 00007fff1332a70c R09: 0079746972756365
R10: 00007fff1332a770 R11: 0000000000000212 R12: 00007ff32c7b77a0
R13: 00007fff1332a70c R14: 0000000000000000 R15: 00007ff32c7b7e60
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/11/22 01:54 linux-6.6.y 0a805b6ea8cd 4fb8ef37 .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.