syzbot


general protection fault in bpf_overflow_handler

Status: upstream: reported C repro on 2025/08/26 05:26
Reported-by: syzbot+efae04d27745742cddeb@syzkaller.appspotmail.com
First crash: 253d, last: 9d00h
Last patch testing requests (10)
Created Duration User Patch Repo Result
2025/12/16 04:41 5m retest repro android13-5.10-lts report log
2025/12/16 04:41 9m retest repro android13-5.10-lts report log
2025/11/21 17:59 19m retest repro android13-5.10-lts OK log
2025/10/09 15:32 9m retest repro android13-5.10-lts report log
2025/10/09 15:32 7m retest repro android13-5.10-lts report log
2025/09/11 23:55 12m retest repro android13-5.10-lts report log
2025/07/29 11:15 15m retest repro android13-5.10-lts report log
2025/07/29 11:15 8m retest repro android13-5.10-lts report log
2025/05/18 17:00 8m retest repro android13-5.10-lts report log
2025/05/18 17:00 14m retest repro android13-5.10-lts report log

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000004: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027]
CPU: 1 PID: 388 Comm: syz.6.19 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:bpf_overflow_handler+0x292/0x3a0 kernel/events/core.c:9862
Code: 00 74 0a 48 8b 7c 24 18 e8 cb 1e 1a 00 48 8b 44 24 18 4c 8b 28 49 83 c5 20 4c 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 ef e8 a0 1e 1a 00 bb 70 02 00 00 49 03 5d
RSP: 0018:ffffc90000e37440 EFLAGS: 00010202
RAX: 0000000000000004 RBX: 1ffff110250b9e79 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc90000e37430
RBP: ffffc90000e37540 R08: dffffc0000000000 R09: ffffc90000e37428
R10: fffff520001c6e86 R11: 1ffff920001c6e85 R12: 0000000000000090
R13: 0000000000000020 R14: ffff8881285cf000 R15: 1ffff920001c6e90
FS:  00007f5cc96916c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000004 CR3: 000000012b821000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __perf_event_overflow+0x1b3/0x340 kernel/events/core.c:9086
 perf_swevent_overflow kernel/events/core.c:9162 [inline]
 perf_swevent_event+0x2f7/0x530 kernel/events/core.c:-1
 do_perf_sw_event kernel/events/core.c:9303 [inline]
 ___perf_sw_event+0x377/0x470 kernel/events/core.c:9334
 __perf_sw_event+0x134/0x270 kernel/events/core.c:9346
 perf_sw_event include/linux/perf_event.h:1179 [inline]
 do_user_addr_fault+0xc6a/0xc80 arch/x86/mm/fault.c:1255
 handle_page_fault arch/x86/mm/fault.c:1428 [inline]
 exc_page_fault+0x5a/0xc0 arch/x86/mm/fault.c:1484
 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:571
RIP: 0010:__put_user_nocheck_4+0x3/0x11
Code: 00 00 48 39 d9 73 54 0f 01 cb 66 89 01 31 c9 0f 01 ca c3 90 90 90 90 90 48 bb fd ef ff ff ff 7f 00 00 48 39 d9 73 34 0f 01 cb <89> 01 31 c9 0f 01 ca c3 90 90 90 90 90 90 48 bb f9 ef ff ff ff 7f
RSP: 0018:ffffc90000e37a78 EFLAGS: 00050246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000200000000430
RDX: ffffc90000e37eb0 RSI: 0000000000000000 RDI: 00000000ffffffff
RBP: ffffc90000e37c10 R08: 0000000000000004 R09: 0000000000000003
R10: fffff520001c6f04 R11: 1ffff920001c6f04 R12: dffffc0000000000
R13: 0000200000000400 R14: 0000000000000000 R15: 0000000000000000
 ___sys_recvmsg+0x1af/0x4f0 net/socket.c:2637
 __sys_recvmsg net/socket.c:2667 [inline]
 __do_sys_recvmsg net/socket.c:2677 [inline]
 __se_sys_recvmsg net/socket.c:2674 [inline]
 __x64_sys_recvmsg+0x1dd/0x2a0 net/socket.c:2674
 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f5cc9821749
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:00007f5cc9691038 EFLAGS: 00000246 ORIG_RAX: 000000000000002f
RAX: ffffffffffffffda RBX: 00007f5cc9a77fa0 RCX: 00007f5cc9821749
RDX: 0000000000000000 RSI: 0000200000000400 RDI: 0000000000000005
RBP: 00007f5cc98a5f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5cc9a78038 R14: 00007f5cc9a77fa0 R15: 00007ffe0c4f42a8
Modules linked in:
---[ end trace 9a87950fc033681d ]---
RIP: 0010:bpf_overflow_handler+0x292/0x3a0 kernel/events/core.c:9862
Code: 00 74 0a 48 8b 7c 24 18 e8 cb 1e 1a 00 48 8b 44 24 18 4c 8b 28 49 83 c5 20 4c 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 ef e8 a0 1e 1a 00 bb 70 02 00 00 49 03 5d
RSP: 0018:ffffc90000e37440 EFLAGS: 00010202
RAX: 0000000000000004 RBX: 1ffff110250b9e79 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc90000e37430
RBP: ffffc90000e37540 R08: dffffc0000000000 R09: ffffc90000e37428
R10: fffff520001c6e86 R11: 1ffff920001c6e85 R12: 0000000000000090
R13: 0000000000000020 R14: ffff8881285cf000 R15: 1ffff920001c6e90
FS:  00007f5cc96916c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000004 CR3: 000000012b821000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	00 74 0a 48          	add    %dh,0x48(%rdx,%rcx,1)
   4:	8b 7c 24 18          	mov    0x18(%rsp),%edi
   8:	e8 cb 1e 1a 00       	call   0x1a1ed8
   d:	48 8b 44 24 18       	mov    0x18(%rsp),%rax
  12:	4c 8b 28             	mov    (%rax),%r13
  15:	49 83 c5 20          	add    $0x20,%r13
  19:	4c 89 e8             	mov    %r13,%rax
  1c:	48 c1 e8 03          	shr    $0x3,%rax
  20:	48 b9 00 00 00 00 00 	movabs $0xdffffc0000000000,%rcx
  27:	fc ff df
