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: 362d, last: 20d
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 19 9d18h 359d 0/3 upstream: reported on 2025/08/16 13:35
upstream INFO: rcu detected stall in __sock_create mm 1 1 2442d 2441d 0/29 closed as invalid on 2019/12/04 14:04
linux-6.6 INFO: rcu detected stall in __sock_create 1 15 57d 366d 0/2 upstream: reported on 2025/08/10 05:00
upstream INFO: rcu detected stall in __sock_create (3) mm 1 21 506d 741d 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 2407d 2407d 0/29 closed as invalid on 2020/01/08 05:33
linux-5.15 INFO: rcu detected stall in __sock_create 1 1 810d 810d 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 678d 780d 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 515d 548d 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 709d 844d 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=a1b/1/0x4000000000000000 softirq=114761/114762 fqs=2099 
	(detected by 1, t=10504 jiffies, g=159113, q=8798)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 3754 Comm: syz.3.10045 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
RIP: 0010:kasan_record_aux_stack+0x0/0x100 mm/kasan/generic.c:332
Code: 00 00 e9 b3 65 50 02 0f 1f 00 48 89 f2 be f5 00 00 00 e9 a3 65 50 02 0f 1f 00 48 89 f2 be f8 00 00 00 e9 93 65 50 02 0f 1f 00 <41> 56 53 48 89 fb e8 45 ec ff ff 48 85 c0 0f 84 a7 00 00 00 48 89
RSP: 0018:ffffc90000007360 EFLAGS: 00000046
RAX: ffffffff8184ce03 RBX: ffff8880b903b1f0 RCX: ffff88807c30d940
RDX: 0000000000000100 RSI: 0000000000000000 RDI: ffff8880b903b1f0
RBP: 0000000000000000 R08: ffff8880b903b1fb R09: 1ffff1101720763f
R10: dffffc0000000000 R11: ffffed1017207640 R12: 0000000000000000
R13: dffffc0000000001 R14: 0000000000000000 R15: ffff8880b903b1f8
FS:  00007f4f7ea126c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4f7e9f1d58 CR3: 000000005d861000 CR4: 00000000003506f0
DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 irq_work_queue_on+0xf1/0x220 kernel/irq_work.c:101
 rcu_read_unlock_special+0x377/0x4a0 kernel/rcu/tree_plugin.h:667
 __rcu_read_unlock+0x78/0xd0 kernel/rcu/tree_plugin.h:422
 rcu_read_unlock include/linux/rcupdate.h:772 [inline]
 __perf_event_output kernel/events/core.c:7813 [inline]
 perf_event_output_forward+0x255/0x2e0 kernel/events/core.c:7822
 __perf_event_overflow+0x35f/0x550 kernel/events/core.c:9515
 perf_tp_event+0x324/0xbe0 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 c2 22 9d 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:ffffc90000007b00 EFLAGS: 00000206
RAX: 6f6b1d32bdcba800 RBX: 1ffff92000000f64 RCX: 6f6b1d32bdcba800
RDX: dffffc0000000000 RSI: ffffffff8a2b2be0 RDI: ffffffff8a7a2a40
RBP: ffffc90000007bd8 R08: ffff8880b903b30b R09: 1ffff11017207661
R10: dffffc0000000000 R11: ffffed1017207662 R12: ffffffff8c323400
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]
 ieee80211_iterate_active_interfaces_atomic+0x132/0x140 net/mac80211/util.c:831
 mac80211_hwsim_beacon+0x9b/0x180 drivers/net/wireless/mac80211_hwsim.c:1865
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x4ea/0xb60 kernel/time/hrtimer.c:1749
 hrtimer_run_softirq+0x176/0x240 kernel/time/hrtimer.c:1766
 handle_softirqs+0x336/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:preempt_schedule_irq+0xb6/0x160 kernel/sched/core.c:6799
