general protection fault in current_umask (2)

Status: premoderation: reported on 2026/07/04 18:03
Reported-by: syzbot+1b7ca4df5c709c10ffec@syzkaller.appspotmail.com
First crash: 22d, last: 22d
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 general protection fault in current_umask 2 C unreliable 5 467d 677d 0/2 auto-obsoleted due to no activity on 2025/07/24 17:05
android-6-12 general protection fault in current_umask (2) 2 1 166d 166d 0/1 auto-obsoleted due to no activity on 2026/05/11 03:04
android-6-12 general protection fault in current_umask 2 4 297d 372d 0/1 auto-obsoleted due to no activity on 2025/12/31 04:57

Sample crash report:
loop4: rw=524288, want=45072, limit=40427
attempt to access beyond end of device
loop4: rw=0, want=45072, limit=40427
general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 1 PID: 286 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
RIP: 0010:current_umask+0x49/0x70 fs/fs_struct.c:159
Code: 81 c3 c0 07 00 00 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 25 20 eb ff 48 8b 1b 48 83 c3 0c 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 75 07 8b 03 5b 41 5e 5d c3 89 d9 80 e1 07 80
RSP: 0018:ffffc90000c379e8 EFLAGS: 00010203
RAX: 0000000000000001 RBX: 000000000000000c RCX: ffff8881077f2780
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000c379f8 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000186f1e R12: 0000000000002000
R13: dffffc0000000000 R14: dffffc0000000000 R15: 1ffff110239631a0
FS:  0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f27a60e6000 CR3: 0000000111f73000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 mode_strip_umask fs/namei.c:2902 [inline]
 vfs_prepare_mode fs/namei.c:2932 [inline]
 vfs_mknod+0x35b/0x580 fs/namei.c:3692
 vfs_whiteout include/linux/fs.h:1880 [inline]
 ovl_do_whiteout fs/overlayfs/overlayfs.h:229 [inline]
 ovl_whiteout fs/overlayfs/dir.c:77 [inline]
 ovl_cleanup_and_whiteout+0x1d7/0x5c0 fs/overlayfs/dir.c:117
 ovl_remove_and_whiteout fs/overlayfs/dir.c:795 [inline]
 ovl_do_remove+0x657/0xc50 fs/overlayfs/dir.c:922
 ovl_rmdir+0x1a/0x20 fs/overlayfs/dir.c:956
 vfs_rmdir+0x1ab/0x3c0 fs/namei.c:3860
 incfs_kill_sb+0xf7/0x200 fs/incfs/vfs.c:1973
 deactivate_locked_super+0xa0/0x100 fs/super.c:335
 deactivate_super+0xaf/0xe0 fs/super.c:366
 cleanup_mnt+0x44f/0x500 fs/namespace.c:1123
 __cleanup_mnt+0x19/0x20 fs/namespace.c:1130
 task_work_run+0x127/0x190 kernel/task_work.c:189
 exit_task_work include/linux/task_work.h:33 [inline]
 do_exit+0xa7c/0x24e0 kernel/exit.c:873
 do_group_exit+0x149/0x310 kernel/exit.c:987
 __do_sys_exit_group kernel/exit.c:998 [inline]
 __se_sys_exit_group kernel/exit.c:996 [inline]
 __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:996
 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7ff73fc27e59
Code: Unable to access opcode bytes at RIP 0x7ff73fc27e2f.
RSP: 002b:00007ffec4e4b2b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007ff73fcbd33c RCX: 00007ff73fc27e59
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 0000000000000010 R08: 0000000000000000 R09: 00007ff73fcbd2ca
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffec4e4c570
R13: 00007ff73fcbd2ca R14: 00005555896e14e8 R15: 00007ffec4e4d640
Modules linked in:
---[ end trace 7d6b8d9b9ba06794 ]---
RIP: 0010:current_umask+0x49/0x70 fs/fs_struct.c:159
Code: 81 c3 c0 07 00 00 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 25 20 eb ff 48 8b 1b 48 83 c3 0c 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 75 07 8b 03 5b 41 5e 5d c3 89 d9 80 e1 07 80
RSP: 0018:ffffc90000c379e8 EFLAGS: 00010203
RAX: 0000000000000001 RBX: 000000000000000c RCX: ffff8881077f2780
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000c379f8 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000186f1e R12: 0000000000002000
R13: dffffc0000000000 R14: dffffc0000000000 R15: 1ffff110239631a0
FS:  0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f27a60e6000 CR3: 0000000126217000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	81 c3 c0 07 00 00    	add    $0x7c0,%ebx
   6:	48 89 d8             	mov    %rbx,%rax
   9:	48 c1 e8 03          	shr    $0x3,%rax
   d:	42 80 3c 30 00       	cmpb   $0x0,(%rax,%r14,1)
  12:	74 08                	je     0x1c
  14:	48 89 df             	mov    %rbx,%rdi
  17:	e8 25 20 eb ff       	call   0xffeb2041
  1c:	48 8b 1b             	mov    (%rbx),%rbx
  1f:	48 83 c3 0c          	add    $0xc,%rbx
  23:	48 89 d8             	mov    %rbx,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 0f b6 04 30       	movzbl (%rax,%r14,1),%eax <-- trapping instruction
  2f:	84 c0                	test   %al,%al
  31:	75 07                	jne    0x3a
  33:	8b 03                	mov    (%rbx),%eax
  35:	5b                   	pop    %rbx
  36:	41 5e                	pop    %r14
  38:	5d                   	pop    %rbp
  39:	c3                   	ret
  3a:	89 d9                	mov    %ebx,%ecx
  3c:	80 e1 07             	and    $0x7,%cl
  3f:	80                   	.byte 0x80

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/04 18:02 android13-5.10-lts 1bb06dbd8c78 fcece630 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in current_umask
* Struck through repros no longer work on HEAD.