syzbot


INFO: rcu detected stall in sock_alloc_file (2)

Status: upstream: reported on 2026/04/01 17:08
Reported-by: syzbot+f74682e9cfcbf29e3c25@syzkaller.appspotmail.com
First crash: 112d, last: 12h37m
Similar bugs (8)
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 229d 229d 0/2 auto-obsoleted due to no activity on 2026/03/15 04:14
linux-6.6 INFO: rcu detected stall in sock_alloc_file 1 1 330d 330d 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 971d 971d 0/29 closed as invalid on 2024/02/01 10:31
upstream INFO: rcu detected stall in sock_alloc_file (3) mm 1 5 241d 377d 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 382d 382d 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 549d 602d 0/29 auto-obsoleted due to no activity on 2025/04/19 00:40
linux-5.15 INFO: rcu detected stall in sock_alloc_file (2) 1 8 2d00h 271d 0/3 upstream: reported on 2025/10/24 19:33
linux-6.1 INFO: rcu detected stall in sock_alloc_file 1 1 322d 322d 0/3 auto-obsoleted due to no activity on 2025/12/12 11:49

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 1-.... } 2685 jiffies s: 122477 root: 0x2/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 21748 Comm: syz.6.4664 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026
RIP: 0010:native_apic_msr_eoi_write+0xb/0x10 arch/x86/include/asm/apic.h:212
Code: 8b 06 bf f0 03 00 00 89 de 5b 41 5e 41 5f ff e0 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b9 0b 08 00 00 31 c0 31 d2 0f 30 <c3> 0f 1f 40 00 81 ff cf 00 00 00 7f 0c 83 ff 20 74 2a 83 ff 30 74
RSP: 0018:ffffc900001e0678 EFLAGS: 00000046
RAX: 0000000000000000 RBX: ffffffff8c65fb30 RCX: 000000000000080b
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000000000b0
RBP: 0000000000000000 R08: ffffffff8fa25048 R09: ffffffff8fa25058
R10: ffffffff8fa25050 R11: ffffffff8fa25043 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000
FS:  00007f840aa566c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555591e637d0 CR3: 00000000601b5000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000200000000300 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 apic_eoi arch/x86/include/asm/apic.h:399 [inline]
 ack_APIC_irq arch/x86/include/asm/apic.h:445 [inline]
 __sysvec_irq_work+0x53/0x350 arch/x86/kernel/irq_work.c:19
 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+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 52 82 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:ffffc900001e0760 EFLAGS: 00000206
RAX: 9b0d6e84de710c00 RBX: 1ffff9200003c0f4 RCX: 9b0d6e84de710c00
RDX: dffffc0000000000 RSI: ffffffff8a8c17a0 RDI: ffffffff8adf42e0
RBP: ffffc900001e0860 R08: ffffffff90b10337 R09: 1ffffffff2162066
R10: dffffc0000000000 R11: fffffbfff2162067 R12: 0000000000000246
R13: dffffc0000000000 R14: ffff8880b8f3bb00 R15: 0000000000000002
 __rcu_read_unlock+0x78/0xd0 kernel/rcu/tree_plugin.h:426
 rcu_read_unlock include/linux/rcupdate.h:823 [inline]
 ndisc_send_skb+0xdc2/0x1520 net/ipv6/ndisc.c:521
 addrconf_rs_timer+0x367/0x640 net/ipv6/addrconf.c:3979
 call_timer_fn+0x1ac/0x670 kernel/time/timer.c:1701
 expire_timers kernel/time/timer.c:1752 [inline]
 __run_timers+0x56c/0x810 kernel/time/timer.c:2023
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:2036
 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
 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:bpf_lsm_d_instantiate+0x0/0x10 include/linux/lsm_hook_defs.h:258
Code: c0 c3 0f 1f 84 00 00 00 00 00 e8 1b 18 df ff 31 c0 c3 0f 1f 84 00 00 00 00 00 e8 0b 18 df ff 31 c0 c3 0f 1f 84 00 00 00 00 00 <e8> fb 17 df ff c3 66 2e 0f 1f 84 00 00 00 00 00 e8 eb 17 df ff b8
RSP: 0018:ffffc9000d33fd08 EFLAGS: 00000246
RAX: 1ffffffff18cc721 RBX: ffff8880321df8c0 RCX: 0000000000080000
RDX: ffffc9001ede0000 RSI: ffff8880321df8c0 RDI: ffff888054d8bbe8
RBP: 0000000000000000 R08: ffff888054d8bd1f R09: ffff888054d8bd10
R10: dffffc0000000000 R11: ffffed100a9b17a4 R12: dffffc0000000000
R13: ffff888054d8bbe8 R14: ffff888054d8bbe8 R15: ffffffff8c6638f0
 security_d_instantiate+0x99/0xf0 security/security.c:2097
 d_instantiate+0x51/0x90 fs/dcache.c:2043
 alloc_file_pseudo+0x16f/0x200 fs/file_table.c:271
 sock_alloc_file+0xb3/0x240 net/socket.c:467
 __sys_socketpair+0x372/0x540 net/socket.c:1764
 __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:0x7f8409b9de99
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:00007f840aa56028 EFLAGS: 00000246 ORIG_RAX: 0000000000000035
RAX: ffffffffffffffda RBX: 00007f8409e25fa0 RCX: 00007f8409b9de99
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: 00007f8409c33eaf R08: 0000000000000000 R09: 0000000000000000
R10: 0000200000000100 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f8409e26038 R14: 00007f8409e25fa0 R15: 00007ffe71e23498
 </TASK>

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/22 08:02 linux-6.1.y 090666d3cc90 b561ce9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in sock_alloc_file
2026/07/13 00:44 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_alloc_file
2026/07/08 17:20 linux-6.1.y 090666d3cc90 88a4b44c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in sock_alloc_file
2026/07/01 20:37 linux-6.1.y fdb6fcb41cc7 27192279 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in sock_alloc_file
2026/06/27 09:02 linux-6.1.y fdb6fcb41cc7 fb92f11c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in sock_alloc_file
2026/06/23 05:24 linux-6.1.y fdb6fcb41cc7 5a630be6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in sock_alloc_file
2026/06/18 23:45 linux-6.1.y 228da13e907e a776b0d0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in sock_alloc_file
2026/04/01 17:08 linux-6.1.y 1989cd3d56e2 9a1f7828 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in sock_alloc_file
* Struck through repros no longer work on HEAD.