INFO: rcu detected stall in sys_socket

Status: upstream: reported on 2025/07/12 12:18
Reported-by: syzbot+3a18ae63a3331d652199@syzkaller.appspotmail.com
First crash: 452d, last: 10d
▶ ▼ Similar bugs (16)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_socket (4) fs 1 1 1988d 1988d 0/29 auto-closed as invalid on 2021/07/27 17:27
linux-5.15 INFO: rcu detected stall in sys_socket 1 1 1100d 1100d 0/3 auto-obsoleted due to no activity on 2024/01/11 06:48
upstream INFO: rcu detected stall in sys_socket (5) net 1 2 1826d 1851d 0/29 auto-closed as invalid on 2022/01/06 01:08
upstream INFO: rcu detected stall in sys_socket mm 1 11 2499d 2500d 0/29 closed as invalid on 2019/12/04 14:04
linux-4.19 INFO: rcu detected stall in sys_socket 1 1 1629d 1629d 0/1 auto-closed as invalid on 2022/08/20 07:08
upstream INFO: rcu detected stall in sys_socket (10) mm 1 syz, C done 358 3h51m 1042d 0/29 upstream: reported C repro on 2023/11/30 15:24
linux-6.1 INFO: rcu detected stall in sys_socket 1 2 793d 794d 0/3 auto-obsoleted due to no activity on 2024/11/13 04:32
linux-6.1 INFO: rcu detected stall in sys_socket (3) origin:lts-only 1 syz, C inconclusive 136 5d10h 394d 0/3 upstream: reported C repro on 2025/09/09 01:58
upstream INFO: rcu detected stall in sys_socket (6) cgroups mm 1 2 1485d 1529d 0/29 auto-obsoleted due to no activity on 2022/12/12 22:48
upstream INFO: rcu detected stall in sys_socket (7) kernel 1 2 1344d 1376d 0/29 auto-obsoleted due to no activity on 2023/05/02 14:50
linux-6.1 INFO: rcu detected stall in sys_socket (2) 1 3 583d 637d 0/3 auto-obsoleted due to no activity on 2025/06/11 16:02
upstream INFO: rcu detected stall in sys_socket (9) mm kasan 1 2 1161d 1171d 0/29 closed as invalid on 2023/09/07 14:25
upstream INFO: rcu detected stall in sys_socket (2) mm 1 3 2465d 2465d 0/29 closed as invalid on 2020/01/08 05:23
linux-5.15 INFO: rcu detected stall in sys_socket (2) origin:upstream 1 syz, C error 122 19h42m 949d 0/3 upstream: reported C repro on 2024/03/02 17:55
upstream INFO: rcu detected stall in sys_socket (3) mm 1 4 2464d 2464d 0/29 closed as invalid on 2020/01/09 08:13
android-5-15 BUG: soft lockup in sys_socket 1 syz, C error 26 761d 910d 0/2 auto-obsoleted due to no activity on 2024/11/29 22:24

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	1-....: (1 GPs behind) idle=e49c/1/0x4000000000000000 softirq=101772/101773 fqs=2821
rcu: 	         hardirqs   softirqs   csw/system
rcu: 	 number:   645968          0            0
rcu: 	cputime:     7666      16081           19   ==> 23750(ms)
rcu: 	(t=10500 jiffies g=128941 q=803 ncpus=2)
CPU: 1 PID: 24195 Comm: syz.1.4595 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:stack_trace_consume_entry+0x2c/0x270 kernel/stacktrace.c:86
Code: 1e fa 55 41 57 41 56 41 55 41 54 53 48 83 ec 18 48 ba 00 00 00 00 00 fc ff df 4c 8d 47 10 4c 89 c5 48 c1 ed 03 0f b6 44 15 00 <84> c0 0f 85 04 01 00 00 44 8b 4f 10 4c 8d 77 08 4d 89 f5 49 c1 ed
RSP: 0018:ffffc900001efef8 EFLAGS: 00000a02
RAX: 0000000000000000 RBX: ffffc900001f0000 RCX: ffff888068a91e00
RDX: dffffc0000000000 RSI: ffffffff81dff2ac RDI: ffffc900001f0000
RBP: 1ffff9200003e002 R08: ffffc900001f0010 R09: 0000000000000003
R10: 0000000000000004 R11: 0000000000000100 R12: ffffffff81dff2ac
R13: 00000000000000f0 R14: ffffffff81762710 R15: ffffc900001eff48
FS:  00007fdc788c16c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdc788a0d58 CR3: 0000000077a36000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000200000000300
DR3: 0000200000000300 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 arch_stack_walk+0x138/0x190 arch/x86/kernel/stacktrace.c:27
 stack_trace_save+0xaa/0x100 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:46 [inline]
 kasan_set_track+0x4e/0x70 mm/kasan/common.c:53
 __kasan_slab_alloc+0x6c/0x80 mm/kasan/common.c:329
 kasan_slab_alloc include/linux/kasan.h:188 [inline]
 slab_post_alloc_hook+0x6a/0x4d0 mm/slab.h:770
 slab_alloc_node mm/slub.c:3495 [inline]
 slab_alloc mm/slub.c:3503 [inline]
 __kmem_cache_alloc_lru mm/slub.c:3510 [inline]
 kmem_cache_alloc+0x17e/0x2c0 mm/slub.c:3519
 skb_clone+0x1eb/0x370 net/core/skbuff.c:1915
 dev_queue_xmit_nit+0x23f/0xba0 net/core/dev.c:2358
 xmit_one net/core/dev.c:3645 [inline]
 dev_hard_start_xmit+0x150/0x790 net/core/dev.c:3665
 __dev_queue_xmit+0x1be8/0x37e0 net/core/dev.c:4478
 neigh_output include/net/neighbour.h:547 [inline]
 ip6_finish_output2+0xf7a/0x1690 net/ipv6/ip6_output.c:143
 dst_output include/net/dst.h:470 [inline]
 NF_HOOK include/linux/netfilter.h:304 [inline]
 ndisc_send_skb+0xbb9/0x1480 net/ipv6/ndisc.c:513
 addrconf_rs_timer+0x36b/0x640 net/ipv6/addrconf.c:4036
 call_timer_fn+0x189/0x540 kernel/time/timer.c:1701
 expire_timers kernel/time/timer.c:1752 [inline]
 __run_timers+0x570/0x810 kernel/time/timer.c:2023
 run_timer_softirq+0x67/0xf0 kernel/time/timer.c:2036
 handle_softirqs+0x27d/0x820 kernel/softirq.c:578
 __do_softirq kernel/softirq.c:612 [inline]
 invoke_softirq kernel/softirq.c:452 [inline]
 __irq_exit_rcu+0xd3/0x190 kernel/softirq.c:661
 irq_exit_rcu+0x9/0x20 kernel/softirq.c:673
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline]
 sysvec_apic_timer_interrupt+0xa4/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:finish_task_switch+0x267/0x8f0 kernel/sched/core.c:5256
