syzbot
general protection fault in set_trigger_filter
Status:
premoderation: reported C repro on 2026/09/04 14:52
Reported-by: syzbot+5a7c8665e1cfdafc6bb4@syzkaller.appspotmail.com
First crash: 6d04h, last: 6d04h
Sample crash report:
RDX: 0000000000000020 RSI: 0000200000000180 RDI: 0000000000000003
RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000009
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000180
R13: 431bde82d7b634db R14: 00007fc66bc24c00 R15: 0000000000000002
</TASK>
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000004: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027]
CPU: 0 UID: 0 PID: 315 Comm: syz-executor250 Not tainted syzkaller #0 a94c0ccc1001594cac83a8f4adefd4b76cd2ae72
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:set_trigger_filter+0x1b2/0x540 kernel/trace/trace_events_trigger.c:1104
Code: 31 f6 ff b8 ea ff ff ff e9 c5 01 00 00 e8 96 31 f6 ff c7 44 24 0c ea ff ff ff 48 8b 44 24 10 4c 8d 78 20 4d 89 fe 49 c1 ee 03 <43> 80 3c 26 00 74 08 4c 89 ff e8 df 0b 4f 00 4d 8b 27 4c 8b 6c 24
RSP: 0018:ffffc900011bf7a0 EFLAGS: 00010202
RAX: 0000000000000000 RBX: 1ffff92000237ef8 RCX: ffff888104f09300
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900011bf870 R08: 0000000000000100 R09: 1ffffffff0ed6c4a
R10: 0000000000000000 R11: ffffffff81914430 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000004 R15: 0000000000000020
FS: 00005555627513c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc66bc00384 CR3: 00000001110e6000 CR4: 00000000003526b0
Call Trace:
<TASK>
event_trigger_reset_filter+0x61/0x80 kernel/trace/trace_events_trigger.c:938
event_hist_trigger_parse+0x3f14/0x5620 kernel/trace/trace_events_hist.c:6880
trigger_process_regex+0x1e3/0x280 kernel/trace/trace_events_trigger.c:268
event_trigger_regex_write kernel/trace/trace_events_trigger.c:305 [inline]
event_trigger_write+0x142/0x1e0 kernel/trace/trace_events_trigger.c:334
vfs_write+0x3c4/0xfd0 fs/read_write.c:682
ksys_write+0x145/0x260 fs/read_write.c:737
__do_sys_write fs/read_write.c:749 [inline]
__se_sys_write fs/read_write.c:746 [inline]
__x64_sys_write+0x7f/0x90 fs/read_write.c:746
x64_sys_call+0x271c/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:2
do_syscall_x64 arch/x86/entry/common.c:47 [inline]
do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7fc66bb98949
Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 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 d8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc6ae226b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007ffc6ae226d0 RCX: 00007fc66bb98949
RDX: 0000000000000020 RSI: 0000200000000180 RDI: 0000000000000003
RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000009
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000180
R13: 431bde82d7b634db R14: 00007fc66bc24c00 R15: 0000000000000002
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:set_trigger_filter+0x1b2/0x540 kernel/trace/trace_events_trigger.c:1104
Code: 31 f6 ff b8 ea ff ff ff e9 c5 01 00 00 e8 96 31 f6 ff c7 44 24 0c ea ff ff ff 48 8b 44 24 10 4c 8d 78 20 4d 89 fe 49 c1 ee 03 <43> 80 3c 26 00 74 08 4c 89 ff e8 df 0b 4f 00 4d 8b 27 4c 8b 6c 24
RSP: 0018:ffffc900011bf7a0 EFLAGS: 00010202
RAX: 0000000000000000 RBX: 1ffff92000237ef8 RCX: ffff888104f09300
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900011bf870 R08: 0000000000000100 R09: 1ffffffff0ed6c4a
R10: 0000000000000000 R11: ffffffff81914430 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000004 R15: 0000000000000020
FS: 00005555627513c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005594fb29c308 CR3: 00000001110e6000 CR4: 00000000003526b0
----------------
Code disassembly (best guess), 1 bytes skipped:
0: f6 ff idiv %bh
2: b8 ea ff ff ff mov $0xffffffea,%eax
7: e9 c5 01 00 00 jmp 0x1d1
c: e8 96 31 f6 ff call 0xfff631a7
11: c7 44 24 0c ea ff ff movl $0xffffffea,0xc(%rsp)
18: ff
19: 48 8b 44 24 10 mov 0x10(%rsp),%rax
1e: 4c 8d 78 20 lea 0x20(%rax),%r15
22: 4d 89 fe mov %r15,%r14
25: 49 c1 ee 03 shr $0x3,%r14
* 29: 43 80 3c 26 00 cmpb $0x0,(%r14,%r12,1) <-- trapping instruction
2e: 74 08 je 0x38
30: 4c 89 ff mov %r15,%rdi
33: e8 df 0b 4f 00 call 0x4f0c17
38: 4d 8b 27 mov (%r15),%r12
3b: 4c rex.WR
3c: 8b .byte 0x8b
3d: 6c insb (%dx),%es:(%rdi)
3e: 24 .byte 0x24
* Struck through repros no longer work on HEAD.