syzbot


general protection fault in do_dentry_open

Status: upstream: reported C repro on 2026/03/19 07:20
Subsystems: overlayfs
[Documentation on labels]
Reported-by: syzbot+f34aab278bf5d664e2be@syzkaller.appspotmail.com
First crash: 5d16h, last: 8h28m
Discussions (4)
Title Replies (including bot) Last reply
[PATCH v7] backing_file: store an internal O_PATH user_path_file 1 (1) 2026/03/20 13:53
[PATCH v2] fs: allow backing file code to open an O_PATH file with negative dentry 2 (2) 2026/03/20 12:33
[PATCH] fs: allow vfs code to open an O_PATH file with negative dentry 7 (7) 2026/03/20 12:15
[syzbot] [overlayfs?] general protection fault in do_dentry_open 1 (3) 2026/03/19 19:03
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel paging request in do_dentry_open fs efi 8 1 363d 359d 0/29 auto-obsoleted due to no activity on 2025/06/23 03:41
Last patch testing requests (1)
Created Duration User Patch Repo Result
2026/03/19 10:57 8h05m amir73il@gmail.com https://github.com/amir73il/linux.git vfs-fixes error

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037]
CPU: 0 UID: 0 PID: 6035 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
RIP: 0010:do_dentry_open+0xaf/0x14e0 fs/open.c:896
Code: 44 24 28 80 3c 28 00 74 08 4c 89 ff e8 fa 5e ef ff 4c 89 7c 24 20 4d 89 27 4d 8d 7c 24 30 4c 89 f8 48 c1 e8 03 48 89 44 24 58 <80> 3c 28 00 74 08 4c 89 ff e8 e3 5d ef ff 4c 89 7c 24 60 4d 8b 3f
RSP: 0018:ffffc900037d7638 EFLAGS: 00010206
RAX: 0000000000000006 RBX: ffff88807217db60 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 00000000ffffffff
RBP: dffffc0000000000 R08: ffff88807b54d9b3 R09: 1ffff1100f6a9b36
R10: dffffc0000000000 R11: ffffed100f6a9b37 R12: 0000000000000000
R13: 1ffff1100e42fb7d R14: ffff88807217dbe8 R15: 0000000000000030
FS:  00005555907f6500(0000) GS:ffff888124de1000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001000 CR3: 00000000772e8000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 vfs_open+0x3b/0x340 fs/open.c:1081
 backing_file_open_user_path+0x24/0x50 fs/file_table.c:73
 backing_tmpfile_open+0x9b/0xf0 fs/backing-file.c:71
 ovl_create_tmpfile fs/overlayfs/dir.c:1392 [inline]
 ovl_tmpfile+0x400/0x810 fs/overlayfs/dir.c:1449
 vfs_tmpfile+0x3ff/0x890 fs/namei.c:4744
 do_tmpfile+0xd3/0x240 fs/namei.c:4809
 path_openat+0x300d/0x3860 fs/namei.c:4843
 do_file_open+0x23e/0x4a0 fs/namei.c:4881
 do_sys_openat2+0x113/0x200 fs/open.c:1366
 do_sys_open fs/open.c:1372 [inline]
 __do_sys_open fs/open.c:1380 [inline]
 __se_sys_open fs/open.c:1376 [inline]
 __x64_sys_open+0x11e/0x150 fs/open.c:1376
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff99279c799
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:00007fff78638ef8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007ff992a15fa0 RCX: 00007ff99279c799
RDX: 0000000000000028 RSI: 0000000000551083 RDI: 0000200000000040
RBP: 00007ff992832c99 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ff992a15fac R14: 00007ff992a15fa0 R15: 00007ff992a15fa0
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:do_dentry_open+0xaf/0x14e0 fs/open.c:896
Code: 44 24 28 80 3c 28 00 74 08 4c 89 ff e8 fa 5e ef ff 4c 89 7c 24 20 4d 89 27 4d 8d 7c 24 30 4c 89 f8 48 c1 e8 03 48 89 44 24 58 <80> 3c 28 00 74 08 4c 89 ff e8 e3 5d ef ff 4c 89 7c 24 60 4d 8b 3f
RSP: 0018:ffffc900037d7638 EFLAGS: 00010206
RAX: 0000000000000006 RBX: ffff88807217db60 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 00000000ffffffff
RBP: dffffc0000000000 R08: ffff88807b54d9b3 R09: 1ffff1100f6a9b36
R10: dffffc0000000000 R11: ffffed100f6a9b37 R12: 0000000000000000
R13: 1ffff1100e42fb7d R14: ffff88807217dbe8 R15: 0000000000000030
FS:  00005555907f6500(0000) GS:ffff888124de1000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001000 CR3: 00000000772e8000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
   0:	44 24 28             	rex.R and $0x28,%al
   3:	80 3c 28 00          	cmpb   $0x0,(%rax,%rbp,1)
   7:	74 08                	je     0x11
   9:	4c 89 ff             	mov    %r15,%rdi
   c:	e8 fa 5e ef ff       	call   0xffef5f0b
  11:	4c 89 7c 24 20       	mov    %r15,0x20(%rsp)
  16:	4d 89 27             	mov    %r12,(%r15)
  19:	4d 8d 7c 24 30       	lea    0x30(%r12),%r15
  1e:	4c 89 f8             	mov    %r15,%rax
  21:	48 c1 e8 03          	shr    $0x3,%rax
  25:	48 89 44 24 58       	mov    %rax,0x58(%rsp)
