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: 919d, last: 13d
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 2 77d 89d 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 692d 1090d 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 40 2d22h 919d 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 2120d 2126d 1/1 fixed on 2020/03/06 08:34
upstream general protection fault in path_openat ext4 2 C done 7 2124d 2124d 15/29 fixed on 2020/02/18 14:31
linux-4.14 general protection fault in path_openat 2 C done 40 2120d 2127d 1/1 fixed on 2020/03/06 21:15
android-6-1 general protection fault in path_openat origin:downstream 2 C done error 11 23d 919d 0/2 upstream: reported C repro on 2023/05/21 01:53
android-54 general protection fault in path_openat 2 syz 26 2119d 2126d 1/2 fixed on 2021/10/12 13:38
Last patch testing requests (10)
Created Duration User Patch Repo Result
2025/11/04 10:35 6m retest repro android13-5.15-lts report log
2025/11/04 10:35 12m retest repro android13-5.15-lts report log
2025/11/04 10:35 7m retest repro android13-5.15-lts report log
2025/11/04 10:35 5m retest repro android13-5.15-lts report log
2025/09/13 23:48 6m retest repro android13-5.15-lts report log
2025/08/27 14:20 19m retest repro android13-5.15-lts report log
2025/08/11 09:18 5m retest repro android13-5.15-lts report log
2025/08/11 09:18 13m retest repro android13-5.15-lts report log
2025/08/11 09:18 13m retest repro android13-5.15-lts report log
2025/08/11 09:18 13m 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 10/02/2025
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+0x11ff/0x2f10 fs/namei.c:3747
Code: 48 89 df e8 03 82 02 00 49 63 de 48 81 fb 00 f0 ff ff 0f 87 05 f8 ff ff eb 62 e8 ac 18 b7 ff 4c 8b 2c 24 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 6b 0d 00 00 44 8b 33 be 00 00 70 00 44
RSP: 0018:ffffc90000bf79c0 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 000000000000000a RCX: ffff88812cfcbb40
RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff88812cfcbb40
RBP: ffffc90000bf7bd0 R08: dffffc0000000000 R09: ffffed10213200b6
R10: ffffed10213200b6 R11: 1ffff110213200b5 R12: 0000000000000000
R13: ffffc90000bf7c20 R14: ffff88810ea84198 R15: dffffc0000000000
FS:  00007f58068206c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f580681ff98 CR3: 000000012b33b000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3777
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_openat fs/open.c:1266 [inline]
 __se_sys_openat fs/open.c:1261 [inline]
 __x64_sys_openat+0x136/0x160 fs/open.c:1261
 x64_sys_call+0x219/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:258
 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:0x7f58069d16c9
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:00007f5806820038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f5806c28090 RCX: 00007f58069d16c9
RDX: 0000000000000000 RSI: 0000200000000a80 RDI: ffffffffffffff9c
RBP: 00007f5806a53f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5806c28128 R14: 00007f5806c28090 R15: 00007ffee5707808
 </TASK>
Modules linked in:
---[ end trace b7260c168095f322 ]---
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+0x11ff/0x2f10 fs/namei.c:3747
Code: 48 89 df e8 03 82 02 00 49 63 de 48 81 fb 00 f0 ff ff 0f 87 05 f8 ff ff eb 62 e8 ac 18 b7 ff 4c 8b 2c 24 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 6b 0d 00 00 44 8b 33 be 00 00 70 00 44
RSP: 0018:ffffc90000bf79c0 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 000000000000000a RCX: ffff88812cfcbb40
RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff88812cfcbb40
RBP: ffffc90000bf7bd0 R08: dffffc0000000000 R09: ffffed10213200b6
R10: ffffed10213200b6 R11: 1ffff110213200b5 R12: 0000000000000000
R13: ffffc90000bf7c20 R14: ffff88810ea84198 R15: dffffc0000000000
FS:  00007f58068206c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f580681ff98 CR3: 000000012b33b000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	48 89 df             	mov    %rbx,%rdi
   3:	e8 03 82 02 00       	call   0x2820b
   8:	49 63 de             	movslq %r14d,%rbx
   b:	48 81 fb 00 f0 ff ff 	cmp    $0xfffffffffffff000,%rbx
  12:	0f 87 05 f8 ff ff    	ja     0xfffff81d
  18:	eb 62                	jmp    0x7c
  1a:	e8 ac 18 b7 ff       	call   0xffb718cb
  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 6b 0d 00 00    	jne    0xda2
  37:	44 8b 33             	mov    (%rbx),%r14d
  3a:	be 00 00 70 00       	mov    $0x700000,%esi
  3f:	44                   	rex.R

Crashes (15):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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
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.