syzbot


INFO: rcu detected stall in __sock_create

Status: upstream: reported on 2025/08/10 05:00
Reported-by: syzbot+774bbafa0eb4d80bd2c4@syzkaller.appspotmail.com
First crash: 18d, last: 1d06h
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 1 12d 12d 0/3 upstream: reported on 2025/08/16 13:35
upstream INFO: rcu detected stall in __sock_create mm 1 1 2094d 2094d 0/29 closed as invalid on 2019/12/04 14:04
linux-5.15 INFO: rcu detected stall in __sock_create (2) 1 1 14d 14d 0/3 upstream: reported on 2025/08/14 08:18
upstream INFO: rcu detected stall in __sock_create (3) mm 1 21 158d 393d 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 2059d 2059d 0/29 closed as invalid on 2020/01/08 05:33
linux-5.15 INFO: rcu detected stall in __sock_create 1 1 463d 463d 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 331d 432d 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 167d 200d 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 361d 497d 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: 	1-....: (1 GPs behind) idle=f744/1/0x4000000000000000 softirq=41759/41760 fqs=2100
rcu: 	         hardirqs   softirqs   csw/system
rcu: 	 number:  8428430          0            0
rcu: 	cputime:     6015      46502            0   ==> 52500(ms)
rcu: 	(detected by 0, t=10505 jiffies, g=54593, q=1693 ncpus=2)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 11644 Comm: syz.1.2250 Not tainted 6.6.102-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:asm_sysvec_irq_work+0x0/0x20 arch/x86/include/asm/idtentry.h:723
Code: 06 25 ed ff e9 a1 03 00 00 90 f3 0f 1e fa 0f 01 ca fc 6a ff e8 a1 02 00 00 48 89 c4 48 89 e7 e8 f6 06 ed ff e9 81 03 00 00 90 <f3> 0f 1e fa 0f 01 ca fc 6a ff e8 81 02 00 00 48 89 c4 48 89 e7 e8
RSP: 0018:ffffc900001f0ad8 EFLAGS: 00000006
RAX: 4745e9f8720a9700 RBX: 1ffff9200003e168 RCX: 4745e9f8720a9700
RDX: dffffc0000000000 RSI: ffffffff8aaab9c0 RDI: ffffffff8afc66c0
RBP: ffffc900001f0c00 R08: ffffffff8e4a882f R09: 1ffffffff1c95105
R10: dffffc0000000000 R11: fffffbfff1c95106 R12: ffffffff8cd35400
R13: dffffc0000000000 R14: 0000000000000246 R15: 0000000000000002
FS:  00007fe4413516c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00002000000029c0 CR3: 00000000630c2000 CR4: 00000000003506e0
DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
RIP: 0010:rcu_read_unlock_special+0x88/0x4c0 kernel/rcu/tree_plugin.h:682
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 39 58 93 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:ffffc900001f0b00 EFLAGS: 00000206
 __rcu_read_unlock+0x7c/0xd0 kernel/rcu/tree_plugin.h:426
 rcu_read_unlock include/linux/rcupdate.h:818 [inline]
 ieee80211_rx_napi+0x21d/0x3c0 net/mac80211/rx.c:5430
 ieee80211_rx include/net/mac80211.h:4969 [inline]
 ieee80211_handle_queued_frames+0x106/0x1a0 net/mac80211/main.c:319
 tasklet_action_common+0x2eb/0x4c0 kernel/softirq.c:809
 handle_softirqs+0x280/0x820 kernel/softirq.c:578
 __do_softirq kernel/softirq.c:612 [inline]
 invoke_softirq kernel/softirq.c:452 [inline]
 __irq_exit_rcu+0xc7/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:preempt_schedule_irq+0xb0/0x140 kernel/sched/core.c:7009
