syzbot


general protection fault in filename_create

Status: premoderation: reported on 2025/06/28 14:46
Reported-by: syzbot+ee79dea6e35b64a98236@syzkaller.appspotmail.com
First crash: 17d, last: 17d
Similar bugs (3)
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 22 2d21h 710d 0/2 upstream: reported C repro on 2023/08/05 10:34
android-5-15 general protection fault in filename_create origin:downstream 2 C error unreliable 26 23d 808d 0/2 upstream: reported C repro on 2023/04/29 15:06
android-5-10 general protection fault in filename_create 2 C 79 3d21h 682d 0/2 upstream: reported C repro on 2023/09/02 15:10

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 1 UID: 0 PID: 6833 Comm: syz.3.2186 Not tainted 6.12.30-syzkaller-g68f4f0b0690a #0 d2d57a621586a6800997b547ec5ef233d70fc6ad
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:__d_entry_type include/linux/dcache.h:414 [inline]
RIP: 0010:d_is_miss include/linux/dcache.h:419 [inline]
RIP: 0010:d_is_negative include/linux/dcache.h:465 [inline]
RIP: 0010:d_is_positive include/linux/dcache.h:475 [inline]
RIP: 0010:filename_create+0x245/0x460 fs/namei.c:4033
Code: ff ff 48 3d 01 f0 ff ff 49 89 c7 4c 8b 64 24 28 72 07 e8 de d9 9b 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 e2 01 00 00 44 8b 20 44 89 e6 81 e6 00 00
RSP: 0018:ffffc900087f7d80 EFLAGS: 00010203

RAX: 000000000000000d RBX: 1ffff920010fefd5 RCX: 0000000000000001
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff888110c0cb20
RBP: ffffc900087f7e58 R08: ffff8881f6f509c7 R09: 1ffff1103edea138
R10: dffffc0000000000 R11: ffffed103edea139 R12: ffffc900087f7ea0
R13: ffffc900087f7ea8 R14: 0000000000000600 R15: 000000000000000d
FS:  00007fae3fdca6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000000c000 CR3: 000000011ec68000 CR4: 00000000003526b0
DR0: 0000000000000000 DR1: 0000000000000097 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 do_mknodat+0xe5/0x740 fs/namei.c:4172
 __do_sys_mknod fs/namei.c:4218 [inline]
 __se_sys_mknod fs/namei.c:4216 [inline]
 __x64_sys_mknod+0x90/0xa0 fs/namei.c:4216
 x64_sys_call+0x2a40/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:134
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x58/0xf0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7fae3ff8e929
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:00007fae3fdca038 EFLAGS: 00000246 ORIG_RAX: 0000000000000085
RAX: ffffffffffffffda RBX: 00007fae401b6080 RCX: 00007fae3ff8e929
RDX: 0000000000000706 RSI: 00000000ffff8000 RDI: 00002000000002c0
RBP: 00007fae40010b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fae401b6080 R15: 00007ffea6a597c8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__d_entry_type include/linux/dcache.h:414 [inline]
RIP: 0010:d_is_miss include/linux/dcache.h:419 [inline]
RIP: 0010:d_is_negative include/linux/dcache.h:465 [inline]
RIP: 0010:d_is_positive include/linux/dcache.h:475 [inline]
RIP: 0010:filename_create+0x245/0x460 fs/namei.c:4033
Code: ff ff 48 3d 01 f0 ff ff 49 89 c7 4c 8b 64 24 28 72 07 e8 de d9 9b 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 e2 01 00 00 44 8b 20 44 89 e6 81 e6 00 00
RSP: 0018:ffffc900087f7d80 EFLAGS: 00010203

RAX: 000000000000000d RBX: 1ffff920010fefd5 RCX: 0000000000000001
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff888110c0cb20
RBP: ffffc900087f7e58 R08: ffff8881f6f509c7 R09: 1ffff1103edea138
R10: dffffc0000000000 R11: ffffed103edea139 R12: ffffc900087f7ea0
R13: ffffc900087f7ea8 R14: 0000000000000600 R15: 000000000000000d
FS:  00007fae3fdca6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000000c000 CR3: 000000011ec68000 CR4: 00000000003526b0
DR0: 0000000000000000 DR1: 0000000000000097 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 de d9 9b ff       	call   0xff9bd9f3
  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 e2 01 00 00    	jne    0x216
  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 (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/28 14:46 android16-6.12 68f4f0b0690a fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in filename_create
* Struck through repros no longer work on HEAD.