INFO: rcu detected stall in sys_getsockopt (3)

Status: upstream: reported on 2026/08/14 04:57
Reported-by: syzbot+87a8017a579afdd24a98@syzkaller.appspotmail.com
First crash: 97d, last: 24d
▶ ▼ Similar bugs (25)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_getsockopt (12) mm 1 syz, C error error 157 46d 746d 0/29 closed as invalid on 2026/10/06 01:52
upstream INFO: rcu detected stall in sys_getsockopt (2) mm 1 1 2507d 2507d 0/29 closed as invalid on 2020/01/08 05:23
linux-4.19 INFO: rcu detected stall in sys_getsockopt 1 1 1520d 1520d 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 1054d 1066d 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 1073d 1073d 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 724d 759d 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 2507d 2507d 0/29 closed as invalid on 2020/01/08 05:33
linux-6.6 INFO: rcu detected stall in sys_getsockopt (2) 1 1 362d 362d 0/2 auto-obsoleted due to no activity on 2026/03/02 01:54
upstream INFO: rcu detected stall in sys_getsockopt (4) mm 1 3 2507d 2507d 0/29 closed as invalid on 2020/01/09 08:13
upstream INFO: rcu detected stall in sys_getsockopt (6) kvm 1 3 1925d 1993d 0/29 auto-closed as invalid on 2021/11/10 12:58
linux-6.6 INFO: rcu detected stall in sys_getsockopt 1 1 491d 491d 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 1782d 1831d 0/29 closed as invalid on 2022/02/08 10:10
upstream INFO: rcu detected stall in sys_getsockopt (5) sctp 1 2 2324d 2367d 0/29 auto-closed as invalid on 2020/10/06 19:28
linux-6.1 INFO: rcu detected stall in sys_getsockopt 1 4 990d 1147d 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 1185d 1266d 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 511d 533d 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 syz, C error 6 92d 608d 0/3 upstream: reported C repro on 2025/03/21 07:27
upstream INFO: rcu detected stall in sys_getsockopt (9) kernel 1 6 1388d 1544d 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 1672d 1688d 0/29 auto-closed as invalid on 2022/07/21 00:25
linux-6.6 INFO: rcu detected stall in sys_getsockopt (3) 1 syz 2 54d 54d 0/2 upstream: reported syz repro on 2026/09/26 01:51
upstream INFO: rcu detected stall in sys_getsockopt mm 1 2 2542d 2542d 0/29 closed as invalid on 2019/12/04 14:04
android-5-10 BUG: soft lockup in sys_getsockopt (2) 1 1 11d 11d 0/2 premoderation: reported on 2026/11/08 07:28
android-5-10 BUG: soft lockup in sys_getsockopt 1 1 132d 132d 0/2 auto-obsoleted due to no activity on 2026/10/08 13:26
android-54 BUG: soft lockup in sys_getsockopt 1 1 946d 946d 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 841d 940d 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-....: (1 GPs behind) idle=f3d/1/0x4000000000000002 softirq=46858/46859 fqs=5246 
	(detected by 1, t=10502 jiffies, g=63873, q=1936)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 19916 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
RIP: 0010:__lock_acquire+0x129f/0x7d40 kernel/locking/lockdep.c:5116
Code: 2f 03 00 00 31 db 48 83 c3 40 48 89 d8 48 c1 e8 03 42 80 3c 00 00 74 12 48 89 df e8 2b 62 61 00 49 b8 00 00 00 00 00 fc ff df <48> 83 3b 00 0f 84 9c 06 00 00 48 8b 44 24 48 42 0f b6 04 00 84 c0
RSP: 0018:ffffc900000070a0 EFLAGS: 00000046
RAX: 1ffffffff2135e1a RBX: ffffffff909af0d0 RCX: ffffffff815d0494
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff910460c0
RBP: ffffc900000072e8 R08: dffffc0000000000 R09: 1ffffffff2208c18
R10: dffffc0000000000 R11: fffffbfff2208c19 R12: 00000000317fc64f
R13: ffff888027669dc0 R14: 000000004fe2bad8 R15: ffff88802766a920
FS:  00005555944c4500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007faca851a2f8 CR3: 0000000032734000 CR4: 00000000003506f0
DR0: 0000200000000300 DR1: 0000200000000300 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 lock_acquire+0x19f/0x400 kernel/locking/lockdep.c:5737
 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:313
 rcu_read_lock include/linux/rcupdate.h:740 [inline]
 __perf_event_output kernel/events/core.c:7810 [inline]
 perf_event_output_forward+0xbc/0x2e0 kernel/events/core.c:7832
 __perf_event_overflow+0x35f/0x550 kernel/events/core.c:9525
 perf_swevent_overflow kernel/events/core.c:9601 [inline]
 perf_swevent_event+0x4b8/0x540 kernel/events/core.c:9639
 perf_tp_event+0x324/0xbe0 kernel/events/core.c:10057
 perf_trace_run_bpf_submit+0xf3/0x1c0 kernel/events/core.c:10031
 perf_trace_preemptirq_template+0x2aa/0x360 include/trace/events/preemptirq.h:14
 trace_irq_enable_rcuidle+0x108/0x180 include/trace/events/preemptirq.h:40
 trace_hardirqs_on+0x57/0x80 kernel/trace/trace_preemptirq.c:44
 asm_sysvec_irq_work+0x16/0x20 arch/x86/include/asm/idtentry.h:713
