[v5.15] INFO: rcu detected stall in sys_close_range (2)

0 views
Skip to first unread message

syzbot

unread,
Jul 6, 2026, 5:37:24 PM (4 days ago) Jul 6
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: c86c4726e7f0 Linux 5.15.211
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=10e19b39580000
kernel config: https://syzkaller.appspot.com/x/.config?x=6f8e2266b61925dc
dashboard link: https://syzkaller.appspot.com/bug?extid=941a3734ead118eee304
compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=104e3832580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/730fb203742f/disk-c86c4726.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/41f32f9272bb/vmlinux-c86c4726.xz
kernel image: https://storage.googleapis.com/syzbot-assets/e3c1bf5f97a8/bzImage-c86c4726.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+941a37...@syzkaller.appspotmail.com

rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 0-...!: (0 ticks this GP) idle=4a5/1/0x4000000000000000 softirq=43459/43459 fqs=0
(detected by 1, t=10506 jiffies, g=47457, q=6659)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 18816 Comm: syz.0.6506 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:22 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline]
RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:132 [inline]
RIP: 0010:rcu_irq_exit_irqson+0xb1/0x120 kernel/rcu/tree.c:842
Code: 00 02 00 00 75 07 e8 0e 84 5a 08 eb 0f e8 07 82 1a 00 e8 02 84 5a 08 e8 0d 7e 1a 00 48 b8 04 00 00 00 00 fc ff df c6 04 03 00 <48> c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f7 44 24 20 00 02 00 00
RSP: 0018:ffffc90000007960 EFLAGS: 00000017
RAX: dffffc0000000004 RBX: 1ffff92000000f2c RCX: ffffffff89bf1e1f
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8880b903b308
RBP: ffffc90000007a08 R08: ffff8880b903b30b R09: 1ffff11017207661
R10: dffffc0000000000 R11: ffffed1017207662 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000802
FS: 00005555679fe500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000004 CR3: 000000005d7fd000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
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 c2 22 9d 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:ffffc90000007b00 EFLAGS: 00000206
RAX: bd1185f3dc25eb00 RBX: 1ffff92000000f64 RCX: bd1185f3dc25eb00
RDX: dffffc0000000000 RSI: ffffffff8a2b2be0 RDI: ffffffff8a7a2a40
RBP: ffffc90000007bd8 R08: ffff8880b903b30b R09: 1ffff11017207661
R10: dffffc0000000000 R11: ffffed1017207662 R12: ffffffff8c323400
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]
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+0x4ea/0xb60 kernel/time/hrtimer.c:1749
hrtimer_run_softirq+0x176/0x240 kernel/time/hrtimer.c:1766
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:deref_stack_reg+0x3/0x120 arch/x86/kernel/unwind_orc.c:356
Code: 00 e9 83 f7 ff ff 44 89 f1 80 e1 07 38 c1 0f 8c db f4 ff ff 4c 89 f7 e8 cb e5 88 00 e9 ce f4 ff ff 66 0f 1f 44 00 00 55 41 57 <41> 56 41 55 41 54 53 48 89 d3 49 89 f6 49 89 ff 49 bc 00 00 00 00
RSP: 0018:ffffc9000c73f938 EFLAGS: 00000283
RAX: fffffffffffffff0 RBX: ffffc9000c73f9e8 RCX: 0000000000000000
RDX: ffffc9000c73fa28 RSI: ffffc9000c73fb20 RDI: ffffc9000c73f9e8
RBP: dffffc0000000000 R08: ffffc9000c73fb20 R09: ffffc9000c73fa38
R10: dffffc0000000000 R11: fffff520018e7f49 R12: ffffffff8e086b65
R13: 1ffffffff1c10d6c R14: ffffc9000c73fa1d R15: ffffffff8e086b64
unwind_next_frame+0x10bb/0x1cf0 arch/x86/kernel/unwind_orc.c:-1
arch_stack_walk+0x10c/0x140 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0xa6/0xf0 kernel/stacktrace.c:122
kasan_save_stack+0x35/0x60 mm/kasan/common.c:38
kasan_record_aux_stack+0xb8/0x100 mm/kasan/generic.c:348
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:0x7f2bb3d4ee59
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:00007ffe2499ec58 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: ffffffffffffffda RBX: 00007ffe2499ed40 RCX: 00007f2bb3d4ee59
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 0000000000077843 R08: 0000000000000001 R09: 0000000000000000
R10: 0000001b2c920000 R11: 0000000000000246 R12: 00007ffe2499ed80
R13: 00007f2bb3fd6fac R14: 0000000000077883 R15: 00007f2bb3fd6fa0
</TASK>
rcu: rcu_preempt kthread timer wakeup didn't happen for 10505 jiffies! g47457 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: Possible timer handling issue on cpu=0 timer-softirq=31470
rcu: rcu_preempt kthread starved for 10506 jiffies! g47457 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=0
rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
task:rcu_preempt state:I stack:27760 pid: 15 ppid: 2 flags:0x00004000
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5049 [inline]
__schedule+0x11c3/0x4350 kernel/sched/core.c:6395
schedule+0x11b/0x1e0 kernel/sched/core.c:6478
schedule_timeout+0x184/0x2d0 kernel/time/timer.c:2117
rcu_gp_fqs_loop+0x2be/0x11f0 kernel/rcu/tree.c:1972
rcu_gp_kthread+0x9a/0x370 kernel/rcu/tree.c:2145
kthread+0x42e/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
</TASK>
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 18816 Comm: syz.0.6506 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
RIP: 0010:asm_sysvec_irq_work+0x0/0x20 arch/x86/include/asm/idtentry.h:707
Code: e9 a5 03 00 00 90 90 90 90 90 0f 01 ca fc 6a ff e8 a5 02 00 00 48 89 c4 48 89 e7 e8 3a ea de ff e9 85 03 00 00 90 90 90 90 90 <0f> 01 ca fc 6a ff e8 85 02 00 00 48 89 c4 48 89 e7 e8 0a ef de ff
RSP: 0018:ffffc90000007ad8 EFLAGS: 00000006
RAX: bd1185f3dc25eb00 RBX: 1ffff92000000f64 RCX: bd1185f3dc25eb00
RDX: dffffc0000000000 RSI: ffffffff8a2b2be0 RDI: ffffffff8a7a2a40
RBP: ffffc90000007bd8 R08: ffff8880b903b30b R09: 1ffff11017207661
R10: dffffc0000000000 R11: ffffed1017207662 R12: ffffffff8c323400
R13: dffffc0000000000 R14: 0000000000000246 R15: 0000000000000001
FS: 00005555679fe500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000004 CR3: 000000005d7fd000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
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 c2 22 9d 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:ffffc90000007b00 EFLAGS: 00000206
__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+0x4ea/0xb60 kernel/time/hrtimer.c:1749
hrtimer_run_softirq+0x176/0x240 kernel/time/hrtimer.c:1766
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:deref_stack_reg+0x3/0x120 arch/x86/kernel/unwind_orc.c:356
Code: 00 e9 83 f7 ff ff 44 89 f1 80 e1 07 38 c1 0f 8c db f4 ff ff 4c 89 f7 e8 cb e5 88 00 e9 ce f4 ff ff 66 0f 1f 44 00 00 55 41 57 <41> 56 41 55 41 54 53 48 89 d3 49 89 f6 49 89 ff 49 bc 00 00 00 00
RSP: 0018:ffffc9000c73f938 EFLAGS: 00000283
RAX: fffffffffffffff0 RBX: ffffc9000c73f9e8 RCX: 0000000000000000
RDX: ffffc9000c73fa28 RSI: ffffc9000c73fb20 RDI: ffffc9000c73f9e8
RBP: dffffc0000000000 R08: ffffc9000c73fb20 R09: ffffc9000c73fa38
R10: dffffc0000000000 R11: fffff520018e7f49 R12: ffffffff8e086b65
R13: 1ffffffff1c10d6c R14: ffffc9000c73fa1d R15: ffffffff8e086b64
unwind_next_frame+0x10bb/0x1cf0 arch/x86/kernel/unwind_orc.c:-1
arch_stack_walk+0x10c/0x140 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0xa6/0xf0 kernel/stacktrace.c:122
kasan_save_stack+0x35/0x60 mm/kasan/common.c:38
kasan_record_aux_stack+0xb8/0x100 mm/kasan/generic.c:348
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:0x7f2bb3d4ee59
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:00007ffe2499ec58 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: ffffffffffffffda RBX: 00007ffe2499ed40 RCX: 00007f2bb3d4ee59
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 0000000000077843 R08: 0000000000000001 R09: 0000000000000000
R10: 0000001b2c920000 R11: 0000000000000246 R12: 00007ffe2499ed80
R13: 00007f2bb3fd6fac R14: 0000000000077883 R15: 00007f2bb3fd6fa0
</TASK>


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup
Reply all
Reply to author
Forward
0 new messages