syzbot


INFO: rcu detected stall in sys_socket (3)

Status: upstream: reported on 2025/09/09 01:58
Reported-by: syzbot+6f9608a27846cc108b6b@syzkaller.appspotmail.com
First crash: 4d04h, last: 13h52m
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 1598d 1598d 0/29 auto-closed as invalid on 2021/07/27 17:27
linux-5.15 INFO: rcu detected stall in sys_socket 1 1 710d 710d 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 1436d 1461d 0/29 auto-closed as invalid on 2022/01/06 01:08
upstream INFO: rcu detected stall in sys_socket mm 1 11 2109d 2110d 0/29 closed as invalid on 2019/12/04 14:04
linux-6.6 INFO: rcu detected stall in sys_socket 1 5 15d 62d 0/2 upstream: reported on 2025/07/12 12:18
linux-4.19 INFO: rcu detected stall in sys_socket 1 1 1239d 1239d 0/1 auto-closed as invalid on 2022/08/20 07:08
upstream INFO: rcu detected stall in sys_socket (10) mm 1 C done 148 4h17m 652d 0/29 upstream: reported C repro on 2023/11/30 15:24
linux-6.1 INFO: rcu detected stall in sys_socket 1 2 404d 404d 0/3 auto-obsoleted due to no activity on 2024/11/13 04:32
upstream INFO: rcu detected stall in sys_socket (6) cgroups mm 1 2 1095d 1139d 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 954d 987d 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 193d 247d 0/3 auto-obsoleted due to no activity on 2025/06/11 16:02
upstream INFO: rcu detected stall in sys_socket (9) kasan mm 1 2 772d 781d 0/29 closed as invalid on 2023/09/07 14:25
upstream INFO: rcu detected stall in sys_socket (2) mm 1 3 2075d 2075d 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 C error 11 13h11m 559d 0/3 upstream: reported C repro on 2024/03/02 17:55
upstream INFO: rcu detected stall in sys_socket (3) mm 1 4 2074d 2075d 0/29 closed as invalid on 2020/01/09 08:13
android-5-15 BUG: soft lockup in sys_socket 1 C error 26 371d 520d 0/2 auto-obsoleted due to no activity on 2024/11/29 22:24

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-.... } 2656 jiffies s: 146509 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: 1953 Comm: syz.1.10363 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:114 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline]
RIP: 0010:kasan_check_range+0x16a/0x290 mm/kasan/generic.c:189
Code: 00 00 00 41 29 db 4d 01 d9 4d 89 d6 4d 29 ce 4d 8d 7e 07 4d 85 f6 4d 0f 49 fe 49 c1 ef 03 45 85 ff 74 21 45 31 db 4b 8b 1c 19 <48> 85 db 75 41 49 83 c3 08 41 ff cf 75 ee 4d 29 ca 4d 29 da 4d 01
RSP: 0018:ffffc900000075c0 EFLAGS: 00000002
RAX: ffffffff81a3af01 RBX: 0000000000000000 RCX: ffffffff81a3af9b
RDX: 0000000000000001 RSI: 0000000000000100 RDI: ffffc90000007680
RBP: 0000000000000000 R08: dffffc0000000000 R09: fffff52000000ed0
R10: fffff52000000ef0 R11: 0000000000000010 R12: ffffc900000077c0
R13: 0000000000000014 R14: 0000000000000020 R15: 0000000000000002
FS:  00007f40405ed6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000000d000 CR3: 0000000053778000 CR4: 00000000003506f0
DR0: 0000200000000300 DR1: 0000200000000300 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 memset+0x1e/0x40 mm/kasan/shadow.c:44
 perf_tp_event+0xbb/0xb60 kernel/events/core.c:10011
 perf_trace_run_bpf_submit+0xf3/0x1c0 kernel/events/core.c:10002
 perf_trace_preemptirq_template+0x287/0x330 include/trace/events/preemptirq.h:14
 trace_irq_enable_rcuidle+0xd3/0x140 include/trace/events/preemptirq.h:40
 trace_hardirqs_on+0x24/0x40 kernel/trace/trace_preemptirq.c:44
 asm_sysvec_irq_work+0x16/0x20 arch/x86/include/asm/idtentry.h:728
