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: 830d, last: 1d21h
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 (4)
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 33 10d 928d 0/2 upstream: reported C repro on 2023/04/29 15:06
android-6-12 general protection fault in filename_create (2) origin:downstream 2 C 7 24d 46d 0/1 premoderation: reported C repro on 2025/09/27 02:54
android-5-10 general protection fault in filename_create 2 C 101 3d00h 802d 0/2 upstream: reported C repro on 2023/09/02 15:10
android-6-12 general protection fault in filename_create 2 1 137d 137d 0/1 auto-obsoleted due to no activity on 2025/09/26 14:56
Last patch testing requests (10)
Created Duration User Patch Repo Result
2025/10/31 19:17 7m retest repro android14-6.1 report log
2025/10/31 19:17 7m retest repro android14-6.1 report log
2025/10/31 19:17 8m retest repro android14-6.1 report log
2025/10/31 19:17 6m retest repro android14-6.1 report log
2025/10/31 19:17 7m retest repro android14-6.1 report log
2025/09/22 03:14 10m retest repro android14-6.1 report log
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
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 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017]
CPU: 0 PID: 377 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: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 42 c7 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:ffffc90000987d60 EFLAGS: 00010203
RAX: 0000000000000017 RBX: 1ffff92000130fd3 RCX: 0000000000000002
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff888113682880
RBP: ffffc90000987e30 R08: dffffc0000000000 R09: fffff52000130f89
R10: fffff52000130f89 R11: 1ffff92000130f88 R12: ffffc90000987e90
R13: ffffc90000987e98 R14: 0000000000000600 R15: 0000000000000017
FS:  00007f114faae6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000000afe0 CR3: 000000012e301000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 do_mknodat+0xd7/0x7a0 fs/namei.c:4021
 __do_sys_mknod fs/namei.c:4067 [inline]
 __se_sys_mknod fs/namei.c:4065 [inline]
 __x64_sys_mknod+0x8e/0xa0 fs/namei.c:4065
 x64_sys_call+0x7d7/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:134
 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:0x7f114eb8f6c9
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:00007f114faae038 EFLAGS: 00000246 ORIG_RAX: 0000000000000085
RAX: ffffffffffffffda RBX: 00007f114ede5fa0 RCX: 00007f114eb8f6c9
RDX: 0000000000000704 RSI: 00000000ffffc000 RDI: 00002000000002c0
RBP: 00007f114ec11f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f114ede6038 R14: 00007f114ede5fa0 R15: 00007ffd1dac7228
 </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 42 c7 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:ffffc90000987d60 EFLAGS: 00010203
RAX: 0000000000000017 RBX: 1ffff92000130fd3 RCX: 0000000000000002
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff888113682880
RBP: ffffc90000987e30 R08: dffffc0000000000 R09: fffff52000130f89
R10: fffff52000130f89 R11: 1ffff92000130f88 R12: ffffc90000987e90
R13: ffffc90000987e98 R14: 0000000000000600 R15: 0000000000000017
FS:  00007f114faae6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f114fa8cf98 CR3: 000000012e301000 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 42 c7 af ff       	call   0xffafc757
  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 (27):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/11/11 04:23 android14-6.1 86676b1f0b19 4e1406b4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in filename_create
2025/10/16 04:30 android14-6.1 ce7ac91b1e9d 19568248 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in filename_create
2025/10/02 23:24 android14-6.1 f6787ec80e17 49379ee0 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in filename_create
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.