RIP: 0010:rcu_read_unlock_special+0x7f/0x4a0 kernel/rcu/tree_plugin.h:674
Code: eb 03 48 b8 f1 f1 f1 f1 f8 f2 f2 f2 4a 89 04 2b 42 c7 44 2b 08 f8 f3 f3 f3 65 44 8b 35 82 fc 9c 7e 41 f7 c6 00 00 f0 00 74 40 <48> c7 44 24 20 0e 36 e0 45 4a c7 04 2b 00 00 00 00 42 c7 44 2b 08
RSP: 0018:ffffc90000007b00 EFLAGS: 00000206
RAX: 9f1eb91fde948900 RBX: 1ffff92000000f64 RCX: 9f1eb91fde948900
RDX: dffffc0000000000 RSI: ffffffff8a2b2b60 RDI: ffffffff8a7a4bc0
RBP: ffffc90000007bd8 R08: ffffffff91046157 R09: 1ffffffff2208c2a
R10: dffffc0000000000 R11: fffffbfff2208c2b R12: ffffffff8d123400
R13: dffffc0000000000 R14: 0000000000000246 R15: 0000000000000001
 __rcu_read_unlock+0x78/0xd0 kernel/rcu/tree_plugin.h:422
 rcu_read_unlock include/linux/rcupdate.h:772 [inline]
 ieee80211_iterate_active_interfaces_atomic+0x132/0x140 net/mac80211/util.c:831
 mac80211_hwsim_beacon+0x9b/0x180 drivers/net/wireless/mac80211_hwsim.c:1865
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x4ea/0xb60 kernel/time/hrtimer.c:1749
 hrtimer_run_softirq+0x176/0x240 kernel/time/hrtimer.c:1766
 handle_softirqs+0x336/0x830 kernel/softirq.c:576
 __do_softirq kernel/softirq.c:610 [inline]
 invoke_softirq kernel/softirq.c:450 [inline]
 __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
 sysvec_apic_timer_interrupt+0xa0/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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xbc/0x120 kernel/locking/spinlock.c:194
Code: c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f7 44 24 20 00 02 00 00 41 c6 04 07 f8 75 4b f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> af 17 80 f7 65 8b 05 30 2e 30 76 85 c0 74 3c 48 c7 04 24 0e 36
RSP: 0018:ffffc90003c572e0 EFLAGS: 00000206
RAX: dffffc0000000004 RBX: 0000000000000a06 RCX: 9f1eb91fde948900
RDX: dffffc0000000000 RSI: ffffffff8a2b2b60 RDI: 0000000000000001
RBP: ffffc90003c57378 R08: ffffffff91046157 R09: 1ffffffff2208c2a
R10: dffffc0000000000 R11: fffffbfff2208c2b R12: dffffc0000000000
R13: ffff88802406f0c0 R14: ffffffff9733ff50 R15: 1ffff9200078ae5c
 __debug_check_no_obj_freed lib/debugobjects.c:999 [inline]
 debug_check_no_obj_freed+0x471/0x520 lib/debugobjects.c:1020
 slab_free_hook mm/slub.c:1685 [inline]
 slab_free_freelist_hook+0x8b/0x170 mm/slub.c:1736
 slab_free mm/slub.c:3504 [inline]
 kfree+0xef/0x2a0 mm/slub.c:4564
 copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:887 [inline]
 get_entries net/ipv6/netfilter/ip6_tables.c:1044 [inline]
 do_ip6t_get_ctl+0xe4b/0x1130 net/ipv6/netfilter/ip6_tables.c:1681
 nf_getsockopt+0x25e/0x280 net/netfilter/nf_sockopt.c:116
 ipv6_getsockopt+0x43f/0x2390 net/ipv6/ipv6_sockglue.c:1492
 tcp_getsockopt+0x209/0x2530 net/ipv4/tcp.c:4323
 __sys_getsockopt+0x1b0/0x230 net/socket.c:2257
 __do_sys_getsockopt net/socket.c:2272 [inline]
 __se_sys_getsockopt net/socket.c:2269 [inline]
 __x64_sys_getsockopt+0xb1/0xc0 net/socket.c:2269
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7faca82c4d2a
Code: 48 83 ec 10 89 d2 48 63 ff 45 31 c9 6a 2a 45 31 c0 31 c9 e8 d8 99 fb ff 48 83 c4 18 c3 0f 1f 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 e8 ff ff ff f7
RSP: 002b:00007ffef365ae28 EFLAGS: 00000212 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 00007ffef365aeb0 RCX: 00007faca82c4d2a
RDX: 0000000000000041 RSI: 0000000000000029 RDI: 0000000000000003
RBP: 0000000000000003 R08: 00007ffef365ae4c R09: 0000000000000000
R10: 00007ffef365aeb0 R11: 0000000000000212 R12: 00007faca851a900
R13: 00007ffef365ae4c R14: 0000000000000000 R15: 00007faca851afc0
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/25 19:57 linux-5.15.y 792fbe1537d8 1d9ca40b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_getsockopt
2026/10/16 15:00 linux-5.15.y 792fbe1537d8 4c840a2f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_getsockopt
2026/08/14 04:57 linux-5.15.y aabd761612db b13552fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_getsockopt
* Struck through repros no longer work on HEAD.