syzbot


general protection fault in path_openat

Status: upstream: reported C repro on 2023/05/21 01:53
Bug presence: origin:downstream
[Documentation on labels]
Reported-by: syzbot+ea487d1ec1a25689e4d2@syzkaller.appspotmail.com
First crash: 1016d, last: 9d20h
Cause bisection: introduced by (bisect log) :
commit f5f4199c102aa676998b42abff60d071385c1c0c
Author: Daniel Rosenberg <drosen@google.com>
Date: Thu Dec 2 21:50:02 2021 +0000

  ANDROID: fuse-bpf v1.1

Crash: general protection fault in path_openat (log)
Repro: C syz .config
  
Bug presence (3)
Date Name Commit Repro Result
2023/09/24 android13-5.15-lts (ToT) ea586874d2f9 C [report] general protection fault in path_openat
2023/09/24 lts (merge base) aff03380bda4 C Didn't crash
2023/09/24 upstream (ToT) 3aba70aed91f C Didn't crash
Similar bugs (8)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-12 general protection fault in path_openat origin:downstream 2 C 5 12d 186d 0/1 premoderation: reported C repro on 2025/08/28 16:04
upstream BUG: unable to handle kernel paging request in path_openat reiserfs 8 C error inconclusive 52 789d 1187d 0/29 auto-obsoleted due to no activity on 2024/04/12 10:28
android-5-10 general protection fault in path_openat 2 C done 46 12d 1016d 0/2 upstream: reported C repro on 2023/05/21 01:33
linux-4.19 general protection fault in path_openat 2 C done 13 2217d 2223d 1/1 fixed on 2020/03/06 08:34
upstream general protection fault in path_openat ext4 2 C done 7 2221d 2221d 15/29 fixed on 2020/02/18 14:31
linux-4.14 general protection fault in path_openat 2 C done 40 2217d 2223d 1/1 fixed on 2020/03/06 21:15
android-6-1 general protection fault in path_openat origin:downstream 2 C done error 15 2d11h 1016d 0/2 upstream: reported C repro on 2023/05/21 01:53
android-54 general protection fault in path_openat 2 syz 26 2216d 2223d 1/2 fixed on 2021/10/12 13:38
Last patch testing requests (10)
Created Duration User Patch Repo Result
2026/02/08 06:06 7m retest repro android13-5.15-lts report log
2026/02/08 06:06 6m retest repro android13-5.15-lts report log
2026/02/08 06:06 5m retest repro android13-5.15-lts report log
2026/01/13 14:51 5m retest repro android13-5.15-lts report log
2026/01/13 14:51 11m retest repro android13-5.15-lts report log
2026/01/13 14:51 11m retest repro android13-5.15-lts report log
2026/01/13 14:51 7m retest repro android13-5.15-lts report log
2025/12/29 23:43 12m retest repro android13-5.15-lts report log
2025/11/29 19:54 7m retest repro android13-5.15-lts report log
2025/11/29 19:54 8m retest repro android13-5.15-lts report log
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2025/10/19 23:33 1h20m bisect fix android13-5.15-lts OK (0) job log log
2024/05/21 16:58 57m bisect fix android13-5.15-lts OK (0) job log log
2024/02/09 02:18 46m bisect fix android13-5.15-lts OK (0) job log log
2023/08/13 03:01 59m bisect fix android13-5.15-lts OK (0) job log log
2023/06/20 23:25 16m bisect fix android13-5.15-lts OK (0) job log log

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 0 PID: 372 Comm: syz.2.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
RIP: 0010:__d_entry_type include/linux/dcache.h:404 [inline]
RIP: 0010:d_is_miss include/linux/dcache.h:409 [inline]
RIP: 0010:d_is_negative include/linux/dcache.h:455 [inline]
RIP: 0010:atomic_open fs/namei.c:3349 [inline]
RIP: 0010:lookup_open fs/namei.c:3441 [inline]
RIP: 0010:open_last_lookups fs/namei.c:3540 [inline]
RIP: 0010:path_openat+0x11df/0x2f20 fs/namei.c:3747
Code: eb 0b e8 54 46 b6 ff 41 be f3 ff ff ff 48 89 df e8 16 8d 02 00 49 63 de eb 55 e8 3c 46 b6 ff 4c 8b 2c 24 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 9f 0d 00 00 44 8b 33 be 00 00 70 00 44
RSP: 0018:ffffc90000b578e0 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffff88810fda93c0
RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff88810fda93c0
RBP: ffffc90000b57af0 R08: ffff88810d246f3f R09: 1ffff11021a48de7
R10: dffffc0000000000 R11: ffffed1021a48de8 R12: 0000000000000000
R13: ffffc90000b57b60 R14: 0000000000000000 R15: dffffc0000000000
FS:  00007f68768246c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6876802ff8 CR3: 000000012138f000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 do_filp_open+0x1e2/0x410 fs/namei.c:3777
 do_sys_openat2+0x15e/0x7f0 fs/open.c:1236
 __do_sys_openat2 fs/open.c:1293 [inline]
 __se_sys_openat2 fs/open.c:1271 [inline]
 __x64_sys_openat2+0x21c/0x290 fs/open.c:1271
 x64_sys_call+0x457/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:438
 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:0x7f68769c1629
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:00007f6876824028 EFLAGS: 00000246 ORIG_RAX: 00000000000001b5
RAX: ffffffffffffffda RBX: 00007f6876c3afa0 RCX: 00007f68769c1629
RDX: 0000200000000100 RSI: 0000200000000000 RDI: 00000000ffffff9c
RBP: 00007f6876a57b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000018 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6876c3b038 R14: 00007f6876c3afa0 R15: 00007ffd33dec298
 </TASK>
