INFO: rcu detected stall in sys_close_range (2)

Status: upstream: reported C repro on 2026/07/06 21:37
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+941a3734ead118eee304@syzkaller.appspotmail.com
First crash: 136d, last: 9d12h
Fix bisection: failed (error log)
  
▶ ▼ Bug presence (2)
Date Name Commit Repro Result
2026/10/07 linux-5.15.y (ToT) a051a4bf909f C [report] INFO: rcu detected stall in smp_call_function
2026/10/06 upstream (ToT) 69f80fef3153 C Didn't crash
▶ ▼ Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in close_range fs 1 1 575d 575d 0/29 auto-obsoleted due to no activity on 2025/07/22 12:43
linux-6.1 INFO: rcu detected stall in sys_close_range (2) origin:lts-only 1 syz, C inconclusive 8 53d 282d 0/3 upstream: reported C repro on 2026/02/10 20:38
linux-6.1 INFO: rcu detected stall in sys_close_range 1 syz, C done 3 433d 626d 0/3 auto-obsoleted due to no activity on 2025/12/22 06:21
linux-6.6 INFO: rcu detected stall in sys_close_range origin:lts-only 1 syz, C inconclusive 15 59d 463d 0/2 upstream: reported C repro on 2025/08/13 16:29
linux-5.15 INFO: rcu detected stall in sys_close_range 1 syz error 3 309d 382d 0/3 auto-obsoleted due to no activity on 2026/07/02 02:05

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-....: (1 GPs behind) idle=87b/1/0x4000000000000002 softirq=6519/6520 fqs=2099 
	(detected by 1, t=10502 jiffies, g=7705, q=405)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4414 Comm: syz.0.33 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026
RIP: 0010:preempt_count_sub+0x0/0x160 kernel/sched/core.c:5531
Code: 48 c7 c1 d8 65 6d 8e 80 e1 07 80 c1 03 38 c1 0f 8c 6e ff ff ff 48 c7 c7 d8 65 6d 8e e8 c9 16 6c 00 89 df e9 5b ff ff ff 66 90 <55> 53 48 bb 00 00 00 00 00 fc ff df 48 c7 c0 80 df 14 97 48 c1 e8
RSP: 0018:ffffc90000006d80 EFLAGS: 00000012
RAX: ffffc90000008000 RBX: ffffc90000006e80 RCX: ffffc90000007b88
RDX: ffffc90000006e01 RSI: ffffc90000007b70 RDI: 0000000000000001
RBP: dffffc0000000000 R08: ffffc90000007b70 R09: ffffc90000006ed0
R10: dffffc0000000000 R11: fffff52000000ddc R12: ffffc90000000000
R13: dffffc0000000000 R14: ffffc90000006e90 R15: ffffc90000007b80
FS:  000055555bd61500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000001a6ab CR3: 000000002b9b0000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 unwind_next_frame+0x11ec/0x1cf0 arch/x86/kernel/unwind_orc.c:616
 perf_callchain_kernel+0x470/0x760 arch/x86/events/core.c:2783
 get_perf_callchain+0x356/0x460 kernel/events/callchain.c:200
 perf_callchain kernel/events/core.c:7618 [inline]
 perf_prepare_sample+0x352/0x1cb0 kernel/events/core.c:7645
 __perf_event_output kernel/events/core.c:7814 [inline]
 perf_event_output_forward+0x185/0x2e0 kernel/events/core.c:7834
 __perf_event_overflow+0x35f/0x550 kernel/events/core.c:9527
 perf_tp_event+0x324/0xbe0 kernel/events/core.c:10059
 perf_trace_run_bpf_submit+0xf3/0x1c0 kernel/events/core.c:10033
 perf_trace_preemptirq_template+0x2aa/0x360 include/trace/events/preemptirq.h:14
 trace_irq_enable_rcuidle+0x108/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 d2 f6 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:ffffc90000007760 EFLAGS: 00000206