* 2a:	80 3c 08 00          	cmpb   $0x0,(%rax,%rcx,1) <-- trapping instruction
  2e:	74 08                	je     0x38
  30:	4c 89 ef             	mov    %r13,%rdi
  33:	e8 a0 1e 1a 00       	call   0x1a1ed8
  38:	bb 70 02 00 00       	mov    $0x270,%ebx
  3d:	49                   	rex.WB
  3e:	03                   	.byte 0x3
  3f:	5d                   	pop    %rbp

Crashes (20):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/31 01:26 android13-5.10-lts e253c52bbdfc d6526ea3 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf general protection fault in bpf_overflow_handler
2025/12/29 23:57 android13-5.10-lts e253c52bbdfc d6526ea3 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf general protection fault in bpf_overflow_handler
2025/12/24 23:52 android13-5.10-lts e253c52bbdfc d6526ea3 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf general protection fault in bpf_overflow_handler
2025/12/02 02:37 android13-5.10-lts 9286af17ed5f d6526ea3 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf general protection fault in bpf_overflow_handler
2025/11/24 10:10 android13-5.10-lts e625d26dbfea 4fb8ef37 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf general protection fault in bpf_overflow_handler
2025/05/01 05:44 android13-5.10-lts ab07aeb2c93d ce7952f4 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf general protection fault in bpf_overflow_handler
2025/05/01 01:57 android13-5.10-lts ab07aeb2c93d ce7952f4 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf general protection fault in bpf_overflow_handler
2025/12/31 00:48 android13-5.10-lts e253c52bbdfc d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf general protection fault in bpf_overflow_handler
2025/12/29 23:17 android13-5.10-lts e253c52bbdfc d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf general protection fault in bpf_overflow_handler
2025/12/24 23:16 android13-5.10-lts e253c52bbdfc d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf general protection fault in bpf_overflow_handler
2025/12/18 01:32 android13-5.10-lts e253c52bbdfc d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf general protection fault in bpf_overflow_handler
2025/12/17 06:56 android13-5.10-lts e253c52bbdfc d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf general protection fault in bpf_overflow_handler
2025/12/02 02:00 android13-5.10-lts 9286af17ed5f d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf general protection fault in bpf_overflow_handler
2025/11/24 06:15 android13-5.10-lts e625d26dbfea 4fb8ef37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf general protection fault in bpf_overflow_handler
2025/11/02 23:56 android13-5.10-lts ab3e1c0dd1ff 2c50b6a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf general protection fault in bpf_overflow_handler
2025/08/26 05:21 android13-5.10-lts 1154f779f3f3 bf27483f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf general protection fault in bpf_overflow_handler
2025/08/26 00:16 android13-5.10-lts 1154f779f3f3 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf general protection fault in bpf_overflow_handler
2025/08/16 00:15 android13-5.10-lts 1154f779f3f3 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf general protection fault in bpf_overflow_handler
2025/05/04 10:49 android13-5.10-lts ab07aeb2c93d b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf general protection fault in bpf_overflow_handler
2025/04/30 12:07 android13-5.10-lts ab07aeb2c93d 85a5a23f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf general protection fault in bpf_overflow_handler
* Struck through repros no longer work on HEAD.