syzbot


INFO: rcu detected stall in __sock_create (2)

Status: upstream: reported on 2025/08/14 08:18
Reported-by: syzbot+6301ec717de1cc8fd0f0@syzkaller.appspotmail.com
First crash: 261d, last: 8d14h
Similar bugs (9)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: rcu detected stall in __sock_create (3) 1 14 20d 259d 0/3 upstream: reported on 2025/08/16 13:35
upstream INFO: rcu detected stall in __sock_create mm 1 1 2341d 2341d 0/29 closed as invalid on 2019/12/04 14:04
linux-6.6 INFO: rcu detected stall in __sock_create 1 12 21d 265d 0/2 upstream: reported on 2025/08/10 05:00
upstream INFO: rcu detected stall in __sock_create (3) mm 1 21 405d 640d 0/29 auto-obsoleted due to no activity on 2025/06/20 21:57
upstream INFO: rcu detected stall in __sock_create (2) mm 1 2 2306d 2306d 0/29 closed as invalid on 2020/01/08 05:33
linux-5.15 INFO: rcu detected stall in __sock_create 1 1 710d 710d 0/3 auto-obsoleted due to no activity on 2024/08/30 14:48
linux-6.1 INFO: rcu detected stall in __sock_create 1 3 578d 679d 0/3 auto-obsoleted due to no activity on 2025/01/09 18:19
linux-6.1 INFO: rcu detected stall in __sock_create (2) 1 2 414d 447d 0/3 auto-obsoleted due to no activity on 2025/06/22 07:20
android-5-15 BUG: soft lockup in __sock_create 1 18 608d 744d 0/2 auto-obsoleted due to no activity on 2024/11/30 09:28

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-....: (1 GPs behind) idle=a0b/1/0x4000000000000000 softirq=90568/90569 fqs=5242 
	(detected by 1, t=10502 jiffies, g=130961, q=1935)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 30491 Comm: syz.0.7948 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
RIP: 0010:__lock_is_held kernel/locking/lockdep.c:5363 [inline]
RIP: 0010:lock_is_held_type+0x7c/0x190 kernel/locking/lockdep.c:5666
Code: 41 89 f7 49 89 fe 48 c7 04 24 00 00 00 00 9c 8f 04 24 4c 8b 2c 24 fa 48 c7 c7 00 36 2b 8a e8 4b 0e 00 00 65 ff 05 b4 9c 45 76 <83> bb e8 0a 00 00 00 7e 4b 44 89 fd 49 89 df 49 81 c7 f0 0a 00 00
RSP: 0018:ffffc900000074d0 EFLAGS: 00000002
RAX: 0000000000000000 RBX: ffff88802b7ad940 RCX: 4200f2c7fcd37f00
RDX: 0000000000000100 RSI: ffffffff8a2b3600 RDI: ffffffff8a79fe40
RBP: 00000000ffffffff R08: ffffc900000076b7 R09: ffffc90000007680
R10: dffffc0000000000 R11: fffff52000000ed7 R12: dffffc0000000000
R13: 0000000000000046 R14: ffffffff8c31eb20 R15: 00000000ffffffff
FS:  00007f7e22c686c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe9c1b876b8 CR3: 000000002ad96000 CR4: 00000000003506f0
DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000004 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 perf_get_guest_cbs include/linux/perf_event.h:1274 [inline]
 perf_misc_flags+0x56/0x1b0 arch/x86/events/core.c:2961
 perf_prepare_sample+0x132/0x1cd0 kernel/events/core.c:7622
 __perf_event_output kernel/events/core.c:7802 [inline]
 perf_event_output_forward+0x185/0x2e0 kernel/events/core.c:7822
 __perf_event_overflow+0x364/0x530 kernel/events/core.c:9515
 perf_tp_event+0x383/0xbf0 kernel/events/core.c:10047
 perf_trace_run_bpf_submit+0xf3/0x1c0 kernel/events/core.c:10021
 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 32 e1 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:ffffc90000007c60 EFLAGS: 00000206
