INFO: rcu detected stall in tcp_setsockopt (4)

Status: upstream: reported on 2026/11/04 16:02
Reported-by: syzbot+9ddc87ddf71f3fe0e5d1@syzkaller.appspotmail.com
First crash: 11d, last: 11d
▶ ▼ Similar bugs (6)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: rcu detected stall in tcp_setsockopt 1 1 871d 871d 0/3 auto-obsoleted due to no activity on 2024/10/05 09:05
linux-5.15 INFO: rcu detected stall in tcp_setsockopt (2) 1 2 375d 387d 0/3 auto-obsoleted due to no activity on 2026/02/13 03:22
upstream INFO: rcu detected stall in tcp_setsockopt netfilter 1 syz error error 4 593d 1174d 0/29 auto-obsoleted due to no activity on 2025/07/30 15:19
linux-5.15 INFO: rcu detected stall in tcp_setsockopt (3) 1 2 153d 174d 0/3 auto-obsoleted due to no activity on 2026/09/22 21:06
android-49 INFO: rcu detected stall in tcp_setsockopt 1 2 2766d 2772d 0/3 auto-closed as invalid on 2019/10/17 00:42
android-5-15 BUG: soft lockup in tcp_setsockopt 1 1 926d 926d 0/2 auto-obsoleted due to no activity on 2024/08/01 04:54

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
	(detected by 1, t=10502 jiffies, g=64665, q=199)
rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4294984663-4294974161), jiffies_till_next_fqs=1, root ->qsmask 0x0
rcu: rcu_preempt kthread starved for 10502 jiffies! g64665 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:28080 pid:   15 ppid:     2 flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5049 [inline]
 __schedule+0x11c3/0x4350 kernel/sched/core.c:6395
 schedule+0x11b/0x1e0 kernel/sched/core.c:6478
 schedule_timeout+0x184/0x2d0 kernel/time/timer.c:2117
 rcu_gp_fqs_loop+0x2be/0x11f0 kernel/rcu/tree.c:1972
 rcu_gp_kthread+0x9a/0x370 kernel/rcu/tree.c:2145
 kthread+0x42e/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </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: 12942 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+0xa2/0x7d40 kernel/locking/lockdep.c:4973
Code: f1 f1 f1 f1 f8 f8 f8 f8 4a 89 04 01 48 b8 f8 f8 f8 f2 f2 f2 f2 f2 4a 89 44 01 08 48 b8 f8 f8 f8 f8 f8 f8 f8 f3 4a 89 44 01 10 <48> 89 8c 24 d0 00 00 00 42 c7 44 01 18 f3 f3 f3 f3 65 48 8b 1d b5
RSP: 0018:ffffc90000007920 EFLAGS: 00000806
RAX: f3f8f8f8f8f8f8f8 RBX: 0000000000000000 RCX: 1ffff92000000f48
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8880b8e2a258
RBP: ffffc90000007b68 R08: dffffc0000000000 R09: 0000000000000001
R10: dffffc0000000000 R11: fffffbfff1cda646 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001
FS:  0000555579590500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa24895e000 CR3: 000000007d3a5000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 lock_acquire+0x19f/0x400 kernel/locking/lockdep.c:5737
 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:128 [inline]
 _raw_spin_lock_irq+0xab/0xf0 kernel/locking/spinlock.c:170
 __run_hrtimer kernel/time/hrtimer.c:1689 [inline]
 __hrtimer_run_queues+0x59a/0xb60 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x397/0x8b0 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline]
 __sysvec_apic_timer_interrupt+0x137/0x4a0 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:unwind_next_frame+0xe9c/0x1cf0 arch/x86/kernel/unwind_orc.c:585
Code: 28 84 c0 0f 85 ad 0b 00 00 41 c6 07 01 48 8b 44 24 48 0f b6 04 28 84 c0 0f 85 b7 0b 00 00 48 8d 43 35 c6 00 01 4c 8b 7c 24 08 <41> 0f b6 44 2d 00 84 c0 0f 85 29 09 00 00 41 0f b6 04 2c 84 c0 0f
RSP: 0018:ffffc900053eee50 EFLAGS: 00000202
RAX: ffffc900053eef38 RBX: ffffc900053eeee8 RCX: 0000000000000000
RDX: 0000000000000010 RSI: 0000000000000000 RDI: ffffc900053eef48
RBP: dffffc0000000000 R08: ffffc900053ef708 R09: ffffc900053eef38
R10: dffffc0000000000 R11: fffff52000a7dde9 R12: 1ffffffff1ed2955
R13: 1ffffffff1ed2955 R14: ffffc900053eef1d R15: ffffffff8f694aa8
 arch_stack_walk+0x10c/0x140 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0xa6/0xf0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:38 [inline]
 kasan_set_track+0x4b/0x70 mm/kasan/common.c:46
 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360
 ____kasan_slab_free+0xd5/0x110 mm/kasan/common.c:366
 kasan_slab_free include/linux/kasan.h:230 [inline]
 slab_free_hook mm/slub.c:1710 [inline]
 slab_free_freelist_hook+0xec/0x170 mm/slub.c:1736
 slab_free mm/slub.c:3504 [inline]
 kfree+0xef/0x2a0 mm/slub.c:4564
 xt_free_table_info+0xce/0x190 net/netfilter/x_tables.c:1231
 __do_replace+0x814/0xa00 net/ipv6/netfilter/ip6_tables.c:1106
 do_replace net/ipv6/netfilter/ip6_tables.c:1163 [inline]
 do_ip6t_set_ctl+0xaa4/0xd90 net/ipv6/netfilter/ip6_tables.c:1648
 nf_setsockopt+0x25f/0x280 net/netfilter/nf_sockopt.c:101
 ipv6_setsockopt+0x20ba/0x3cc0 net/ipv6/ipv6_sockglue.c:1014
 tcp_setsockopt+0x229/0x1e60 net/ipv4/tcp.c:3722
 __sys_setsockopt+0x2bf/0x3d0 net/socket.c:2213
 __do_sys_setsockopt net/socket.c:2224 [inline]
 __se_sys_setsockopt net/socket.c:2221 [inline]
 __x64_sys_setsockopt+0xb1/0xc0 net/socket.c:2221
 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:0x7f9938e7335a
Code: 48 83 ec 10 48 63 c9 48 63 ff 45 89 c9 6a 2c e8 6c 99 fb ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 49 89 ca b8 36 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:00007ffd65ceec08 EFLAGS: 00000206 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007ffd65ceec90 RCX: 00007f9938e7335a
RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003
RBP: 0000000000000003 R08: 00000000000003b8 R09: 0000000000000000
R10: 00007f99390c9960 R11: 0000000000000206 R12: 00007f99390c9900
R13: 00007ffd65ceec2c R14: 0000000000000000 R15: 00007f99390c9fc0
 </TASK>
vkms_vblank_simulate: vblank timer overrun

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/04 16:01 linux-5.15.y 700e62ea909a 73438ed0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in tcp_setsockopt
* Struck through repros no longer work on HEAD.