syzbot
BUG: soft lockup in perf_ioctl (2)
Status:
premoderation: reported on 2026/09/18 08:39
Reported-by: syzbot+2a9c6ae1c4d12ed4cf09@syzkaller.appspotmail.com
First crash: 7h47m, last: 7h47m
Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 245s! [syz.2.227:1050]
Modules linked in:
CPU: 0 PID: 1050 Comm: syz.2.227 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:ffs arch/x86/include/asm/bitops.h:297 [inline]
RIP: 0010:handle_softirqs+0x10d/0x560 kernel/softirq.c:571
Code: 08 85 e8 a6 c5 6f 03 65 66 c7 05 9c 40 c4 7e 00 00 48 c7 c7 60 2c 08 85 e8 90 c5 6f 03 65 44 89 35 a0 42 c3 7e fb 44 89 75 a4 <b8> ff ff ff ff 0f bc 45 a4 41 89 c5 41 ff c5 0f 85 c0 00 00 00 48
RSP: 0018:ffffc90000007f38 EFLAGS: 00000282
RAX: 0000000000000000 RBX: ffff888111bb0280 RCX: 06a60e9879137500
RDX: 1ffffffff0e18a00 RSI: ffffffff85082c60 RDI: ffffffff85638d80
RBP: ffffc90000007fc0 R08: ffffffff870c5008 R09: ffffffff870c5018
R10: ffffffff870c5003 R11: 1ffffffff0e18a00 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000280 R15: 000000000000000a
FS: 00007f2d15fa86c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000001295e0000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000200000000300 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
<IRQ>
__do_softirq kernel/softirq.c:621 [inline]
invoke_softirq kernel/softirq.c:443 [inline]
__irq_exit_rcu+0x52/0xf0 kernel/softirq.c:670
irq_exit_rcu+0x9/0x10 kernel/softirq.c:682
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1108
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:put_ctx+0xe/0x190 kernel/events/core.c:1302
Code: df ff be 01 00 00 00 48 89 df e8 4d 96 c5 00 eb d9 66 2e 0f 1f 84 00 00 00 00 00 90 55 48 89 e5 41 57 41 56 41 54 53 48 89 fb <e8> 1d 26 df ff 4c 8d b3 bc 00 00 00 4c 89 f7 be 04 00 00 00 e8 09
RSP: 0018:ffffc90000c87bb0 EFLAGS: 00000246
RAX: 06a60e9879137500 RBX: ffff888127c25c00 RCX: 0000000000000000
RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff888127c25c00
RBP: ffffc90000c87bd0 R08: ffffc90000c87b67 R09: 1ffff92000190f6c
R10: dffffc0000000000 R11: fffff52000190f6d R12: 0000000040042408
R13: dffffc0000000000 R14: fffff52000190f8c R15: 0000000000000000
perf_event_ctx_unlock kernel/events/core.c:1412 [inline]
perf_ioctl+0x1494/0x1e50 kernel/events/core.c:5887
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl+0x121/0x1a0 fs/ioctl.c:860
__x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:860
x64_sys_call+0x2f/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:17
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:0x7f2d1754f159
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:00007f2d15fa8028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f2d177d6fa0 RCX: 00007f2d1754f159
RDX: 0000000000000004 RSI: 0000000040042408 RDI: 0000000000000003
RBP: 00007f2d175e606b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2d177d7038 R14: 00007f2d177d6fa0 R15: 00007ffe4848a078
</TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline]
NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline]
NMI backtrace for cpu 1 skipped: idling at default_idle+0xf/0x20 arch/x86/kernel/process.c:729
* Struck through repros no longer work on HEAD.