Code: 33 09 85 c0 0f 84 30 01 00 00 48 85 db 0f 85 4f 01 00 00 0f 1f 44 00 00 4c 89 e7 e8 53 28 3d 09 e8 0e 23 30 00 fb 4c 8b 65 b8 <49> 8d bc 24 00 16 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0
RSP: 0018:ffffc90005517640 EFLAGS: 00000286
RAX: 57e3fa1720a9ba00 RBX: 0000000000000000 RCX: 57e3fa1720a9ba00
RDX: dffffc0000000000 RSI: ffffffff8acacce0 RDI: ffffffff8b1d3ba0
RBP: ffffc90005517690 R08: ffffffff911eb52f R09: 1ffffffff223d6a5
R10: dffffc0000000000 R11: fffffbfff223d6a6 R12: ffff888068a91e00
R13: 1ffff110171e79a1 R14: dffffc0000000000 R15: ffff8880b8f3cd08
 context_switch kernel/sched/core.c:5385 [inline]
 __schedule+0x15b6/0x4660 kernel/sched/core.c:6701
 preempt_schedule_common+0x82/0xc0 kernel/sched/core.c:6868
 preempt_schedule+0xc0/0xd0 kernel/sched/core.c:6892
 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk_64.S:45
 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
 _raw_spin_unlock_irqrestore+0x111/0x120 kernel/locking/spinlock.c:194
 __debug_check_no_obj_freed lib/debugobjects.c:1054 [inline]
 debug_check_no_obj_freed+0x47b/0x520 lib/debugobjects.c:1075
 free_pages_prepare mm/page_alloc.c:1188 [inline]
 free_unref_page_prepare+0x1ed/0x8f0 mm/page_alloc.c:2366
 free_unref_page+0x32/0x2e0 mm/page_alloc.c:2459
 discard_slab mm/slub.c:2127 [inline]
 __unfreeze_partials+0x1cf/0x210 mm/slub.c:2667
 put_cpu_partial+0x17c/0x250 mm/slub.c:2743
 __slab_free+0x319/0x400 mm/slub.c:3700
 qlink_free mm/kasan/quarantine.c:166 [inline]
 qlist_free_all+0x75/0xd0 mm/kasan/quarantine.c:185
 kasan_quarantine_reduce+0x143/0x160 mm/kasan/quarantine.c:292
 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:306
 kasan_slab_alloc include/linux/kasan.h:188 [inline]
 slab_post_alloc_hook+0x6a/0x4d0 mm/slab.h:770
 slab_alloc_node mm/slub.c:3495 [inline]
 slab_alloc mm/slub.c:3503 [inline]
 __kmem_cache_alloc_lru mm/slub.c:3510 [inline]
 kmem_cache_alloc_lru+0x175/0x2b0 mm/slub.c:3526
 alloc_inode_sb include/linux/fs.h:2976 [inline]
 sock_alloc_inode+0x28/0xc0 net/socket.c:308
 alloc_inode fs/inode.c:261 [inline]
 new_inode_pseudo+0x63/0x1d0 fs/inode.c:1049
 sock_alloc net/socket.c:634 [inline]
 __sock_create+0x12d/0x940 net/socket.c:1535
 sock_create net/socket.c:1627 [inline]
 __sys_socket_create net/socket.c:1664 [inline]
 __sys_socket+0xd7/0x1b0 net/socket.c:1715
 __do_sys_socket net/socket.c:1729 [inline]
 __se_sys_socket net/socket.c:1727 [inline]
 __x64_sys_socket+0x7a/0x90 net/socket.c:1727
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fdc7799e159
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:00007fdc788c1028 EFLAGS: 00000246 ORIG_RAX: 0000000000000029
RAX: ffffffffffffffda RBX: 00007fdc77c25fa0 RCX: 00007fdc7799e159
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000010
RBP: 00007fdc77a3506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fdc77c26038 R14: 00007fdc77c25fa0 R15: 00007ffc5ea58af8
 </TASK>

