syzbot


BUG: soft lockup in sock_close

Status: upstream: reported C repro on 2024/12/23 18:51
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+bb721a1495edb233298b@syzkaller.appspotmail.com
First crash: 412d, last: 7d12h
Fix bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2026/02/02 linux-6.1.y (ToT) cd9b81672742 C [report] INFO: rcu detected stall in corrupted
2026/02/02 upstream (ToT) 18f7fcd5e69a C Didn't crash
Similar bugs (15)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 BUG: soft lockup in sock_close 1 C 188 2d05h 686d 0/2 upstream: reported C repro on 2024/03/25 07:28
linux-5.15 INFO: rcu detected stall in sock_close (3) origin:upstream 1 C error 11 16d 630d 0/3 upstream: reported C repro on 2024/05/20 00:06
android-5-15 BUG: soft lockup in sock_close origin:downstream 1 C done 374 10d 684d 0/2 upstream: reported C repro on 2024/03/26 23:21
upstream INFO: rcu detected stall in sock_close (5) tipc 1 syz error 46 15d 207d 0/29 upstream: reported syz repro on 2025/07/16 17:01
android-6-1 BUG: soft lockup in sock_close origin:downstream 1 C error 11 3d22h 684d 0/2 upstream: reported C repro on 2024/03/27 04:09
linux-5.15 INFO: rcu detected stall in sock_close (2) 1 1 746d 746d 0/3 auto-obsoleted due to no activity on 2024/05/03 14:38
upstream INFO: rcu detected stall in sock_close (4) net 1 2 836d 874d 0/29 auto-obsoleted due to no activity on 2024/01/24 15:51
linux-6.1 INFO: rcu detected stall in sock_close (3) 1 1 637d 637d 0/3 auto-obsoleted due to no activity on 2024/08/21 03:02
linux-6.1 INFO: rcu detected stall in sock_close origin:upstream 1 C done 1 945d 945d 3/3 fixed on 2023/09/23 10:26
linux-6.1 INFO: rcu detected stall in sock_close (2) 1 1 739d 739d 0/3 auto-obsoleted due to no activity on 2024/05/11 05:25
upstream INFO: rcu detected stall in sock_close (3) tipc 1 C done done 5 1546d 2041d 0/29 closed as invalid on 2022/02/08 10:42
linux-5.15 INFO: rcu detected stall in sock_close 1 C error 2 924d 978d 0/3 auto-obsoleted due to no activity on 2023/11/07 13:02
linux-6.6 INFO: rcu detected stall in sock_close 1 syz error 2 84d 167d 0/2 upstream: reported syz repro on 2025/08/25 14:21
upstream INFO: rcu detected stall in sock_close cgroups mm 1 6 2259d 2259d 0/29 closed as invalid on 2019/12/04 14:04
upstream INFO: rcu detected stall in sock_close (2) cgroups mm 1 1 2224d 2223d 0/29 closed as invalid on 2020/01/09 08:13
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2026/02/02 05:15 1m fix candidate upstream error job log
2025/03/07 06:02 19m bisect fix linux-6.1.y error job log

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-.... } 2664 jiffies s: 11101 root: 0x1/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 6165 Comm: syz.1.1656 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:__pvclock_read_cycles arch/x86/include/asm/pvclock.h:84 [inline]
RIP: 0010:pvclock_clocksource_read+0x11d/0x760 arch/x86/kernel/pvclock.c:76
Code: 00 42 0f b6 0c 21 84 c9 0f 85 a6 01 00 00 48 8b 8c 24 88 00 00 00 42 0f b6 0c 21 84 c9 0f 85 e9 01 00 00 48 c1 e5 20 48 09 c5 <49> 2b 28 48 8b 84 24 80 00 00 00 42 0f b6 04 20 84 c0 0f 85 26 02
RSP: 0018:ffffc90000007800 EFLAGS: 00000006
RAX: 00000000e3aefe93 RBX: 0000000000000006 RCX: 0000000000000000
RDX: 0000000000000051 RSI: ffffffff8fa0801c RDI: ffffffff8fa08000
RBP: 00000051e3aefe93 R08: ffffffff8fa08008 R09: ffffffff8fa08018
R10: ffffffff8fa08010 R11: ffffffff8fa08003 R12: dffffc0000000000
R13: dffffc0000000000 R14: 1ffffffff1f41000 R15: ffffffff8c64f980
FS:  000055558cd1a500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd7671de2f8 CR3: 0000000025924000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 kvm_clock_read arch/x86/kernel/kvmclock.c:79 [inline]
 kvm_sched_clock_read+0x14/0x40 arch/x86/kernel/kvmclock.c:91
 sched_clock_cpu+0x6e/0x260 kernel/sched/clock.c:369
 irqtime_account_irq+0x6a/0x1b0 kernel/sched/cputime.c:60
 instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline]
 sysvec_irq_work+0x45/0xc0 arch/x86/kernel/irq_work.c:17
 asm_sysvec_irq_work+0x16/0x20 arch/x86/include/asm/idtentry.h:728
