syzbot


WARNING in perf_pending_task

Status: upstream: reported C repro on 2025/06/27 13:50
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+4281a7c76d4ee0c96c3c@syzkaller.appspotmail.com
First crash: 7d06h, last: 3d09h
Bug presence (1)
Date Name Commit Repro Result
2025/07/02 upstream (ToT) 66701750d556 C [report] WARNING in perf_pending_task
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 WARNING in perf_pending_task 1 1d11h 1d11h 0/2 upstream: reported on 2025/07/03 08:45
linux-5.15 WARNING in perf_pending_task 2 4d09h 5d10h 0/3 upstream: reported on 2025/06/29 10:30
upstream WARNING in perf_pending_task perf C 12724 now 10d 0/29 upstream: reported C repro on 2025/06/24 19:01

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4671 at kernel/events/core.c:6578 perf_sigtrap kernel/events/core.c:6578 [inline]
WARNING: CPU: 0 PID: 4671 at kernel/events/core.c:6578 perf_pending_task+0x358/0x470 kernel/events/core.c:6690
Modules linked in:
CPU: 0 PID: 4671 Comm: syz.0.104 Not tainted 6.1.142-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:perf_sigtrap kernel/events/core.c:6578 [inline]
RIP: 0010:perf_pending_task+0x358/0x470 kernel/events/core.c:6690
Code: ff 84 db 75 14 e8 08 76 d9 ff 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 f4 75 d9 ff e8 27 1f 59 ff eb e5 e8 e8 75 d9 ff <0f> 0b e9 f3 fe ff ff e8 dc 75 d9 ff 48 c7 c7 30 20 9c 8c 4c 89 f6
RSP: 0018:ffffc90003c17920 EFLAGS: 00010293
RAX: ffffffff81a76198 RBX: ffff88801d244c58 RCX: ffff88802e26d940
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: dffffc0000000000 R09: ffffed1005c4dc69
R10: ffffed1005c4dc69 R11: 1ffff11005c4dc68 R12: ffff88802e26d940
R13: ffff88807ac7b960 R14: ffff88801d244a20 R15: 1ffff11003a48944
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fac91bb7bac CR3: 000000000c68e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 task_work_run+0x1ca/0x250 kernel/task_work.c:203
 exit_task_work include/linux/task_work.h:39 [inline]
 do_exit+0x93e/0x2400 kernel/exit.c:880
 do_group_exit+0x217/0x2d0 kernel/exit.c:1022
 get_signal+0x1272/0x1350 kernel/signal.c:2871
 arch_do_signal_or_restart+0xb0/0x1230 arch/x86/kernel/signal.c:871
 exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:174
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
 syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303
 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fac9198e929
Code: Unable to access opcode bytes at 0x7fac9198e8ff.
RSP: 002b:00007fac9283b0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007fac91bb5fa8 RCX: 00007fac9198e929
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fac91bb5fa8
RBP: 00007fac91bb5fa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fac91bb5fac
R13: 0000000000000000 R14: 00007ffd12196190 R15: 00007ffd12196278
 </TASK>

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/29 21:31 linux-6.1.y 7e69c33e4858 fc9d8ee5 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in perf_pending_task
2025/07/01 11:24 linux-6.1.y 7e69c33e4858 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in perf_pending_task
2025/07/01 11:21 linux-6.1.y 7e69c33e4858 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in perf_pending_task
2025/07/01 11:21 linux-6.1.y 7e69c33e4858 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in perf_pending_task
2025/07/01 11:19 linux-6.1.y 7e69c33e4858 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in perf_pending_task
2025/07/01 11:16 linux-6.1.y 7e69c33e4858 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in perf_pending_task
2025/07/01 11:06 linux-6.1.y 7e69c33e4858 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in perf_pending_task
2025/07/01 11:01 linux-6.1.y 7e69c33e4858 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in perf_pending_task
2025/07/01 11:00 linux-6.1.y 7e69c33e4858 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in perf_pending_task
2025/07/01 10:58 linux-6.1.y 7e69c33e4858 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in perf_pending_task
2025/07/01 10:57 linux-6.1.y 7e69c33e4858 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in perf_pending_task
2025/06/29 20:32 linux-6.1.y 7e69c33e4858 fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in perf_pending_task
2025/06/27 13:49 linux-6.1.y 7e69c33e4858 803ce19b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in perf_pending_task
* Struck through repros no longer work on HEAD.