INFO: rcu detected stall in __sock_create (3)

Status: upstream: reported on 2025/08/16 13:35
Reported-by: syzbot+5b8b6b53c6f0e9459a03@syzkaller.appspotmail.com
First crash: 393d, last: 2d12h
Similar bugs (9)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in __sock_create mm 1 1 2476d 2476d 0/29 closed as invalid on 2019/12/04 14:04
linux-5.15 INFO: rcu detected stall in __sock_create (2) 1 24 54d 396d 0/3 upstream: reported on 2025/08/14 08:18
linux-6.6 INFO: rcu detected stall in __sock_create 1 15 91d 400d 0/2 upstream: reported on 2025/08/10 05:00
upstream INFO: rcu detected stall in __sock_create (3) mm 1 21 540d 775d 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 2441d 2441d 0/29 closed as invalid on 2020/01/08 05:33
linux-5.15 INFO: rcu detected stall in __sock_create 1 1 844d 844d 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 712d 814d 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 549d 582d 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 743d 878d 0/2 auto-obsoleted due to no activity on 2024/11/30 09:28

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-.... } 2688 jiffies s: 58477 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: 12405 Comm: syz.0.2564 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
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:ffffc90000006cd0 EFLAGS: 00000002
RAX: 0000000000000000 RBX: ffffc90000006de0 RCX: 0000000000000000
RDX: 0000000000000010 RSI: 0000000000000000 RDI: ffffc90000006e40
RBP: dffffc0000000000 R08: ffffc90000006e3f R09: ffffc90000006e30
R10: dffffc0000000000 R11: fffff52000000dc8 R12: dffffc0000000000
R13: ffffc9000cad8000 R14: ffffc90000006e18 R15: ffffc90000006e15
FS:  00007f3cad0ef6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f43c495da08 CR3: 0000000070e97000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 unwind_next_frame+0x8da/0x1fd0 arch/x86/kernel/unwind_orc.c:546
 perf_callchain_kernel+0x42a/0x690 arch/x86/events/core.c:2805
 get_perf_callchain+0x236/0x490 kernel/events/callchain.c:204
 perf_callchain kernel/events/core.c:7522 [inline]
 perf_prepare_sample+0x399/0x2020 kernel/events/core.c:7555
 __perf_event_output kernel/events/core.c:7740 [inline]
 perf_event_output_forward+0x197/0x2f0 kernel/events/core.c:7760
 __perf_event_overflow+0x457/0x630 kernel/events/core.c:9506
 perf_swevent_overflow kernel/events/core.c:9589 [inline]
 perf_swevent_event+0x315/0x570 kernel/events/core.c:9640
 perf_tp_event+0x36b/0xc10 kernel/events/core.c:10074
 perf_trace_run_bpf_submit+0xf3/0x1c0 kernel/events/core.c:10042
 perf_trace_preemptirq_template+0x268/0x320 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+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 12 6c 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:ffffc900000077a0 EFLAGS: 00000206
RAX: 8d90a6ed0cd56d00 RBX: 1ffff92000000efc RCX: 8d90a6ed0cd56d00
RDX: dffffc0000000000 RSI: ffffffff8a8c18a0 RDI: ffffffff8adf6420
RBP: ffffc900000078a0 R08: ffff8880b8e357cb R09: 1ffff110171c6af9
R10: dffffc0000000000 R11: ffffed10171c6afa R12: 0000000000000246
R13: dffffc0000000000 R14: ffff8880b8e3bb00 R15: 0000000000000001
 __rcu_read_unlock+0x78/0xd0 kernel/rcu/tree_plugin.h:426
 rcu_read_unlock include/linux/rcupdate.h:823 [inline]
 netif_receive_skb_list_internal+0xa11/0xca0 net/core/dev.c:5854
 gro_normal_list include/net/gro.h:434 [inline]
 napi_complete_done+0x37e/0x850 net/core/dev.c:6194
 virtqueue_napi_complete drivers/net/virtio_net.c:404 [inline]
 virtnet_poll+0x9c3/0x1140 drivers/net/virtio_net.c:1724
 __napi_poll+0xbb/0x460 net/core/dev.c:6628
 napi_poll net/core/dev.c:6695 [inline]
 net_rx_action+0x622/0xbc0 net/core/dev.c:6809
 handle_softirqs+0x291/0x910 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
 common_interrupt+0xb5/0xd0 arch/x86/kernel/irq.c:242
 </IRQ>
 <TASK>
 asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:682