RIP: 0010:rcu_read_unlock_special+0x7f/0x510 kernel/rcu/tree_plugin.h:685
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 92 30 95 7e 41 f7 c6 00 00 f0 00 74 40 <48> c7 44 24 40 0e 36 e0 45 4a c7 04 2b 00 00 00 00 42 c7 44 2b 08
RSP: 0018:ffffc90000007aa0 EFLAGS: 00000206
RAX: 23d9c664f6e94300 RBX: 1ffff92000000f5c RCX: 23d9c664f6e94300
RDX: dffffc0000000000 RSI: ffffffff8a8c1220 RDI: ffffffff8adf0c20
RBP: ffffc90000007b90 R08: ffffffff90af32e7 R09: 1ffffffff215e65c
R10: dffffc0000000000 R11: fffffbfff215e65d R12: 0000000000000246
R13: dffffc0000000000 R14: ffff8880b8e3b900 R15: 0000000000000001
 __rcu_read_unlock+0x78/0xd0 kernel/rcu/tree_plugin.h:426
 rcu_read_unlock include/linux/rcupdate.h:823 [inline]
 ieee80211_iterate_active_interfaces_atomic+0x156/0x170 net/mac80211/util.c:826
 mac80211_hwsim_beacon+0xb7/0x1b0 drivers/net/wireless/mac80211_hwsim.c:2147
 __run_hrtimer kernel/time/hrtimer.c:1747 [inline]
 __hrtimer_run_queues+0x560/0xd70 kernel/time/hrtimer.c:1811
 hrtimer_run_softirq+0x183/0x2a0 kernel/time/hrtimer.c:1828
 handle_softirqs+0x2a1/0x930 kernel/softirq.c:596
 __do_softirq kernel/softirq.c:630 [inline]
 invoke_softirq kernel/softirq.c:470 [inline]
 __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:679
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:691
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
 sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [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> 1f 7e 22 f7 65 8b 05 e0 01 cc 75 85 c0 74 3c 48 c7 04 24 0e 36
RSP: 0018:ffffc90006107b00 EFLAGS: 00000206
RAX: dffffc0000000004 RBX: 0000000000000a06 RCX: 23d9c664f6e94300
RDX: dffffc0000000000 RSI: ffffffff8a8c1220 RDI: 0000000000000001
RBP: ffffc90006107b80 R08: ffffffff90af32e7 R09: 1ffffffff215e65c
R10: dffffc0000000000 R11: fffffbfff215e65d R12: dffffc0000000000
R13: ffff8880777533c0 R14: ffffffff96e507e8 R15: 1ffff92000c20f60
 __debug_check_no_obj_freed lib/debugobjects.c:988 [inline]
 debug_check_no_obj_freed+0x515/0x530 lib/debugobjects.c:1009
 slab_free_hook mm/slub.c:1704 [inline]
 slab_free_freelist_hook+0xd2/0x1a0 mm/slub.c:1755
 slab_free mm/slub.c:3687 [inline]
 kmem_cache_free+0xf7/0x290 mm/slub.c:3709
 sk_prot_free net/core/sock.c:2089 [inline]
 __sk_destruct+0x4ab/0x650 net/core/sock.c:2177
 pn_socket_release+0x91/0xb0 net/phonet/socket.c:34
 __sock_release net/socket.c:654 [inline]
 sock_close+0xd5/0x240 net/socket.c:1399
 __fput+0x22c/0x920 fs/file_table.c:320
 task_work_run+0x1d0/0x260 kernel/task_work.c:203
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177
 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
 syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303
 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f9725f9aeb9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffcdf14f208 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007ffcdf14f2f0 RCX: 00007f9725f9aeb9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 000000000001f895 R08: 0000000000000001 R09: 0000000000000000
R10: 0000001b2e220000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9726215fac R14: 00007f9726215fa8 R15: 00007f9726215fa0
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/02/01 23:46 linux-6.1.y cd9b81672742 6b8752f2 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in sock_close
2024/12/23 18:50 linux-6.1.y 29f02ec58a94 b4fbdbd4 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: soft lockup in sock_close
2026/01/27 17:55 linux-6.1.y cd9b81672742 9a514c2f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in sock_close
2025/11/10 17:24 linux-6.1.y f6e38ae624cf 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in sock_close
* Struck through repros no longer work on HEAD.