Code: 44 24 20 f6 44 24 21 02 74 0b 0f 0b 48 f7 03 08 00 00 00 74 63 bf 01 00 00 00 e8 4b da e5 f6 e8 46 5f 16 f7 fb bf 01 00 00 00 <e8> db b5 ff ff 48 c7 44 24 40 00 00 00 00 9c 8f 44 24 40 8b 44 24
RSP: 0018:ffffc9000376f8c0 EFLAGS: 00000282
RAX: 4745e9f8720a9700 RBX: 0000000000000000 RCX: 4745e9f8720a9700
RDX: dffffc0000000000 RSI: ffffffff8aaab9c0 RDI: 0000000000000001
RBP: ffffc9000376f960 R08: ffffffff8e4a882f R09: 1ffffffff1c95105
R10: dffffc0000000000 R11: fffffbfff1c95106 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff920006edf18
 irqentry_exit+0x67/0x70 kernel/entry/common.c:438
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:refill_obj_stock+0x485/0x680 mm/memcontrol.c:3356
Code: 0f 85 72 01 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 5b 2c 89 08 f7 c3 00 02 00 00 0f 84 44 ff ff ff fb 4d 85 ed <0f> 85 3f ff ff ff e9 42 ff ff ff e8 2b db 36 02 85 c0 0f 84 b5 fc
RSP: 0018:ffffc9000376fa20 EFLAGS: 00000246
RAX: 4745e9f8720a9700 RBX: 0000000000000a02 RCX: 4745e9f8720a9700
RDX: dffffc0000000000 RSI: ffffffff8aaab9c0 RDI: ffffffff8afc66c0
RBP: ffffc9000376fb10 R08: ffffffff8e4a882f R09: 1ffffffff1c95105
R10: dffffc0000000000 R11: fffffbfff1c95106 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880b8f37f98
 obj_cgroup_charge+0x3c3/0x620 mm/memcontrol.c:3402
 memcg_slab_pre_alloc_hook mm/slab.h:508 [inline]
 slab_pre_alloc_hook+0x2eb/0x310 mm/slab.h:719
 slab_alloc_node mm/slub.c:3467 [inline]
 slab_alloc mm/slub.c:3493 [inline]
 __kmem_cache_alloc_lru mm/slub.c:3500 [inline]
 kmem_cache_alloc+0x5a/0x2e0 mm/slub.c:3509
 sk_prot_alloc+0x57/0x210 net/core/sock.c:2088
 sk_alloc+0x3a/0x360 net/core/sock.c:2147
 unix_create1+0xb0/0x790 net/unix/af_unix.c:-1
 unix_create+0x154/0x1f0 net/unix/af_unix.c:1084
 __sock_create+0x4a6/0x940 net/socket.c:1571
 sock_create net/socket.c:1627 [inline]
 __sys_socketpair+0x236/0x550 net/socket.c:1782
 __do_sys_socketpair net/socket.c:1831 [inline]
 __se_sys_socketpair net/socket.c:1828 [inline]
 __x64_sys_socketpair+0x9b/0xb0 net/socket.c:1828
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fe44058ebe9
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:00007fe441351038 EFLAGS: 00000246 ORIG_RAX: 0000000000000035
RAX: ffffffffffffffda RBX: 00007fe4407b5fa0 RCX: 00007fe44058ebe9
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000001
RBP: 00007fe440611e19 R08: 0000000000000000 R09: 0000000000000000
R10: 00002000000029c0 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe4407b6038 R14: 00007fe4407b5fa0 R15: 00007ffcf6492238
 </TASK>

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/27 11:31 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 __sock_create
2025/08/13 23:58 linux-6.6.y 3a8ababb8b6a 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in __sock_create
2025/08/11 20:15 linux-6.6.y 3a8ababb8b6a c06e8995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in __sock_create
2025/08/10 07:14 linux-6.6.y 3a8ababb8b6a 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in __sock_create
2025/08/10 04:59 linux-6.6.y 3a8ababb8b6a 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in __sock_create
* Struck through repros no longer work on HEAD.