Modules linked in:
---[ end trace 82710b3e49fe874f ]---
RIP: 0010:__d_entry_type include/linux/dcache.h:404 [inline]
RIP: 0010:d_is_miss include/linux/dcache.h:409 [inline]
RIP: 0010:d_is_negative include/linux/dcache.h:455 [inline]
RIP: 0010:atomic_open fs/namei.c:3349 [inline]
RIP: 0010:lookup_open fs/namei.c:3441 [inline]
RIP: 0010:open_last_lookups fs/namei.c:3540 [inline]
RIP: 0010:path_openat+0x11df/0x2f20 fs/namei.c:3747
Code: eb 0b e8 54 46 b6 ff 41 be f3 ff ff ff 48 89 df e8 16 8d 02 00 49 63 de eb 55 e8 3c 46 b6 ff 4c 8b 2c 24 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 9f 0d 00 00 44 8b 33 be 00 00 70 00 44
RSP: 0018:ffffc90000b578e0 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffff88810fda93c0
RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff88810fda93c0
RBP: ffffc90000b57af0 R08: ffff88810d246f3f R09: 1ffff11021a48de7
R10: dffffc0000000000 R11: ffffed1021a48de8 R12: 0000000000000000
R13: ffffc90000b57b60 R14: 0000000000000000 R15: dffffc0000000000
FS:  00007f68768246c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6876802ff8 CR3: 000000012138f000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	eb 0b                	jmp    0xd
   2:	e8 54 46 b6 ff       	call   0xffb6465b
   7:	41 be f3 ff ff ff    	mov    $0xfffffff3,%r14d
   d:	48 89 df             	mov    %rbx,%rdi
  10:	e8 16 8d 02 00       	call   0x28d2b
  15:	49 63 de             	movslq %r14d,%rbx
  18:	eb 55                	jmp    0x6f
  1a:	e8 3c 46 b6 ff       	call   0xffb6465b
  1f:	4c 8b 2c 24          	mov    (%rsp),%r13
  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:	0f 85 9f 0d 00 00    	jne    0xdd6
  37:	44 8b 33             	mov    (%rbx),%r14d
  3a:	be 00 00 70 00       	mov    $0x700000,%esi
  3f:	44                   	rex.R

Crashes (18):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/02/21 02:23 android13-5.15-lts 13d6d33696ef 6e7b5511 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in path_openat
2025/11/12 20:43 android13-5.15-lts 8a8f52308945 07e030de .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in path_openat
2025/07/22 22:43 android13-5.15-lts a71626bd56a5 8e9d1dc1 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in path_openat
2025/07/22 22:08 android13-5.15-lts a71626bd56a5 8e9d1dc1 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in path_openat
2025/04/30 14:59 android13-5.15-lts 88c4075c39ed 85a5a23f .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in path_openat
2025/01/05 02:46 android13-5.15-lts af461d0249a8 f3558dbf .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in path_openat
2024/03/01 08:42 android13-5.15-lts 993bed180178 352ab904 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in path_openat
2023/09/24 19:26 android13-5.15-lts ea586874d2f9 0b6a67ac .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in path_openat
2023/05/21 01:52 android13-5.15-lts 19c0ed55a470 4bce1a3e .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in path_openat
2026/02/18 21:32 android13-5.15-lts 13d6d33696ef 77d4d919 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in path_openat
2025/12/10 11:30 android13-5.15-lts 057fdbf6d3c7 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in path_openat
2025/09/16 04:36 android13-5.15-lts 8d934e0056f7 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in path_openat
2025/04/30 14:18 android13-5.15-lts 88c4075c39ed 85a5a23f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in path_openat
2025/01/05 02:16 android13-5.15-lts af461d0249a8 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in path_openat
2024/03/13 23:40 android13-5.15-lts 993bed180178 f919f202 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in path_openat
2023/12/05 03:44 android13-5.15-lts 0e7c7966689d f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in path_openat
2023/11/25 02:18 android13-5.15-lts 61cfd264993d 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in path_openat
2023/11/19 18:51 android13-5.15-lts 61cfd264993d cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in path_openat
* Struck through repros no longer work on HEAD.