RIP: 0010:rcu_read_unlock_special+0x84/0x500 kernel/rcu/tree_plugin.h:685
Code: f1 f1 f1 00 f2 f2 f2 4a 89 04 2b 66 42 c7 44 2b 09 f3 f3 42 c6 44 2b 0b f3 65 44 8b 35 2d 97 96 7e 41 f7 c6 00 00 f0 00 74 45 <48> c7 44 24 40 0e 36 e0 45 4a c7 04 2b 00 00 00 00 66 42 c7 44 2b
RSP: 0018:ffffc90000007aa0 EFLAGS: 00000206
RAX: 68163cd1ed59ff00 RBX: 1ffff92000000f5c RCX: 68163cd1ed59ff00
RDX: dffffc0000000000 RSI: ffffffff8a8c0500 RDI: ffffffff8adefca0
RBP: ffffc90000007b90 R08: dffffc0000000000 R09: ffffed10171c6afa
R10: ffffed10171c6afa R11: 1ffff110171c6af9 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:1752 [inline]
 __hrtimer_run_queues+0x554/0xd60 kernel/time/hrtimer.c:1816
 hrtimer_run_softirq+0x183/0x2a0 kernel/time/hrtimer.c:1833
 handle_softirqs+0x2a1/0x920 kernel/softirq.c:596
 __do_softirq kernel/softirq.c:630 [inline]
 invoke_softirq kernel/softirq.c:470 [inline]
 __irq_exit_rcu+0x12f/0x220 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:memset_erms+0xb/0x10 arch/x86/lib/memset_64.S:65
Code: 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48 ab 89 d1 f3 aa 4c 89 c8 c3 90 49 89 f9 40 88 f0 48 89 d1 f3 aa <4c> 89 c8 c3 90 49 89 fa 40 0f b6 ce 48 b8 01 01 01 01 01 01 01 01
RSP: 0018:ffffc90003c678c8 EFLAGS: 00000202
RAX: 0000000000000000 RBX: ffffc90003c679a8 RCX: 0000000000000000
RDX: 0000000000000010 RSI: 0000000000000000 RDI: ffffc90003c67a08
RBP: ffffffff8ea99e7e R08: dffffc0000000000 R09: ffffc90003c679f8
R10: fffff5200078cf41 R11: 1ffff9200078cf3f R12: 1ffff9200078cf36
R13: dffffc0000000000 R14: ffffc90003c679f8 R15: ffffc90003c679dd
 unwind_next_frame+0xb8a/0x20b0 arch/x86/kernel/unwind_orc.c:546
 arch_stack_walk+0x10c/0x140 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x98/0xe0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:45 [inline]
 kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
 __kasan_slab_alloc+0x6b/0x80 mm/kasan/common.c:328
 kasan_slab_alloc include/linux/kasan.h:201 [inline]
 slab_post_alloc_hook+0x4b/0x480 mm/slab.h:737
 slab_alloc_node mm/slub.c:3359 [inline]
 slab_alloc mm/slub.c:3367 [inline]
 __kmem_cache_alloc_lru mm/slub.c:3374 [inline]
 kmem_cache_alloc_lru+0x11a/0x2e0 mm/slub.c:3390
 alloc_inode_sb include/linux/fs.h:3245 [inline]
 sock_alloc_inode+0x24/0xc0 net/socket.c:306
 alloc_inode fs/inode.c:261 [inline]
 new_inode_pseudo+0x5f/0x1c0 fs/inode.c:1063
 sock_alloc net/socket.c:631 [inline]
 __sock_create+0x129/0x940 net/socket.c:1514
 sock_create net/socket.c:1606 [inline]
 __sys_socket_create net/socket.c:1643 [inline]
 __sys_socket+0xc4/0x190 net/socket.c:1671
 __do_sys_socket net/socket.c:1684 [inline]
 __se_sys_socket net/socket.c:1682 [inline]
 __x64_sys_socket+0x76/0x80 net/socket.c:1682
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f403f78eba9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f40405ed038 EFLAGS: 00000246 ORIG_RAX: 0000000000000029
RAX: ffffffffffffffda RBX: 00007f403f9d5fa0 RCX: 00007f403f78eba9
RDX: 0000000000000300 RSI: 0200000000000003 RDI: 0000000000000011
RBP: 00007f403f811e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f403f9d6038 R14: 00007f403f9d5fa0 R15: 00007ffeb0d3b238
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/12 16:54 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in sys_socket
2025/09/09 01:57 linux-6.1.y 28c695c365e1 d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in sys_socket
* Struck through repros no longer work on HEAD.