Code: 00 00 43 c6 44 37 04 f8 74 0b 0f 0b 48 f7 03 08 00 00 00 74 7f bf 01 00 00 00 e8 75 e5 8a f7 e8 20 b7 b7 f7 fb bf 01 00 00 00 <e8> d5 b5 ff ff 43 c6 44 37 08 00 48 c7 44 24 40 00 00 00 00 9c 8f
RSP: 0018:ffffc9000307fae0 EFLAGS: 00000282
RAX: 6f6b1d32bdcba800 RBX: 0000000000000000 RCX: 6f6b1d32bdcba800
RDX: dffffc0000000000 RSI: ffffffff8a2b2be0 RDI: 0000000000000001
RBP: ffffc9000307fb90 R08: ffff8880b903b30b R09: 1ffff11017207661
R10: dffffc0000000000 R11: ffffed1017207662 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff9200060ff5c
 irqentry_exit+0x63/0x70 kernel/entry/common.c:432
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:slab_alloc_node mm/slub.c:3180 [inline]
RIP: 0010:slab_alloc mm/slub.c:3233 [inline]
RIP: 0010:kmem_cache_alloc_trace+0x63/0x290 mm/slub.c:3250
Code: 24 08 ba 01 00 00 00 89 e9 e8 39 17 00 00 48 85 c0 0f 84 dc 00 00 00 49 89 c5 49 8b 45 00 65 48 03 05 61 d6 44 7e 48 8b 50 08 <4c> 8b 20 48 83 78 10 00 0f 95 c0 4d 85 e4 74 43 84 c0 74 45 49 8b
RSP: 0018:ffffc9000307fc58 EFLAGS: 00000286
RAX: ffff8880b903dcc0 RBX: ffff8880419a0800 RCX: 0000000000000000
RDX: 00000000001374d8 RSI: 0000000000000010 RDI: ffffffff8c3f36e0
RBP: 0000000000000dc0 R08: ffffffff8d8aeaef R09: 1ffffffff1b15d5d
R10: dffffc0000000000 R11: fffffbfff1b15d5e R12: ffffffff8be3c878
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+0xad/0x610 net/unix/af_unix.c:-1
 unix_create+0x139/0x1f0 net/unix/af_unix.c:929
 __sock_create+0x473/0x910 net/socket.c:1496
 sock_create net/socket.c:1552 [inline]
 __sys_socketpair+0x1bd/0x540 net/socket.c:1652
 __do_sys_socketpair net/socket.c:1705 [inline]
 __se_sys_socketpair net/socket.c:1702 [inline]
 __x64_sys_socketpair+0x97/0xb0 net/socket.c:1702
 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:0x7f4f807b9e99
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:00007f4f7ea12028 EFLAGS: 00000246 ORIG_RAX: 0000000000000035
RAX: ffffffffffffffda RBX: 00007f4f80a41fa0 RCX: 00007f4f807b9e99
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000001
RBP: 00007f4f8084feaf R08: 0000000000000000 R09: 0000000000000000
R10: 00002000000029c0 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f4f80a42038 R14: 00007f4f80a41fa0 R15: 00007fff0ae4ed98
 </TASK>

Crashes (24):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/22 04:09 linux-5.15.y c86c4726e7f0 b561ce9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __sock_create
2026/06/26 09:37 linux-5.15.y eceeec79dbc6 7ff32d8b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __sock_create
2026/06/22 19:12 linux-5.15.y eceeec79dbc6 5a630be6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __sock_create
2026/06/21 15:50 linux-5.15.y eceeec79dbc6 43bfcdb0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __sock_create
2026/06/21 02:31 linux-5.15.y eceeec79dbc6 43bfcdb0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __sock_create
2026/06/12 14:27 linux-5.15.y dc027a595035 e93da63e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __sock_create
2026/06/10 23:21 linux-5.15.y dc027a595035 f79bac11 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __sock_create
2026/05/28 20:52 linux-5.15.y 241d66fa280c 681715f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __sock_create
2026/05/26 04:17 linux-5.15.y 241d66fa280c c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __sock_create
2026/05/24 14:14 linux-5.15.y 241d66fa280c c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __sock_create
2026/05/21 22:00 linux-5.15.y 93741761e5e3 e195359d .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/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.