[v6.6] INFO: rcu detected stall in smp_call_function

5 views
Skip to first unread message

syzbot

unread,
Aug 10, 2025, 12:01:29 AM8/10/25
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3a8ababb8b6a Linux 6.6.101
git tree: linux-6.6.y
console output: https://syzkaller.appspot.com/x/log.txt?x=14a5fea2580000
kernel config: https://syzkaller.appspot.com/x/.config?x=a2bd95b6de4839b7
dashboard link: https://syzkaller.appspot.com/bug?extid=7eac2a6cab60e614d24b
compiler: Debian clang version 20.1.7 (++20250616065708+6146a88f6049-1~exp1~20250616065826.132), Debian LLD 20.1.7
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10860842580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/ae2055ece513/disk-3a8ababb.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/72f91e4de841/vmlinux-3a8ababb.xz
kernel image: https://storage.googleapis.com/syzbot-assets/3dae292c190e/bzImage-3a8ababb.xz

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

rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 0-....: (1 GPs behind) idle=5fcc/1/0x4000000000000000 softirq=59048/59052 fqs=4403
rcu: hardirqs softirqs csw/system
rcu: number: 8402782 0 0
rcu: cputime: 6026 46491 0 ==> 52500(ms)
rcu: (detected by 1, t=10502 jiffies, g=65309, q=815 ncpus=2)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 15160 Comm: syz.0.8110 Not tainted 6.6.101-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:trace_irq_enable+0x30/0xe0 include/trace/events/preemptirq.h:40
Code: 8b 05 30 c2 77 7e 83 f8 08 73 2e 89 c3 c1 e8 06 48 8d 3c c5 e8 84 4a 8e be 08 00 00 00 e8 58 e5 50 00 48 0f a3 1d e8 8c be 0c <73> 09 e8 c9 a7 e3 ff 84 c0 74 08 5b 41 5e c3 0f 0b eb ce 0f 0b eb
RSP: 0018:ffffc90000007a38 EFLAGS: 00000057
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff818bf7f8
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8e4a84e8
RBP: 0000000000000000 R08: ffffffff8e4a84ef R09: 1ffffffff1c9509d
R10: dffffc0000000000 R11: fffffbfff1c9509e R12: 0000000000000000
R13: 0000000000000000 R14: ffff888024bb0f18 R15: 0000000000000000
FS: 000055557149a500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33663fff CR3: 0000000030f7e000 CR4: 00000000003506f0
Call Trace:
<IRQ>
trace_hardirqs_on+0x18/0x40 kernel/trace/trace_preemptirq.c:56
asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:723
RIP: 0010:rcu_read_unlock_special+0x88/0x4c0 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 a9 4e 93 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:ffffc90000007b00 EFLAGS: 00000206
RAX: 203037906560c900 RBX: 1ffff92000000f68 RCX: 203037906560c900
RDX: dffffc0000000000 RSI: ffffffff8aaaba40 RDI: ffffffff8afc6780
RBP: ffffc90000007c00 R08: ffffffff90da362f R09: 1ffffffff21b46c5
R10: dffffc0000000000 R11: fffffbfff21b46c6 R12: ffffffff8cd35400
R13: dffffc0000000000 R14: 0000000000000246 R15: 0000000000000001
__rcu_read_unlock+0x7c/0xd0 kernel/rcu/tree_plugin.h:426
rcu_read_unlock include/linux/rcupdate.h:818 [inline]
ieee80211_rx_napi+0x21d/0x3c0 net/mac80211/rx.c:5430
ieee80211_rx include/net/mac80211.h:4969 [inline]
ieee80211_handle_queued_frames+0x106/0x1a0 net/mac80211/main.c:319
tasklet_action_common+0x2eb/0x4c0 kernel/softirq.c:809
handle_softirqs+0x280/0x820 kernel/softirq.c:578
__do_softirq kernel/softirq.c:612 [inline]
invoke_softirq kernel/softirq.c:452 [inline]
__irq_exit_rcu+0xc7/0x190 kernel/softirq.c:661
irq_exit_rcu+0x9/0x20 kernel/softirq.c:673
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline]
sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:generic_exec_single+0x476/0x4f0 kernel/smp.c:418
Code: 75 11 e8 3d e6 0a 00 48 85 db 75 16 e8 33 e6 0a 00 eb 15 e8 2c e6 0a 00 e8 27 69 f2 08 48 85 db 74 ea e8 1d e6 0a 00 fb 31 c0 <48> c7 44 24 20 0e 36 e0 45 4b c7 04 2c 00 00 00 00 66 43 c7 44 2c
RSP: 0018:ffffc9000cbdf8c0 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000200 RCX: ffff888061715a00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000cbdf990 R08: ffffffff90da362f R09: 1ffffffff21b46c5
R10: dffffc0000000000 R11: fffffbfff21b46c6 R12: 1ffff9200197bf1c
R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff9200197bf3d
smp_call_function_single+0x352/0x580 kernel/smp.c:647
task_function_call kernel/events/core.c:120 [inline]
event_function_call+0x31f/0x5f0 kernel/events/core.c:305
perf_event_release_kernel+0x1de/0x8c0 kernel/events/core.c:5417
perf_release+0x3b/0x40 kernel/events/core.c:5511
__fput+0x234/0x970 fs/file_table.c:384
task_work_run+0x1ce/0x250 kernel/task_work.c:239
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302
do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:87
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa02a18ebe9
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:00007ffc6b56f388 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 000000000007a283 RCX: 00007fa02a18ebe9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000001 R09: 000000036b56f67f
R10: 0000001b32a20000 R11: 0000000000000246 R12: 00007fa02a3b5fac
R13: 00007fa02a3b5fa0 R14: ffffffffffffffff R15: 0000000000000003
</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

