general protection fault in configfs_mkdir

Status: upstream: reported C repro on 2026/10/20 18:32
Reported-by: syzbot+1837f5018c2bae505fca@syzkaller.appspotmail.com
First crash: 2d14h, last: 2d07h

Sample crash report:
RAX: ffffffffffffffda RBX: 6769666e6f632f2e RCX: 00007f64e1c634a9
RDX: 00000000000001c0 RSI: 0000200000000440 RDI: 00000000ffffff9c
RBP: 0000000000000001 R08: 0000000000000000 R09: 00007ffc2abb0037
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000440
R13: 0000000000000002 R14: 00007f64e1cecc40 R15: 0000000000000002
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: 297 Comm: syz-executor979 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
RIP: 0010:configfs_mkdir+0x9c0/0xd90 fs/configfs/dir.c:1455
Code: 48 c1 e8 03 80 3c 10 00 74 08 48 89 df e8 f8 8d d6 ff 48 8b 13 48 8d 7a 04 48 89 f8 48 c1 e8 03 48 bb 00 00 00 00 00 fc ff df <0f> b6 04 18 84 c0 0f 85 4c 03 00 00 44 89 7a 04 48 83 c2 08 48 89
RSP: 0018:ffffc9000093fca0 EFLAGS: 00010247
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: ffffc9000093fe18 R08: ffffc9000093fd8f R09: ffffc9000093fd40
R10: dffffc0000000000 R11: fffff52000127fb2 R12: 000000000000ee01
R13: 00000000fffffff4 R14: 1ffff92000127fa4 R15: 0000000000000000
FS:  000055558ba1f3c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f10a6c036e8 CR3: 0000000100dd1000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 vfs_mkdir+0x42c/0x600 fs/namei.c:3840
 do_mkdirat+0x14c/0x340 fs/namei.c:3862
 __do_sys_mkdirat fs/namei.c:3873 [inline]
 __se_sys_mkdirat fs/namei.c:3871 [inline]
 __x64_sys_mkdirat+0x7b/0x90 fs/namei.c:3871
 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f64e1c634a9
Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 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 d8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc2abb5de8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 6769666e6f632f2e RCX: 00007f64e1c634a9
RDX: 00000000000001c0 RSI: 0000200000000440 RDI: 00000000ffffff9c
RBP: 0000000000000001 R08: 0000000000000000 R09: 00007ffc2abb0037
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000440
R13: 0000000000000002 R14: 00007f64e1cecc40 R15: 0000000000000002
Modules linked in:
---[ end trace 02e635c0d01f8fa7 ]---
RIP: 0010:configfs_mkdir+0x9c0/0xd90 fs/configfs/dir.c:1455
Code: 48 c1 e8 03 80 3c 10 00 74 08 48 89 df e8 f8 8d d6 ff 48 8b 13 48 8d 7a 04 48 89 f8 48 c1 e8 03 48 bb 00 00 00 00 00 fc ff df <0f> b6 04 18 84 c0 0f 85 4c 03 00 00 44 89 7a 04 48 83 c2 08 48 89
RSP: 0018:ffffc9000093fca0 EFLAGS: 00010247
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: ffffc9000093fe18 R08: ffffc9000093fd8f R09: ffffc9000093fd40
R10: dffffc0000000000 R11: fffff52000127fb2 R12: 000000000000ee01
R13: 00000000fffffff4 R14: 1ffff92000127fa4 R15: 0000000000000000
FS:  000055558ba1f3c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f10a6c036e8 CR3: 0000000100dd1000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	48 c1 e8 03          	shr    $0x3,%rax
   4:	80 3c 10 00          	cmpb   $0x0,(%rax,%rdx,1)
   8:	74 08                	je     0x12
   a:	48 89 df             	mov    %rbx,%rdi
   d:	e8 f8 8d d6 ff       	call   0xffd68e0a
  12:	48 8b 13             	mov    (%rbx),%rdx
  15:	48 8d 7a 04          	lea    0x4(%rdx),%rdi
  19:	48 89 f8             	mov    %rdi,%rax
  1c:	48 c1 e8 03          	shr    $0x3,%rax
  20:	48 bb 00 00 00 00 00 	movabs $0xdffffc0000000000,%rbx
  27:	fc ff df
* 2a:	0f b6 04 18          	movzbl (%rax,%rbx,1),%eax <-- trapping instruction
  2e:	84 c0                	test   %al,%al
  30:	0f 85 4c 03 00 00    	jne    0x382
  36:	44 89 7a 04          	mov    %r15d,0x4(%rdx)
  3a:	48 83 c2 08          	add    $0x8,%rdx
  3e:	48                   	rex.W
  3f:	89                   	.byte 0x89

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/21 00:06 android13-5.10-lts 30b93835619a df8746fb .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in configfs_mkdir
2026/10/20 22:57 android13-5.10-lts 30b93835619a df8746fb .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in configfs_mkdir
2026/10/20 21:37 android13-5.10-lts 30b93835619a df8746fb .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in configfs_mkdir
2026/10/20 20:02 android13-5.10-lts 30b93835619a df8746fb .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in configfs_mkdir
2026/10/20 18:31 android13-5.10-lts 30b93835619a df8746fb .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in configfs_mkdir
2026/10/20 17:11 android13-5.10-lts 30b93835619a df8746fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in configfs_mkdir
* Struck through repros no longer work on HEAD.