syzbot


general protection fault in filename_create

Status: upstream: reported C repro on 2023/04/29 15:06
Bug presence: origin:downstream
[Documentation on labels]
Reported-by: syzbot+109482120fd91264a45b@syzkaller.appspotmail.com
First crash: 894d, last: 1d02h
Cause bisection: failed (error log, bisect log)
  
Fix bisection: fixed by (bisect log) [merge commit]:
commit 23818c192b1564bae833256324cbc7c451dc7087
Author: Greg Kroah-Hartman <gregkh@google.com>
Date: Fri May 26 15:15:14 2023 +0000

  Merge tag 'android13-5.15.104_r00' into android13-5.15

  
Bug presence (3)
Date Name Commit Repro Result
2023/09/27 android13-5.15-lts (ToT) ea586874d2f9 C [report] general protection fault in filename_create
2023/09/27 lts (merge base) aff03380bda4 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-6-1 general protection fault in filename_create origin:downstream 2 C done 25 6d23h 796d 0/2 upstream: reported C repro on 2023/08/05 10:34
android-6-12 general protection fault in filename_create (2) origin:downstream 2 C 5 2d04h 12d 0/1 premoderation: reported C repro on 2025/09/27 02:54
android-5-10 general protection fault in filename_create 2 C 97 13h57m 768d 0/2 upstream: reported C repro on 2023/09/02 15:10
android-6-12 general protection fault in filename_create 2 1 103d 103d 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/09/20 22:47 8m retest repro android13-5.15-lts report log
2025/08/28 08:44 1h39m retest repro android13-5.15-lts report log
2025/08/28 08:44 1h36m retest repro android13-5.15-lts report log
2025/08/28 08:44 12m retest repro android13-5.15-lts report log
2025/08/28 08:44 13m retest repro android13-5.15-lts report log
2025/08/28 08:44 5m retest repro android13-5.15-lts report log
2025/08/09 11:08 14m retest repro android13-5.15-lts report log
2025/07/23 12:21 14m retest repro android13-5.15-lts report log
2025/07/23 12:21 5m retest repro android13-5.15-lts report log
2025/06/22 20:54 10m retest repro android13-5.15-lts report log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2023/09/25 02:11 2h56m bisect fix android13-5.15-lts OK (1) job log
2023/06/05 04:43 20m bisect fix android13-5.15-lts OK (0) job log log

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 376 Comm: syz.2.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/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:d_is_positive include/linux/dcache.h:465 [inline]
RIP: 0010:filename_create+0x241/0x450 fs/namei.c:3842
Code: ff ff 48 3d 01 f0 ff ff 49 89 c7 4c 8b 64 24 28 72 07 e8 32 f4 b6 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:ffffc900040a7d60 EFLAGS: 00010246
RAX: 0000000000000002 RBX: 1ffff92000814fd2 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffff888110043b40
RBP: ffffc900040a7e40 R08: dffffc0000000000 R09: ffffed10219ba782
R10: ffffed10219ba782 R11: 1ffff110219ba781 R12: ffffc900040a7e88
R13: ffffc900040a7e90 R14: 0000000000000600 R15: 0000000000000002
FS:  00007f8d453f76c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8d453f6f98 CR3: 000000012d342000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 do_linkat+0x137/0x730 fs/namei.c:4612
 __do_sys_link fs/namei.c:4662 [inline]
 __se_sys_link fs/namei.c:4660 [inline]
 __x64_sys_link+0x86/0x90 fs/namei.c:4660
 x64_sys_call+0x34d/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:87
 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:0x7f8d455c8ec9
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:00007f8d453f7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000056
RAX: ffffffffffffffda RBX: 00007f8d45820180 RCX: 00007f8d455c8ec9
RDX: 0000000000000000 RSI: 0000200000000400 RDI: 0000200000000280
RBP: 00007f8d4564bf91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f8d45820218 R14: 00007f8d45820180 R15: 00007fff2b1e6d88
 </TASK>
Modules linked in:
---[ end trace 9ef8b9f6e3903b05 ]---
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:d_is_positive include/linux/dcache.h:465 [inline]
RIP: 0010:filename_create+0x241/0x450 fs/namei.c:3842
Code: ff ff 48 3d 01 f0 ff ff 49 89 c7 4c 8b 64 24 28 72 07 e8 32 f4 b6 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:ffffc900040a7d60 EFLAGS: 00010246
RAX: 0000000000000002 RBX: 1ffff92000814fd2 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffff888110043b40
RBP: ffffc900040a7e40 R08: dffffc0000000000 R09: ffffed10219ba782
R10: ffffed10219ba782 R11: 1ffff110219ba781 R12: ffffc900040a7e88
R13: ffffc900040a7e90 R14: 0000000000000600 R15: 0000000000000002
FS:  00007f8d453f76c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8d453f6f98 CR3: 000000012d342000 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 32 f4 b6 ff       	call   0xffb6f447
  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 (30):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/08 19:50 android13-5.15-lts bce84c40a40b 7e2882b3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2025/09/27 07:47 android13-5.15-lts 8d934e0056f7 001c9061 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2025/07/24 22:48 android13-5.15-lts a71626bd56a5 65d60d73 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2025/03/30 18:14 android13-5.15-lts 5e1b899f19c3 d3999433 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2024/11/21 04:20 android13-5.15-lts 2e66050fb753 4b25d554 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 general protection fault in filename_create
2024/07/18 10:08 android13-5.15-lts db06c48ab67e 0f902625 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2024/07/18 09:40 android13-5.15-lts db06c48ab67e 0f902625 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2024/07/18 09:11 android13-5.15-lts db06c48ab67e 0f902625 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2024/07/18 08:41 android13-5.15-lts db06c48ab67e 0f902625 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2024/02/23 23:41 android13-5.15-lts 993bed180178 8d446f15 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2023/09/27 08:31 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 filename_create
2023/04/29 15:01 android13-5.15-lts 6d40cb68a657 62df2017 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2025/09/06 14:04 android13-5.15-lts da3dbfdd15be d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2025/03/30 17:24 android13-5.15-lts 5e1b899f19c3 d3999433 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2025/01/19 16:08 android13-5.15-lts 829d9f138569 f2cb035c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2025/01/01 02:34 android13-5.15-lts f7ce2ffd2f33 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2024/12/04 00:30 android13-5.15-lts fa1d8b6c5d4d b50eb251 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2024/12/04 00:30 android13-5.15-lts fa1d8b6c5d4d b50eb251 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2024/09/06 13:15 android13-5.15-lts 53be7c8abe11 464ac2ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2024/09/06 09:50 android13-5.15-lts 53be7c8abe11 464ac2ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2024/08/04 06:55 android13-5.15-lts 70e1a731d986 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2024/07/18 08:22 android13-5.15-lts db06c48ab67e 0f902625 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2024/07/18 08:22 android13-5.15-lts db06c48ab67e 0f902625 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2024/07/18 08:13 android13-5.15-lts db06c48ab67e 0f902625 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2024/07/18 08:13 android13-5.15-lts db06c48ab67e 0f902625 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2024/05/02 19:51 android13-5.15-lts 5d96939590c0 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2023/09/27 08:08 android13-5.15-lts ea586874d2f9 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2023/08/05 09:25 android13-5.15-lts 748fd0d9ca0f cdae481e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2023/06/23 13:46 android13-5.15-lts 565c3abfa129 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
2023/04/29 14:45 android13-5.15-lts 6d40cb68a657 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in filename_create
* Struck through repros no longer work on HEAD.