general protection fault in hist_field_s32

Status: upstream: reported C repro on 2026/12/01 00:24
Reported-by: syzbot+31ab1a7758d73558f663@syzkaller.appspotmail.com
First crash: 41d, last: 9h00m

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000007: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000038-0x000000000000003f]
CPU: 0 PID: 298 Comm: strace-static-x Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:hist_field_s32+0x58/0xa0 kernel/trace/trace_events_hist.c:393
Code: f7 e8 7c 95 31 00 4d 8b 36 49 83 c6 24 4c 89 f0 48 c1 e8 03 42 0f b6 04 38 84 c0 75 20 49 63 06 48 01 c3 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 75 21 48 63 03 5b 41 5e 41 5f 5d c3 44 89 f1
RSP: 0018:ffffc9000095f4b8 EFLAGS: 00010002
RAX: 0000000000000007 RBX: 0000000000000038 RCX: ffff88811f0c2800
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888118a66e00
RBP: ffffc9000095f4d0 R08: ffffc9000095f707 R09: ffffc9000095f700
R10: dffffc0000000000 R11: fffff5200012bee1 R12: ffff888118a66e08
R13: dffffc0000000000 R14: ffff88810011e524 R15: dffffc0000000000
FS:  000000001067b400(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000000 CR3: 0000000100fd6000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 event_hist_trigger+0x377/0x1630 kernel/trace/trace_events_hist.c:4932
 event_triggers_call+0x1c1/0x2a0 kernel/trace/trace_events_trigger.c:-1
 trace_trigger_soft_disabled include/linux/trace_events.h:613 [inline]
 trace_event_raw_event_sched_switch+0xe5/0x470 include/trace/events/sched.h:222
 __traceiter_sched_switch+0x85/0xc0 include/trace/events/sched.h:222
 trace_sched_switch include/trace/events/sched.h:222 [inline]
 __schedule+0x1198/0x13e0 kernel/sched/core.c:4803
 schedule+0x13c/0x1d0 kernel/sched/core.c:4884
 do_wait+0x422/0x6a0 kernel/exit.c:1557
 kernel_wait4+0x1d1/0x2b0 kernel/exit.c:1701
 __do_sys_wait4 kernel/exit.c:1729 [inline]
 __se_sys_wait4 kernel/exit.c:1725 [inline]
 __x64_sys_wait4+0x163/0x230 kernel/exit.c:1725
 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x518762
Code: 18 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 75 1a 83 e2 39 83 fa 08 75 12 e8 2b ff ff ff 0f 1f 00 49 89 ca 48 8b 44 24 20 0f 05 <48> 83 c4 18 c3 66 0f 1f 84 00 00 00 00 00 48 83 ec 10 ff 74 24 18
RSP: 002b:00007ffd39b85c50 EFLAGS: 00000202 ORIG_RAX: 000000000000003d
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000518762
RDX: 0000000040000000 RSI: 00007ffd39b85cb0 RDI: ffffffffffffffff
RBP: 000000001067d250 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000676170 R14: 00007ffd39b85cb0 R15: 0000000010682730
Modules linked in:
---[ end trace 80e67c56a74374a8 ]---
RIP: 0010:hist_field_s32+0x58/0xa0 kernel/trace/trace_events_hist.c:393
Code: f7 e8 7c 95 31 00 4d 8b 36 49 83 c6 24 4c 89 f0 48 c1 e8 03 42 0f b6 04 38 84 c0 75 20 49 63 06 48 01 c3 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 75 21 48 63 03 5b 41 5e 41 5f 5d c3 44 89 f1
RSP: 0018:ffffc9000095f4b8 EFLAGS: 00010002
RAX: 0000000000000007 RBX: 0000000000000038 RCX: ffff88811f0c2800
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888118a66e00
RBP: ffffc9000095f4d0 R08: ffffc9000095f707 R09: ffffc9000095f700
R10: dffffc0000000000 R11: fffff5200012bee1 R12: ffff888118a66e08
R13: dffffc0000000000 R14: ffff88810011e524 R15: dffffc0000000000
FS:  000000001067b400(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000000 CR3: 0000000100fd6000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	f7 e8                	imul   %eax
   2:	7c 95                	jl     0xffffff99
   4:	31 00                	xor    %eax,(%rax)
   6:	4d 8b 36             	mov    (%r14),%r14
   9:	49 83 c6 24          	add    $0x24,%r14
   d:	4c 89 f0             	mov    %r14,%rax
  10:	48 c1 e8 03          	shr    $0x3,%rax
  14:	42 0f b6 04 38       	movzbl (%rax,%r15,1),%eax
  19:	84 c0                	test   %al,%al
  1b:	75 20                	jne    0x3d
  1d:	49 63 06             	movslq (%r14),%rax
  20:	48 01 c3             	add    %rax,%rbx
  23:	48 89 d8             	mov    %rbx,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 0f b6 04 38       	movzbl (%rax,%r15,1),%eax <-- trapping instruction
  2f:	84 c0                	test   %al,%al
  31:	75 21                	jne    0x54
  33:	48 63 03             	movslq (%rbx),%rax
  36:	5b                   	pop    %rbx
  37:	41 5e                	pop    %r14
  39:	41 5f                	pop    %r15
  3b:	5d                   	pop    %rbp
  3c:	c3                   	ret
  3d:	44 89 f1             	mov    %r14d,%ecx

Crashes (34):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/12/01 00:11 android13-5.10-lts b1ee1137bb9a ba8e13b2 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/11/30 19:20 android13-5.10-lts b1ee1137bb9a ba8e13b2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/11/30 18:45 android13-5.10-lts b1ee1137bb9a ba8e13b2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/11/30 18:42 android13-5.10-lts b1ee1137bb9a ba8e13b2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/11/30 18:41 android13-5.10-lts b1ee1137bb9a ba8e13b2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/11/30 17:36 android13-5.10-lts b1ee1137bb9a ba8e13b2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/11/30 17:29 android13-5.10-lts b1ee1137bb9a ba8e13b2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/11/30 17:19 android13-5.10-lts b1ee1137bb9a ba8e13b2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/11/30 17:17 android13-5.10-lts b1ee1137bb9a ba8e13b2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/11/30 17:17 android13-5.10-lts b1ee1137bb9a ba8e13b2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/11/28 02:21 android13-5.10-lts b1ee1137bb9a e1f06033 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/11/26 03:08 android13-5.10-lts b1ee1137bb9a 9a575fe5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/11/25 05:50 android13-5.10-lts b1ee1137bb9a bda6e3c6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/11/25 03:54 android13-5.10-lts b1ee1137bb9a bda6e3c6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/11/24 04:56 android13-5.10-lts c14ea03d0169 fab64d89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/11/24 04:10 android13-5.10-lts c14ea03d0169 fab64d89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/11/24 03:09 android13-5.10-lts c14ea03d0169 fab64d89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/11/24 03:06 android13-5.10-lts c14ea03d0169 fab64d89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/11/24 03:06 android13-5.10-lts c14ea03d0169 fab64d89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/11/24 03:04 android13-5.10-lts c14ea03d0169 fab64d89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/11/24 02:47 android13-5.10-lts c14ea03d0169 fab64d89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/11/24 02:44 android13-5.10-lts c14ea03d0169 fab64d89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/11/24 02:23 android13-5.10-lts c14ea03d0169 fab64d89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/11/24 02:23 android13-5.10-lts c14ea03d0169 fab64d89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/10/29 18:46 android13-5.10-lts f61a392235e0 b498adee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/10/28 06:49 android13-5.10-lts f61a392235e0 96923c60 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/10/28 06:36 android13-5.10-lts f61a392235e0 96923c60 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/10/28 03:14 android13-5.10-lts f61a392235e0 96923c60 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/10/26 18:19 android13-5.10-lts f61a392235e0 168cb7a2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/10/26 07:38 android13-5.10-lts f61a392235e0 1d9ca40b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/10/24 01:54 android13-5.10-lts d3231d350eb8 1d9ca40b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/10/23 11:40 android13-5.10-lts d3231d350eb8 d566bfda .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/10/21 06:10 android13-5.10-lts 30b93835619a 61c200c7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
2026/10/21 06:02 android13-5.10-lts 30b93835619a 61c200c7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in hist_field_s32
* Struck through repros no longer work on HEAD.