RAX: 4200f2c7fcd37f00 RBX: 1ffff92000000f90 RCX: 4200f2c7fcd37f00
RDX: dffffc0000000000 RSI: ffffffff8a2b2800 RDI: ffffffff8a79fe40
RBP: ffffc90000007d28 R08: ffff8880b903b30b R09: 1ffff11017207661
R10: dffffc0000000000 R11: ffffed1017207662 R12: ffffffff8c323000
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]
 rebalance_domains+0xa0a/0xb30 kernel/sched/fair.c:10660
 handle_softirqs+0x339/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:next_tid mm/slub.c:2261 [inline]
RIP: 0010:slab_alloc_node mm/slub.c:3209 [inline]
RIP: 0010:slab_alloc mm/slub.c:3233 [inline]
RIP: 0010:kmem_cache_alloc_trace+0xa0/0x2a0 mm/slub.c:3250
Code: 49 8b 7d 00 40 f6 c7 0f 0f 85 0a 02 00 00 48 8d 47 08 48 89 f9 48 83 c9 08 48 39 c1 0f 85 f8 01 00 00 41 8b 45 28 49 8b 1c 04 <48> 8d 4a 08 4c 89 e0 65 48 0f c7 0f 0f 94 c0 a8 01 74 9c 4c 89 64
RSP: 0018:ffffc90002ebfc48 EFLAGS: 00000246
RAX: 0000000000000008 RBX: ffff888020ef0f00 RCX: 000000000003dcc8
RDX: 00000000000fd308 RSI: 0000000000000010 RDI: 000000000003dcc0
RBP: 0000000000000dc0 R08: ffffffff8d89f06f R09: 1ffffffff1b13e0d
R10: dffffc0000000000 R11: fffffbfff1b13e0e R12: ffff888020ef0620
R13: ffff888016c413c0 R14: 0000000000000010 R15: ffff888016c413c0
 kmalloc include/linux/slab.h:607 [inline]
 kzalloc include/linux/slab.h:738 [inline]
 apparmor_sk_alloc_security+0x74/0x100 security/apparmor/lsm.c:785
 security_sk_alloc+0x6a/0xa0 security/security.c:2309
 sk_prot_alloc+0x101/0x210 net/core/sock.c:1869
 sk_alloc+0x2f/0x310 net/core/sock.c:1922
 unix_create1+0xb0/0x610 net/unix/af_unix.c:-1
 unix_create+0x143/0x1f0 net/unix/af_unix.c:929
 __sock_create+0x47b/0x900 net/socket.c:1495
 sock_create net/socket.c:1551 [inline]
 __sys_socketpair+0x1bd/0x540 net/socket.c:1651
 __do_sys_socketpair net/socket.c:1704 [inline]
 __se_sys_socketpair net/socket.c:1701 [inline]
 __x64_sys_socketpair+0x97/0xb0 net/socket.c:1701
 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:0x7f7e24a0edd9
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:00007f7e22c68028 EFLAGS: 00000246 ORIG_RAX: 0000000000000035
RAX: ffffffffffffffda RBX: 00007f7e24c87fa0 RCX: 00007f7e24a0edd9
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: 00007f7e24aa4d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000200000000300 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f7e24c88038 R14: 00007f7e24c87fa0 R15: 00007ffc8442ebb8
 </TASK>

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/04/24 05:15 linux-5.15.y b9d57c40a767 9cfb3ca7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __sock_create
2026/04/23 22:22 linux-5.15.y b9d57c40a767 4c3406dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __sock_create
2026/03/10 12:02 linux-5.15.y 91d48252ad4b 6972f302 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __sock_create
2026/03/08 23:27 linux-5.15.y 91d48252ad4b 5cb44a80 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __sock_create
2026/01/28 15:58 linux-5.15.y 9eec9a14ee10 004c195c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __sock_create
2025/12/22 15:09 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __sock_create
2025/12/15 17:24 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __sock_create
2025/12/04 19:39 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __sock_create
2025/11/20 07:26 linux-5.15.y cc5ec8769306 26ee5237 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __sock_create
2025/10/28 00:49 linux-5.15.y ac56c046adf4 fd2207e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __sock_create
2025/09/20 08:53 linux-5.15.y 43bb85222e53 67c37560 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __sock_create
2025/09/17 13:01 linux-5.15.y 43bb85222e53 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __sock_create
2025/08/14 08:18 linux-5.15.y c79648372d02 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __sock_create
* Struck through repros no longer work on HEAD.