syzbot


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: 4d07h, last: 4d07h
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 2086d 2086d 0/29 closed as invalid on 2019/12/04 14:04
linux-5.15 INFO: rcu detected stall in __sock_create (2) 1 1 6d13h 6d13h 0/3 upstream: reported on 2025/08/14 08:18
linux-6.6 INFO: rcu detected stall in __sock_create 1 4 6d21h 10d 0/2 upstream: reported on 2025/08/10 05:00
upstream INFO: rcu detected stall in __sock_create (3) mm 1 21 150d 385d 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 2051d 2051d 0/29 closed as invalid on 2020/01/08 05:33
linux-5.15 INFO: rcu detected stall in __sock_create 1 1 455d 455d 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 323d 424d 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 159d 192d 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 353d 489d 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-.... } 2646 jiffies s: 16953 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: 6687 Comm: syz.2.616 Not tainted 6.1.148-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:arch_irqs_disabled_flags arch/x86/include/asm/irqflags.h:125 [inline]
RIP: 0010:irq_work_run_list kernel/irq_work.c:235 [inline]
RIP: 0010:irq_work_run+0xe1/0x2e0 kernel/irq_work.c:251
Code: 40 03 00 49 03 1e 48 c7 44 24 40 00 00 00 00 9c 8f 44 24 40 4c 8b 74 24 40 4c 89 f6 48 81 e6 00 02 00 00 31 ff e8 ef c4 f3 ff <49> 81 e6 00 02 00 00 0f 85 dc 01 00 00 48 89 d8 48 c1 e8 03 42 80
RSP: 0018:ffffc90000007900 EFLAGS: 00000006
RAX: ffffffff818cfd51 RBX: ffff8880b8e340b8 RCX: ffff88807e72bb80
RDX: 0000000000010100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900000079b0 R08: dffffc0000000000 R09: fffffbfff1c3ea96
R10: fffffbfff1c3ea96 R11: 1ffffffff1c3ea95 R12: 1ffff92000000f20
R13: 0000000000000000 R14: 0000000000000086 R15: dffffc0000000000
FS:  00007f84981566c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000ac0000 CR3: 0000000068368000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 __sysvec_irq_work+0xba/0x350 arch/x86/kernel/irq_work.c:22
 instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline]
 sysvec_irq_work+0x4a/0xc0 arch/x86/kernel/irq_work.c:17
 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: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 fd a7 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: 763c1d2e7323ad00 RBX: 1ffff92000000f5c RCX: 763c1d2e7323ad00
RDX: dffffc0000000000 RSI: ffffffff8a8c0420 RDI: ffffffff8adef6a0
RBP: ffffc90000007b90 R08: dffffc0000000000 R09: ffffed10171c6af6
R10: ffffed10171c6af6 R11: 1ffff110171c6af5 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:refill_stock+0x27b/0x440 mm/memcontrol.c:2319
Code: 27 af ff 48 c7 44 24 60 00 00 00 00 9c 8f 44 24 60 f6 44 24 61 02 75 53 f7 c3 00 02 00 00 74 01 fb 48 c7 44 24 20 0e 36 e0 45 <48> 8b 44 24 18 4a c7 04 20 00 00 00 00 66 42 c7 44 20 09 00 00 42
RSP: 0018:ffffc90003357900 EFLAGS: 00000206
RAX: 763c1d2e7323ad00 RBX: 0000000000000a06 RCX: 763c1d2e7323ad00
RDX: dffffc0000000000 RSI: ffffffff8a8c0420 RDI: ffffffff8adef6a0
RBP: ffffc900033579d0 R08: dffffc0000000000 R09: ffffed10171c6af6
R10: ffffed10171c6af6 R11: 1ffff110171c6af5 R12: dffffc0000000000
R13: ffff88807e72bb80 R14: ffff8880b8e368d0 R15: ffff8880b8e368f8
 try_charge_memcg+0x12b5/0x17f0 mm/memcontrol.c:2768
 obj_cgroup_charge_pages mm/memcontrol.c:3099 [inline]
 obj_cgroup_charge+0x354/0x610 mm/memcontrol.c:3390
 memcg_slab_pre_alloc_hook mm/slab.h:501 [inline]
 slab_pre_alloc_hook+0x2e7/0x310 mm/slab.h:715
 slab_alloc_node mm/slub.c:3318 [inline]
 slab_alloc mm/slub.c:3406 [inline]
 __kmem_cache_alloc_lru mm/slub.c:3413 [inline]
 kmem_cache_alloc_lru+0x49/0x2e0 mm/slub.c:3429
 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_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:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f849738ebe9
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:00007f8498156038 EFLAGS: 00000246 ORIG_RAX: 0000000000000035
RAX: ffffffffffffffda RBX: 00007f84975b5fa0 RCX: 00007f849738ebe9
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000001
RBP: 00007f8497411e19 R08: 0000000000000000 R09: 0000000000000000
R10: 00002000000029c0 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f84975b6038 R14: 00007f84975b5fa0 R15: 00007fff7c145d98
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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.