syzbot


INFO: rcu detected stall in sock_alloc_file (2)

Status: upstream: reported on 2025/10/24 19:33
Reported-by: syzbot+adbc0bd310742910f945@syzkaller.appspotmail.com
First crash: 130d, last: 4d11h
Similar bugs (7)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 INFO: rcu detected stall in sock_alloc_file (2) 1 1 89d 89d 0/2 upstream: reported on 2025/12/05 04:14
linux-6.6 INFO: rcu detected stall in sock_alloc_file 1 1 190d 190d 0/2 auto-obsoleted due to no activity on 2025/12/03 21:35
upstream INFO: rcu detected stall in sock_alloc_file fs 1 1 830d 830d 0/29 closed as invalid on 2024/02/01 10:31
upstream INFO: rcu detected stall in sock_alloc_file (3) mm 1 5 100d 236d 0/29 auto-obsoleted due to no activity on 2026/02/21 17:58
linux-5.15 INFO: rcu detected stall in sock_alloc_file 1 1 241d 241d 0/3 auto-obsoleted due to no activity on 2025/10/13 16:41
upstream INFO: rcu detected stall in sock_alloc_file (2) mm 1 6 409d 461d 0/29 auto-obsoleted due to no activity on 2025/04/19 00:40
linux-6.1 INFO: rcu detected stall in sock_alloc_file 1 1 181d 181d 0/3 auto-obsoleted due to no activity on 2025/12/12 11:49

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	1-....: (1 GPs behind) idle=1f9/1/0x4000000000000000 softirq=48444/48445 fqs=5249 
	(detected by 0, t=10502 jiffies, g=70053, q=1022)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 12471 Comm: syz.2.1704 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
RIP: 0010:rcu_nmi_exit+0x1d/0xf0 kernel/rcu/tree.c:752
Code: b0 47 fa e9 08 ff ff ff 0f 1f 44 00 00 41 57 41 56 53 e8 c6 08 00 00 89 c3 83 f8 08 0f 83 ad 00 00 00 4c 8b 34 dd 20 08 e3 8b <49> 83 be 00 b3 03 00 00 0f 8e 8c 00 00 00 e8 a0 08 00 00 89 c3 83
RSP: 0018:ffffc90000dd0940 EFLAGS: 00000097
RAX: 0000000000000001 RBX: 0000000000000001 RCX: 409900ccf55a2900
RDX: 0000000000000100 RSI: ffffffff8a79f7e0 RDI: ffffffff8a79f7a0
RBP: ffffc90000dd0a08 R08: ffffffff8d89dc2f R09: 1ffffffff1b13b85
R10: dffffc0000000000 R11: fffffbfff1b13b86 R12: 0000000000000001
R13: 0000000000000000 R14: ffff8880b9100000 R15: 0000000000000802
FS:  00007fd5c5b266c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fec51f826b8 CR3: 0000000066007000 CR4: 00000000003506e0
DR0: 0000200000000300 DR1: 0000200000000300 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff2 DR7: 0000000000000600
Call Trace:
 <IRQ>
 rcu_irq_exit_irqson+0x92/0x120 kernel/rcu/tree.c:841
 trace_irq_enable_rcuidle+0x11e/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 e2 f0 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:ffffc90000dd0b00 EFLAGS: 00000206
RAX: 409900ccf55a2900 RBX: 1ffff920001ba164 RCX: 409900ccf55a2900
RDX: dffffc0000000000 RSI: ffffffff8a2b2780 RDI: ffffffff8a79f800
RBP: ffffc90000dd0bd8 R08: ffff8880b913b30b R09: 1ffff11017227661
R10: dffffc0000000000 R11: ffffed1017227662 R12: ffffffff8c322f00
R13: dffffc0000000000 R14: 0000000000000246 R15: 0000000000000002
 __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+0x4eb/0xb70 kernel/time/hrtimer.c:1749
 hrtimer_run_softirq+0x176/0x240 kernel/time/hrtimer.c:1766
 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:__kasan_slab_alloc+0xb8/0xd0 mm/kasan/common.c:470
Code: 89 ff be 40 00 00 00 31 d2 e8 c4 8c a9 ff 4c 89 ff 89 c6 e8 3a 99 a9 ff 4c 89 ff 89 c6 44 89 f2 e8 ed 74 45 02 41 89 44 24 04 <48> 89 d8 48 8d 65 e0 5b 41 5c 41 5e 41 5f 5d c3 0f 1f 84 00 00 00
RSP: 0018:ffffc900032ef990 EFLAGS: 00000282
RAX: 00000000cd200199 RBX: ffff888023b78930 RCX: 409900ccf55a2900
RDX: 0000000000000dc0 RSI: 000000000000000d RDI: ffffc900032ef990
RBP: ffffc900032efbb8 R08: ffffffff89e000ca R09: 0000000000000002
R10: 00000000ae6d59a5 R11: 000000003d1ea9c5 R12: ffff888023b78980
R13: ffff888016de9000 R14: 0000000000000dc0 R15: ffffc900032ef990
 kasan_slab_alloc include/linux/kasan.h:254 [inline]
 slab_post_alloc_hook+0x4c/0x380 mm/slab.h:519
 slab_alloc_node mm/slub.c:3225 [inline]
 slab_alloc mm/slub.c:3233 [inline]
 kmem_cache_alloc+0x100/0x290 mm/slub.c:3238
 kmem_cache_zalloc include/linux/slab.h:728 [inline]
 lsm_file_alloc security/security.c:574 [inline]
 security_file_alloc+0x30/0x110 security/security.c:1530
 __alloc_file+0xc2/0x240 fs/file_table.c:137
 alloc_empty_file+0x90/0x180 fs/file_table.c:181
 alloc_file+0x5b/0x4f0 fs/file_table.c:223
 alloc_file_pseudo+0x180/0x200 fs/file_table.c:263
 sock_alloc_file+0xb3/0x240 net/socket.c:464
 __sys_socketpair+0x2cc/0x540 net/socket.c:1675
 __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:0x7fd5c78cc799
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:00007fd5c5b26028 EFLAGS: 00000246 ORIG_RAX: 0000000000000035
RAX: ffffffffffffffda RBX: 00007fd5c7b45fa0 RCX: 00007fd5c78cc799
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000001
RBP: 00007fd5c7962bd9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000200000000040 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd5c7b46038 R14: 00007fd5c7b45fa0 R15: 00007ffdb84d5168
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/02/27 23:35 linux-5.15.y 3330a8d33e08 2cf092b8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sock_alloc_file
2025/12/24 03:15 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_alloc_file
2025/11/30 01:31 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_alloc_file
2025/10/24 19:33 linux-5.15.y ac56c046adf4 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sock_alloc_file
* Struck through repros no longer work on HEAD.