general protection fault in open_or_create_special_dir

Status: internal: reported C repro on 2025/09/23 10:20
Bug presence: origin:downstream
[Documentation on labels]
Reported-by: syzbot+eb9e8e89a01aa30e2218@syzkaller.appspotmail.com
First crash: 307d, last: 17d
Bug presence (3)
Date Name Commit Repro Result
2025/09/24 android16-6.12 (ToT) cfa06f1f8c77 C [report] general protection fault in open_or_create_special_dir
2025/09/24 lts (merge base) b0c51e95f54e C Didn't crash
2025/09/24 upstream (ToT) cec1e6e5d1ab C Didn't crash
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 general protection fault in open_or_create_special_dir 2 C 17 19d 863d 0/2 upstream: reported C repro on 2024/03/16 07:55
android-5-15 general protection fault in open_or_create_special_dir origin:downstream 2 C error 9 17d 863d 0/2 upstream: reported C repro on 2024/03/16 08:27
android-6-1 general protection fault in open_or_create_special_dir origin:downstream 2 C error 7 38d 863d 0/2 upstream: reported C repro on 2024/03/16 08:33
Last patch testing requests (5)
Created Duration User Patch Repo Result
2026/05/24 12:02 19m retest repro android16-6.12 log
2026/04/23 18:16 26m retest repro android16-6.12 report log
2026/03/06 23:46 8m retest repro android16-6.12 report log
2026/02/11 15:23 8m retest repro android16-6.12 report log
2025/12/03 12:14 4m retest repro android16-6.12 error

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000007: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000038-0x000000000000003f]
CPU: 0 UID: 0 PID: 385 Comm: syz.2.17 Not tainted syzkaller #0 38ce34caa3eafecb4514ac9530ab896457f545a5
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
RIP: 0010:d_really_is_positive include/linux/dcache.h:513 [inline]
RIP: 0010:open_or_create_special_dir+0x85/0x200 fs/incfs/vfs.c:460
Code: 1b e8 df 4d 3a ff e9 21 01 00 00 e8 d5 4d 3a ff 48 c7 c3 ea ff ff ff e9 10 01 00 00 4c 89 f0 4c 8d 73 30 4d 89 f7 49 c1 ef 03 <41> 80 3c 07 00 74 08 4c 89 f7 e8 0c 01 93 ff 49 83 3e 00 74 2c e8
RSP: 0018:ffffc90003b5fb20 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000008 RCX: ffff8881153b2600
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8881224e6018
RBP: ffffc90003b5fb50 R08: ffff8881224e601f R09: 1ffff1102449cc03
R10: dffffc0000000000 R11: ffffed102449cc04 R12: ffff8881224e5f80
R13: ffffc90003b5fb9f R14: 0000000000000038 R15: 0000000000000007
FS:  00007f26656d36c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f26656b2d58 CR3: 000000011602e000 CR4: 00000000003526b0
Call Trace:
 <TASK>
 incfs_mount_fs+0x433/0x970 fs/incfs/vfs.c:1863
 legacy_get_tree+0x106/0x1b0 fs/fs_context.c:662
 vfs_get_tree+0xa1/0x290 fs/super.c:1820
 do_new_mount+0x251/0xb40 fs/namespace.c:3567
 path_mount+0x66a/0xff0 fs/namespace.c:3894
 do_mount fs/namespace.c:3907 [inline]
 __do_sys_mount fs/namespace.c:4117 [inline]
 __se_sys_mount+0x2bf/0x480 fs/namespace.c:4094
 __x64_sys_mount+0xc3/0xf0 fs/namespace.c:4094
 x64_sys_call+0x2021/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:166
 do_syscall_x64 arch/x86/entry/common.c:47 [inline]
 do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7f266479de59
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:00007f26656d3028 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f2664a25fa0 RCX: 00007f266479de59
RDX: 0000200000000200 RSI: 0000200000000140 RDI: 0000200000000000
RBP: 00007f2664833e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000082 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2664a26038 R14: 00007f2664a25fa0 R15: 00007ffc8ac61128
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:d_really_is_positive include/linux/dcache.h:513 [inline]
RIP: 0010:open_or_create_special_dir+0x85/0x200 fs/incfs/vfs.c:460
Code: 1b e8 df 4d 3a ff e9 21 01 00 00 e8 d5 4d 3a ff 48 c7 c3 ea ff ff ff e9 10 01 00 00 4c 89 f0 4c 8d 73 30 4d 89 f7 49 c1 ef 03 <41> 80 3c 07 00 74 08 4c 89 f7 e8 0c 01 93 ff 49 83 3e 00 74 2c e8
RSP: 0018:ffffc90003b5fb20 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000008 RCX: ffff8881153b2600
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8881224e6018
RBP: ffffc90003b5fb50 R08: ffff8881224e601f R09: 1ffff1102449cc03
R10: dffffc0000000000 R11: ffffed102449cc04 R12: ffff8881224e5f80
R13: ffffc90003b5fb9f R14: 0000000000000038 R15: 0000000000000007
FS:  00007f26656d36c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f26656b2d58 CR3: 000000011602e000 CR4: 00000000003526b0
----------------
Code disassembly (best guess):
   0:	1b e8                	sbb    %eax,%ebp
   2:	df 4d 3a             	fisttps 0x3a(%rbp)
   5:	ff                   	ljmp   (bad)
   6:	e9 21 01 00 00       	jmp    0x12c
   b:	e8 d5 4d 3a ff       	call   0xff3a4de5
  10:	48 c7 c3 ea ff ff ff 	mov    $0xffffffffffffffea,%rbx
  17:	e9 10 01 00 00       	jmp    0x12c
  1c:	4c 89 f0             	mov    %r14,%rax
  1f:	4c 8d 73 30          	lea    0x30(%rbx),%r14
  23:	4d 89 f7             	mov    %r14,%r15
  26:	49 c1 ef 03          	shr    $0x3,%r15
* 2a:	41 80 3c 07 00       	cmpb   $0x0,(%r15,%rax,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 f7             	mov    %r14,%rdi
  34:	e8 0c 01 93 ff       	call   0xff930145
  39:	49 83 3e 00          	cmpq   $0x0,(%r14)
  3d:	74 2c                	je     0x6b
  3f:	e8                   	.byte 0xe8

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/09 01:23 android16-6.12 4dd097d4271e b9f1ceaa .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in open_or_create_special_dir
2026/02/20 22:27 android16-6.12 879c70c90804 6e7b5511 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in open_or_create_special_dir
2025/09/23 10:03 android16-6.12 3907c0eb526d 0ac7291c .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in open_or_create_special_dir
2026/07/10 07:51 android16-6.12 0e0925f37543 4167ee25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in open_or_create_special_dir
2026/07/09 00:23 android16-6.12 4dd097d4271e b9f1ceaa .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in open_or_create_special_dir
2026/02/20 21:27 android16-6.12 879c70c90804 6e7b5511 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in open_or_create_special_dir
2025/09/23 08:58 android16-6.12 3907c0eb526d 0ac7291c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in open_or_create_special_dir
* Struck through repros no longer work on HEAD.