syzbot


general protection fault in filename_create

Status: upstream: reported C repro on 2023/08/05 10:34
Bug presence: origin:downstream
[Documentation on labels]
Reported-by: syzbot+321e36793059da7b2e86@syzkaller.appspotmail.com
First crash: 757d, last: 19h26m
Cause bisection: introduced by (bisect log) :
commit 57f3ff9648991998d008ecf32f2f9e78a08bfb8b
Author: Daniel Rosenberg <drosen@google.com>
Date: Thu Dec 2 21:50:02 2021 +0000

  ANDROID: fuse-bpf v1.1

Crash: BUG: unable to handle kernel NULL pointer dereference in filename_create (log)
Repro: C syz .config
  
Bug presence (3)
Date Name Commit Repro Result
2023/09/27 android14-6.1 (ToT) ae5ea9043de1 C [report] general protection fault in filename_create
2023/09/27 lts (merge base) b1644a0031cf C Didn't crash
2023/09/27 upstream (ToT) 0e945134b680 C Didn't crash
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 general protection fault in filename_create origin:downstream 2 C error unreliable 27 3d09h 855d 0/2 upstream: reported C repro on 2023/04/29 15:06
android-5-10 general protection fault in filename_create 2 C 86 1d02h 729d 0/2 upstream: reported C repro on 2023/09/02 15:10
android-6-12 general protection fault in filename_create 2 1 64d 64d 0/1 premoderation: reported on 2025/06/28 14:46
Last patch testing requests (10)
Created Duration User Patch Repo Result
2025/08/31 11:28 6m retest repro android14-6.1 report log
2025/08/31 11:28 7m retest repro android14-6.1 report log
2025/08/31 11:28 14m retest repro android14-6.1 report log
2025/08/09 08:52 6m retest repro android14-6.1 report log
2025/08/09 08:52 7m retest repro android14-6.1 report log
2025/08/09 08:52 7m retest repro android14-6.1 report log
2025/08/09 08:52 10m retest repro android14-6.1 report log
2025/07/13 06:53 7m retest repro android14-6.1 report log
2025/06/15 20:45 1h06m retest repro android14-6.1 report log
2025/06/15 20:45 1h11m retest repro android14-6.1 report log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2024/05/13 01:20 39m bisect fix android14-6.1 OK (0) job log log
2024/01/23 08:21 45m bisect fix android14-6.1 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: 292 Comm: syz-executor183 Not tainted 6.1.141-syzkaller-00042-g96160a0e0aa1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:__d_entry_type include/linux/dcache.h:394 [inline]
RIP: 0010:d_is_miss include/linux/dcache.h:399 [inline]
RIP: 0010:d_is_negative include/linux/dcache.h:445 [inline]
RIP: 0010:d_is_positive include/linux/dcache.h:455 [inline]
RIP: 0010:filename_create+0x241/0x450 fs/namei.c:3882
Code: ff ff 48 3d 01 f0 ff ff 49 89 c7 4c 8b 64 24 28 72 07 e8 a2 e2 af ff eb 6d 48 89 c1 48 c1 e9 03 48 ba 00 00 00 00 00 fc ff df <0f> b6 0c 11 84 c9 0f 85 dd 01 00 00 44 8b 20 44 89 e6 81 e6 00 00
RSP: 0018:ffffc90000e87da0 EFLAGS: 00010202
RAX: 000000000000000b RBX: 1ffff920001d0fd4 RCX: 0000000000000001
RDX: dffffc0000000000 RSI: 0000000000000005 RDI: ffff888115bc0000
RBP: ffffc90000e87e68 R08: dffffc0000000000 R09: fffff520001d0f91
R10: fffff520001d0f91 R11: 1ffff920001d0f90 R12: ffffc90000e87e98
R13: ffffc90000e87ea0 R14: 0000000000000600 R15: 000000000000000b
FS:  00007f9fafc2f6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9fafccc610 CR3: 00000001256fb000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 do_mkdirat+0x5c/0x4c0 fs/namei.c:4120
 __do_sys_mkdir fs/namei.c:4150 [inline]
 __se_sys_mkdir fs/namei.c:4148 [inline]
 __x64_sys_mkdir+0x6e/0x80 fs/namei.c:4148
 x64_sys_call+0x966/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:84
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f9fafc91819
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f9fafc2f218 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007f9fafd213d8 RCX: 00007f9fafc91819
RDX: 00007f9fafc91819 RSI: 000000000000000a RDI: 0000200000000080
RBP: 00007f9fafd213d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9fafcee124
R13: 0000000000000008 R14: 0030656c69662f2e R15: 0000200000000080
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__d_entry_type include/linux/dcache.h:394 [inline]
RIP: 0010:d_is_miss include/linux/dcache.h:399 [inline]
RIP: 0010:d_is_negative include/linux/dcache.h:445 [inline]
RIP: 0010:d_is_positive include/linux/dcache.h:455 [inline]
RIP: 0010:filename_create+0x241/0x450 fs/namei.c:3882
Code: ff ff 48 3d 01 f0 ff ff 49 89 c7 4c 8b 64 24 28 72 07 e8 a2 e2 af ff eb 6d 48 89 c1 48 c1 e9 03 48 ba 00 00 00 00 00 fc ff df <0f> b6 0c 11 84 c9 0f 85 dd 01 00 00 44 8b 20 44 89 e6 81 e6 00 00
RSP: 0018:ffffc90000e87da0 EFLAGS: 00010202
RAX: 000000000000000b RBX: 1ffff920001d0fd4 RCX: 0000000000000001
RDX: dffffc0000000000 RSI: 0000000000000005 RDI: ffff888115bc0000
RBP: ffffc90000e87e68 R08: dffffc0000000000 R09: fffff520001d0f91
R10: fffff520001d0f91 R11: 1ffff920001d0f90 R12: ffffc90000e87e98
R13: ffffc90000e87ea0 R14: 0000000000000600 R15: 000000000000000b
FS:  00007f9fafc2f6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055bb0cd79eb8 CR3: 00000001256fb000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	48 3d 01 f0 ff ff    	cmp    $0xfffffffffffff001,%rax
   6:	49 89 c7             	mov    %rax,%r15
   9:	4c 8b 64 24 28       	mov    0x28(%rsp),%r12
   e:	72 07                	jb     0x17
  10:	e8 a2 e2 af ff       	call   0xffafe2b7
  15:	eb 6d                	jmp    0x84
  17:	48 89 c1             	mov    %rax,%rcx
  1a:	48 c1 e9 03          	shr    $0x3,%rcx
  1e:	48 ba 00 00 00 00 00 	movabs $0xdffffc0000000000,%rdx
  25:	fc ff df