RAX: f0dfa4393d3a6b00 RBX: 1ffff92000000ef0 RCX: f0dfa4393d3a6b00
RDX: dffffc0000000000 RSI: ffffffff8a2b2b60 RDI: ffffffff8a7a5100
RBP: ffffc90000007840 R08: ffffffff9104715f R09: 1ffffffff2208e2b
R10: dffffc0000000000 R11: fffffbfff2208e2c R12: ffffffff8d123400
R13: dffffc0000000000 R14: 0000000000000246 R15: 0000000000000001
 __rcu_read_unlock+0x78/0xd0 kernel/rcu/tree_plugin.h:422
 rcu_read_unlock include/linux/rcupdate.h:772 [inline]
 __ip_queue_xmit+0x127d/0x1c60 net/ipv4/ip_output.c:539
 __tcp_transmit_skb+0x1ca3/0x31e0 net/ipv4/tcp_output.c:1404
 tcp_delack_timer_handler+0x2f8/0x700 net/ipv4/tcp_timer.c:314
 tcp_delack_timer+0x18d/0x2f0 net/ipv4/tcp_timer.c:341
 call_timer_fn+0x17b/0x540 kernel/time/timer.c:1648
 expire_timers kernel/time/timer.c:1699 [inline]
 __run_timers+0x56c/0x810 kernel/time/timer.c:1970
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1983
 handle_softirqs+0x336/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_addr_to_page+0x3/0x50 mm/kasan/report.c:148
Code: 41 5e c3 00 00 cc cc f0 48 0f ba 2d 36 49 5c 15 01 0f 92 c0 c3 66 90 85 ff 75 08 f0 80 25 24 49 5c 15 fd c3 0f 1f 00 48 89 f9 <48> c1 e9 27 31 c0 81 f9 11 ff ff 01 72 34 48 3b 3d 58 b1 5b 15 73
RSP: 0018:ffffc9000363fd50 EFLAGS: 00000293
RAX: ffffffff814fbc27 RBX: ffff88802d75c780 RCX: ffff88802d75c780
RDX: 0000000000000000 RSI: ffff88802d75c780 RDI: ffff88802d75c780
RBP: dffffc0000000000 R08: ffff88802d75c7ff R09: 1ffff11005aeb8ff
R10: dffffc0000000000 R11: ffffed1005aeb900 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff88807af10000 R15: ffff88802d75c780
 kasan_record_aux_stack+0xb/0x100 mm/kasan/generic.c:333
 task_work_add+0x2f/0x1d0 kernel/task_work.c:38
 fput_many+0xde/0x1a0 fs/file_table.c:367
 filp_close+0x10e/0x150 fs/open.c:1371
 __range_close fs/file.c:692 [inline]
 __close_range+0x24f/0x510 fs/file.c:747
 __do_sys_close_range fs/open.c:1410 [inline]
 __se_sys_close_range fs/open.c:1407 [inline]
 __x64_sys_close_range+0x76/0x80 fs/open.c:1407
 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:0x7faebe71eb19
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:00007ffe66ded488 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: ffffffffffffffda RBX: 00007ffe66ded570 RCX: 00007faebe71eb19
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 000000000001a6ab R08: 0000000000000001 R09: 0000000000000000
R10: 0000001b33a20000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007faebe9a4fac R14: 00007faebe9a4fa8 R15: 00007faebe9a4fa0
 </TASK>

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/07 03:30 linux-5.15.y 29c6cdaac04a 5cecaf1f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_close_range
2026/09/28 04:41 linux-5.15.y 0248c33e835e a3c7249d .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_close_range
2026/11/10 22:50 linux-5.15.y 29c6cdaac04a d3056657 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_close_range
2026/11/02 21:44 linux-5.15.y 700e62ea909a 6969b601 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_close_range
2026/10/11 02:47 linux-5.15.y a051a4bf909f 4f92358f .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_close_range
2026/09/30 01:29 linux-5.15.y 0248c33e835e 328436b3 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_close_range
2026/09/05 09:57 linux-5.15.y 0996e0926f6b 4f7b22a0 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_close_range
2026/07/06 21:36 linux-5.15.y c86c4726e7f0 88b240e4 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_close_range
* Struck through repros no longer work on HEAD.