* 2a:	80 3c 28 00          	cmpb   $0x0,(%rax,%rbp,1) <-- trapping instruction
  2e:	74 08                	je     0x38
  30:	4c 89 ff             	mov    %r15,%rdi
  33:	e8 e3 5d ef ff       	call   0xffef5e1b
  38:	4c 89 7c 24 60       	mov    %r15,0x60(%rsp)
  3d:	4d 8b 3f             	mov    (%r15),%r15

Crashes (43):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/03/17 20:55 linux-next 8e5a478b6d6a c01bca74 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in do_dentry_open
2026/03/23 03:23 linux-next 785f0eb2f85d 5b92003d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/20 16:22 linux-next b5d083a3ed1e 2f245add .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/20 15:51 linux-next b5d083a3ed1e 2f245add .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in do_dentry_open
2026/03/20 15:51 linux-next b5d083a3ed1e 2f245add .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in do_dentry_open
2026/03/20 03:28 linux-next 8e42d2514a7e bd6dcb30 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in do_dentry_open
2026/03/20 00:38 linux-next 8e42d2514a7e bd6dcb30 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/20 00:38 linux-next 8e42d2514a7e bd6dcb30 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/20 00:24 linux-next 8e42d2514a7e bd6dcb30 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/20 00:23 linux-next 8e42d2514a7e bd6dcb30 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/20 00:23 linux-next 8e42d2514a7e bd6dcb30 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/20 00:22 linux-next 8e42d2514a7e bd6dcb30 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/19 15:07 linux-next 8e42d2514a7e bd6dcb30 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/19 15:07 linux-next 8e42d2514a7e bd6dcb30 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/19 15:05 linux-next 8e42d2514a7e bd6dcb30 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/19 15:05 linux-next 8e42d2514a7e bd6dcb30 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/19 02:55 linux-next 8e42d2514a7e 0199f9a1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in do_dentry_open
2026/03/19 02:55 linux-next 8e42d2514a7e 0199f9a1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in do_dentry_open
2026/03/18 14:39 linux-next 8e5a478b6d6a 0199f9a1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/18 14:39 linux-next 8e5a478b6d6a 0199f9a1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/18 14:39 linux-next 8e5a478b6d6a 0199f9a1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/18 11:37 linux-next 8e5a478b6d6a 0199f9a1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in do_dentry_open
2026/03/18 11:37 linux-next 8e5a478b6d6a 0199f9a1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in do_dentry_open
2026/03/18 02:17 linux-next 8e5a478b6d6a c8810548 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/18 02:17 linux-next 8e5a478b6d6a c8810548 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/18 00:33 linux-next 8e5a478b6d6a c8810548 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/18 00:31 linux-next 8e5a478b6d6a c8810548 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/18 00:31 linux-next 8e5a478b6d6a c8810548 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/18 00:30 linux-next 8e5a478b6d6a c8810548 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/18 00:30 linux-next 8e5a478b6d6a c8810548 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/17 23:31 linux-next 8e5a478b6d6a c8810548 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in do_dentry_open
2026/03/17 23:30 linux-next 8e5a478b6d6a c8810548 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in do_dentry_open
2026/03/17 22:23 linux-next 8e5a478b6d6a c8810548 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/17 22:23 linux-next 8e5a478b6d6a c8810548 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/17 19:44 linux-next 8e5a478b6d6a c01bca74 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/17 19:40 linux-next 8e5a478b6d6a c01bca74 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/17 19:38 linux-next 8e5a478b6d6a c01bca74 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/17 19:38 linux-next 8e5a478b6d6a c01bca74 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/17 19:30 linux-next 8e5a478b6d6a c01bca74 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/17 19:29 linux-next 8e5a478b6d6a c01bca74 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in do_dentry_open
2026/03/17 19:23 linux-next 8e5a478b6d6a c01bca74 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in do_dentry_open
2026/03/17 19:22 linux-next 8e5a478b6d6a c01bca74 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in do_dentry_open
* Struck through repros no longer work on HEAD.