syzbot

unread,
Aug 16, 2025, 12:05:32 PM8/16/25
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: bb9c90ab9c5a Linux 6.6.102
git tree: linux-6.6.y
console output: https://syzkaller.appspot.com/x/log.txt?x=13b663a2580000
kernel config: https://syzkaller.appspot.com/x/.config?x=7b989b97a0687b0a
dashboard link: https://syzkaller.appspot.com/bug?extid=7eac2a6cab60e614d24b
compiler: Debian clang version 20.1.7 (++20250616065708+6146a88f6049-1~exp1~20250616065826.132), Debian LLD 20.1.7
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=116a33a2580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=15e38442580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/3741b512b75a/disk-bb9c90ab.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/dedce7f4c998/vmlinux-bb9c90ab.xz
kernel image: https://storage.googleapis.com/syzbot-assets/acd529da0064/bzImage-bb9c90ab.xz

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

rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 0-....: (0 ticks this GP) idle=ec14/1/0x4000000000000000 softirq=47593/47594 fqs=5248
rcu: hardirqs softirqs csw/system
rcu: number: 10927641 0 0
rcu: cputime: 6202 46315 0 ==> 52500(ms)
rcu: (detected by 1, t=10502 jiffies, g=45081, q=1459 ncpus=2)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 9257 Comm: syz.2.2784 Not tainted 6.6.102-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:memset_orig+0x75/0xac arch/x86/lib/memset_64.S:90
Code: 89 47 30 48 89 47 38 48 8d 7f 40 75 d8 0f 1f 84 00 00 00 00 00 89 d1 83 e1 38 74 14 c1 e9 03 66 0f 1f 44 00 00 ff c9 48 89 07 <48> 8d 7f 08 75 f5 83 e2 07 74 0a ff ca 88 07 48 8d 7f 01 75 f6 4c
RSP: 0018:ffffc90000007418 EFLAGS: 00000006
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000005
RDX: 0000000000000038 RSI: 0000000000000000 RDI: ffffc90000007468
RBP: ffffc90000007528 R08: ffffc90000007497 R09: 0000000000000000
R10: ffffc90000007460 R11: fffff52000000e93 R12: 1ffff92000000e88
R13: ffffc90000007460 R14: ffff888062361248 R15: ffffc90000007700
FS: 000055558b024500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000007fe47000 CR4: 00000000003506f0
Call Trace:
<IRQ>
__perf_event_output kernel/events/core.c:7964 [inline]
perf_event_output_forward+0x215/0x3a0 kernel/events/core.c:7992
__perf_event_overflow+0x447/0x630 kernel/events/core.c:9717
perf_swevent_overflow kernel/events/core.c:9793 [inline]
perf_swevent_event+0x2f5/0x5c0 kernel/events/core.c:-1
perf_tp_event+0x4f9/0x13a0 kernel/events/core.c:10343
perf_trace_run_bpf_submit+0xf4/0x1c0 kernel/events/core.c:10267
perf_trace_preemptirq_template+0x281/0x340 include/trace/events/preemptirq.h:14
trace_irq_enable+0xbf/0xe0 include/trace/events/preemptirq.h:40
trace_hardirqs_on+0x18/0x40 kernel/trace/trace_preemptirq.c:56
asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:723
RIP: 0010:rcu_read_unlock_special+0x88/0x4c0 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 39 58 93 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:ffffc90000007b00 EFLAGS: 00000206
RAX: 54ba3bf715eb5800 RBX: 1ffff92000000f68 RCX: 54ba3bf715eb5800
RDX: dffffc0000000000 RSI: ffffffff8aaab9c0 RDI: ffffffff8afc66c0
RBP: ffffc90000007bf0 R08: ffffffff90da360f R09: 1ffffffff21b46c1
R10: dffffc0000000000 R11: fffffbfff21b46c2 R12: ffffffff8cd35400
R13: dffffc0000000000 R14: 0000000000000246 R15: 0000000000000001
__rcu_read_unlock+0x7c/0xd0 kernel/rcu/tree_plugin.h:426
rcu_read_unlock include/linux/rcupdate.h:818 [inline]
ieee80211_iterate_active_interfaces_atomic+0x15a/0x180 net/mac80211/util.c:804
mac80211_hwsim_beacon+0xbb/0x1b0 drivers/net/wireless/virtual/mac80211_hwsim.c:2295
__run_hrtimer kernel/time/hrtimer.c:1755 [inline]
__hrtimer_run_queues+0x51e/0xc40 kernel/time/hrtimer.c:1819
hrtimer_run_softirq+0x187/0x2b0 kernel/time/hrtimer.c:1836
handle_softirqs+0x280/0x820 kernel/softirq.c:578
__do_softirq kernel/softirq.c:612 [inline]
invoke_softirq kernel/softirq.c:452 [inline]
__irq_exit_rcu+0xc7/0x190 kernel/softirq.c:661
irq_exit_rcu+0x9/0x20 kernel/softirq.c:673
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline]
sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:generic_exec_single+0x476/0x4f0 kernel/smp.c:418
Code: 75 11 e8 3d e6 0a 00 48 85 db 75 16 e8 33 e6 0a 00 eb 15 e8 2c e6 0a 00 e8 37 a3 f2 08 48 85 db 74 ea e8 1d e6 0a 00 fb 31 c0 <48> c7 44 24 20 0e 36 e0 45 4b c7 04 2c 00 00 00 00 66 43 c7 44 2c
RSP: 0018:ffffc9000da2fa00 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000200 RCX: ffff88807cf0bc00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000da2fad0 R08: ffffffff90da360f R09: 1ffffffff21b46c1
R10: dffffc0000000000 R11: fffffbfff21b46c2 R12: 1ffff92001b45f44
R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff92001b45f65
smp_call_function_single+0x352/0x580 kernel/smp.c:647
task_function_call kernel/events/core.c:120 [inline]
perf_install_in_context+0x591/0x8e0 kernel/events/core.c:2948
__do_sys_perf_event_open kernel/events/core.c:12914 [inline]
__se_sys_perf_event_open+0x17fa/0x1c20 kernel/events/core.c:12566
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f6f8538ebe9
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:00007fff12dbadc8 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 00007f6f855b5fa0 RCX: 00007f6f8538ebe9
RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000200000000140
RBP: 00007f6f85411e19 R08: 0000000000000002 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6f855b5fa0 R14: 00007f6f855b5fa0 R15: 0000000000000005
</TASK>


---
Reply all
Reply to author
Forward
0 new messages