* 28:	0f b6 0c 11          	movzbl (%rcx,%rdx,1),%ecx <-- trapping instruction
  2c:	84 c9                	test   %cl,%cl
  2e:	0f 85 dd 01 00 00    	jne    0x211
  34:	44 8b 20             	mov    (%rax),%r12d
  37:	44 89 e6             	mov    %r12d,%esi
  3a:	81                   	.byte 0x81
  3b:	e6 00                	out    %al,$0x0

Crashes (24):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/24 07:52 android14-6.1 96160a0e0aa1 0c1d6ded .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in filename_create
2025/03/19 08:33 android14-6.1 6bd3e435f2e8 8d0a2921 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in filename_create
2024/11/10 19:42 android14-6.1 eef3d33656ce 6b856513 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 general protection fault in filename_create
2024/07/12 17:17 android14-6.1 96d66062d076 eaeb5c15 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in filename_create
2024/07/12 16:46 android14-6.1 96d66062d076 eaeb5c15 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in filename_create
2024/02/11 05:49 android14-6.1 d3f73f04529a 77b23aa1 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in filename_create
2023/09/27 09:17 android14-6.1 ae5ea9043de1 0b6a67ac .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in filename_create
2023/08/05 10:28 android14-6.1 5e1d25ac2ab6 cdae481e .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in filename_create
2025/08/15 23:43 android14-6.1 831a57b4a783 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in filename_create
2025/06/29 03:28 android14-6.1 36d69f6a49eb fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in filename_create
2025/06/01 13:37 android14-6.1 db710ea87c32 3d2f584d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in filename_create
2025/03/19 07:55 android14-6.1 6bd3e435f2e8 8d0a2921 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in filename_create
2024/12/04 00:46 android14-6.1 997d1e6f69f1 b50eb251 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in filename_create
2024/07/12 16:17 android14-6.1 96d66062d076 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in filename_create
2024/07/12 16:16 android14-6.1 96d66062d076 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in filename_create
2024/03/28 02:32 android14-6.1 eef3b6e52937 120789fd .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in filename_create
2024/03/19 23:37 android14-6.1 e623dd5ac2ac e104824c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in filename_create
2024/03/03 21:20 android14-6.1 09ca5740fbbe 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in filename_create
2024/02/23 22:21 android14-6.1 8c0f9174731d 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in filename_create
2024/02/11 05:17 android14-6.1 d3f73f04529a 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in filename_create
2023/11/08 02:30 android14-6.1 230d34da33c5 83211397 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in filename_create
2023/09/25 04:22 android14-6.1 060ebb378d1c 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in filename_create
2023/09/21 22:38 android14-6.1 c6724bfedaad 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in filename_create
2023/08/05 09:46 android14-6.1 5e1d25ac2ab6 cdae481e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in filename_create
* Struck through repros no longer work on HEAD.