RIP: 0010:finish_task_switch+0x267/0x8e0 kernel/sched/core.c:5125
Code: d7 08 85 c0 0f 84 38 01 00 00 48 85 db 0f 85 57 01 00 00 0f 1f 44 00 00 4c 89 e7 e8 f3 d0 e1 08 e8 ae 17 2f 00 fb 4c 8b 65 b8 <49> 8d bc 24 f8 15 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0
RSP: 0018:ffffc9000cad78a0 EFLAGS: 00000286
RAX: 8d90a6ed0cd56d00 RBX: 0000000000000000 RCX: 8d90a6ed0cd56d00
RDX: dffffc0000000000 RSI: ffffffff8a8c18a0 RDI: ffffffff8adf6420
RBP: ffffc9000cad78f0 R08: ffff8880b8e357cb R09: 1ffff110171c6af9
R10: dffffc0000000000 R11: ffffed10171c6afa R12: ffff8880273c8000
R13: 1ffff110171c76f2 R14: dffffc0000000000 R15: ffff8880b8e3b790
 context_switch kernel/sched/core.c:5249 [inline]
 __schedule+0x1087/0x4030 kernel/sched/core.c:6563
 preempt_schedule_irq+0xbb/0x160 kernel/sched/core.c:6875
 irqentry_exit+0x63/0x70 kernel/entry/common.c:439
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:qlink_free mm/kasan/quarantine.c:146 [inline]
RIP: 0010:qlist_free_all+0x51/0xe0 mm/kasan/quarantine.c:187
Code: 49 89 ef 4d 89 f4 4d 85 f6 75 0b 4c 89 ff e8 66 03 00 00 49 89 c4 49 8b 2f 49 63 84 24 c0 00 00 00 49 29 c7 4c 89 e7 4c 89 fe <e8> 8a ec ff ff 66 90 4c 89 f8 48 c1 e8 03 42 c6 04 28 fb 48 8d 15
RSP: 0018:ffffc9000cad7c18 EFLAGS: 00000286
RAX: 0000000000000000 RBX: ffffc9000cad7c58 RCX: ffffea00010ccb40
RDX: ffffea0000000000 RSI: ffff88804332da00 RDI: ffff888140a52500
RBP: ffff8880414c4800 R08: ffff88804332d640 R09: 00000000800c0005
R10: dffffc0000000000 R11: ffffed10171c6afa R12: ffff888140a52500
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88804332da00
 kasan_quarantine_reduce+0x144/0x160 mm/kasan/quarantine.c:294
 __kasan_slab_alloc+0x1e/0x80 mm/kasan/common.c:306
 kasan_slab_alloc include/linux/kasan.h:201 [inline]
 slab_post_alloc_hook+0x4b/0x490 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+0x18b/0x2f0 mm/slub.c:3383
 kmem_cache_zalloc include/linux/slab.h:689 [inline]
 lsm_inode_alloc security/security.c:600 [inline]
 security_inode_alloc+0x30/0x110 security/security.c:1044
 inode_init_always+0x910/0xc90 fs/inode.c:232
 alloc_inode fs/inode.c:268 [inline]
 new_inode_pseudo+0x91/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_socketpair+0x232/0x540 net/socket.c:1737
 __do_sys_socketpair net/socket.c:1786 [inline]
 __se_sys_socketpair net/socket.c:1783 [inline]
 __x64_sys_socketpair+0x97/0xb0 net/socket.c:1783
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f3cac19e159
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:00007f3cad0ef028 EFLAGS: 00000246 ORIG_RAX: 0000000000000035
RAX: ffffffffffffffda RBX: 00007f3cac426090 RCX: 00007f3cac19e159
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000001
RBP: 00007f3cac23503b R08: 0000000000000000 R09: 0000000000000000
R10: 0000200000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f3cac426128 R14: 00007f3cac426090 R15: 00007ffcc3ce4cb8
 </TASK>

Crashes (23):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/11 21:47 linux-6.1.y cf82dcca9634 b6a5eeb7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in __sock_create
2026/09/06 17:48 linux-6.1.y cf82dcca9634 4f7b22a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in __sock_create
2026/09/05 16:39 linux-6.1.y cf82dcca9634 4f7b22a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in __sock_create
2026/08/29 03:56 linux-6.1.y d64a499eea6b 2f52988a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in __sock_create
2026/08/01 14:49 linux-6.1.y fb28aa725e05 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in __sock_create
2026/07/18 07:35 linux-6.1.y 090666d3cc90 72524a66 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in __sock_create
2026/07/12 17:19 linux-6.1.y 090666d3cc90 d78ea535 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in __sock_create
2026/05/18 14:26 linux-6.1.y c27210688955 55156e84 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in __sock_create
2026/05/03 07:31 linux-6.1.y 4931e0e1673d a0d91488 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in __sock_create
2026/04/12 19:09 linux-6.1.y 8e8fc038cad5 38c8e246 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in __sock_create
2026/03/26 19:22 linux-6.1.y 1989cd3d56e2 766b6434 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in __sock_create
2026/03/21 00:19 linux-6.1.y f2ddafa93a25 ac6f1dff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in __sock_create
2026/03/17 07:10 linux-6.1.y f2ddafa93a25 0737c18f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in __sock_create
2026/02/16 09:02 linux-6.1.y 8ce36b2849ef 1e62d198 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in __sock_create
2026/02/15 17:17 linux-6.1.y 8ce36b2849ef 1e62d198 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in __sock_create
2026/02/14 19:01 linux-6.1.y 8ce36b2849ef 1e62d198 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in __sock_create
2026/02/05 13:24 linux-6.1.y cd9b81672742 4936e85c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in __sock_create
2026/01/17 20:59 linux-6.1.y cd9b81672742 20d37d28 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in __sock_create
2025/11/13 15:37 linux-6.1.y f6e38ae624cf 07e030de .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in __sock_create
2025/10/13 05:26 linux-6.1.y 882efbdd9d34 ff1712fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in __sock_create
2025/09/20 13:36 linux-6.1.y 363a599da6d9 67c37560 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in __sock_create
2025/09/20 02:23 linux-6.1.y 363a599da6d9 67c37560 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in __sock_create
2025/08/16 13:35 linux-6.1.y 0bc96de781b4 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in __sock_create
* Struck through repros no longer work on HEAD.