Crashes (24):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/28 00:43 linux-6.6.y 79643295eba1 a3c7249d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_socket
2026/09/25 19:30 linux-6.6.y 79643295eba1 f281d9d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_socket
2026/07/31 01:19 linux-6.6.y a1153c0deb44 aaffb173 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_socket
2026/07/26 08:05 linux-6.6.y c5596480c50e 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_socket
2026/07/17 22:53 linux-6.6.y da47cbc25466 8aaff637 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_socket
2026/06/30 19:17 linux-6.6.y d1cfde2d5d15 00e8b0fd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_socket
2026/05/01 19:55 linux-6.6.y 258cf62a6dfd 753c55b9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_socket
2026/05/01 12:12 linux-6.6.y 258cf62a6dfd 753c55b9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_socket
2026/04/23 20:13 linux-6.6.y 9760bf04666d 4c3406dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_socket
2026/03/27 20:24 linux-6.6.y c09fbcd31ae6 74a13a23 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_socket
2026/03/07 22:54 linux-6.6.y 4fc00fe35d46 5cb44a80 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_socket
2026/01/29 06:54 linux-6.6.y cbb31f77b879 0adc945e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_socket
2026/01/07 12:09 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_socket
2025/12/20 01:03 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_socket
2025/12/11 06:11 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_socket
2025/11/27 11:58 linux-6.6.y 1e89a1be4fe9 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_socket
2025/11/19 02:31 linux-6.6.y 0a805b6ea8cd ef766cd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_socket
2025/10/27 01:47 linux-6.6.y 4a243110dc88 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_socket
2025/10/03 21:37 linux-6.6.y f34f16e5c632 49379ee0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_socket
2025/08/28 14:20 linux-6.6.y bb9c90ab9c5a e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_socket
2025/08/28 11:58 linux-6.6.y bb9c90ab9c5a e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_socket
2025/08/25 14:44 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_socket
2025/08/06 11:41 linux-6.6.y 3a8ababb8b6a ffe1dd46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_socket
2025/07/12 12:18 linux-6.6.y 59a2de10b81a 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_socket
* Struck through repros no longer work on HEAD.