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: 18632 Comm: syz.5.5690 Not tainted syzkaller #0 c28964d659af56c9aa0a1d789b6c5ee0e7b35bd1
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:current_umask+0x4e/0x80 fs/fs_struct.c:158
Code: 81 c3 78 08 00 00 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 70 d1 e5 ff 48 8b 1b 48 83 c3 0c 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 75 0c 8b 03 5b 41 5e 5d c3 cc cc cc cc cc 89
RSP: 0018:ffffc90005b8f5e0 EFLAGS: 00010203
RAX: 0000000000000001 RBX: 000000000000000c RCX: ffff888113fea600
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90005b8f5f0 R08: 000000003e0539ff R09: 00000001effbffac
R10: effbffac00000000 R11: 0000000000000001 R12: ffff88813ad84680
R13: ffff88813ad846a8 R14: dffffc0000000000 R15: ffff8881107dd330
FS: 0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000040 CR3: 00000000072a8000 CR4: 00000000003526b0
Call Trace:
<TASK>
mode_strip_umask include/linux/namei.h:111 [inline]
vfs_prepare_mode fs/namei.c:3250 [inline]
vfs_mknod+0x486/0x6d0 fs/namei.c:4126
vfs_whiteout include/linux/fs.h:1972 [inline]
ovl_do_whiteout fs/overlayfs/overlayfs.h:382 [inline]
ovl_whiteout fs/overlayfs/dir.c:78 [inline]
ovl_cleanup_and_whiteout+0x230/0x6a0 fs/overlayfs/dir.c:118
ovl_remove_and_whiteout fs/overlayfs/dir.c:791 [inline]
ovl_do_remove+0x886/0xcf0 fs/overlayfs/dir.c:914
ovl_rmdir+0x1e/0x30 fs/overlayfs/dir.c:945
vfs_rmdir+0x3e0/0x560 fs/namei.c:4340
incfs_kill_sb+0x109/0x230 fs/incfs/vfs.c:1968
deactivate_locked_super+0xd8/0x2a0 fs/super.c:476
deactivate_super+0xb8/0xe0 fs/super.c:509
cleanup_mnt+0x3f1/0x480 fs/namespace.c:1370
__cleanup_mnt+0x1d/0x40 fs/namespace.c:1377
task_work_run+0x1e0/0x250 kernel/task_work.c:240
exit_task_work include/linux/task_work.h:43 [inline]
do_exit+0x9bc/0x2630 kernel/exit.c:953
do_group_exit+0x22a/0x300 kernel/exit.c:1095
get_signal+0x139d/0x14f0 kernel/signal.c:2933
arch_do_signal_or_restart+0x96/0x720 arch/x86/kernel/signal.c:337
exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x58/0xb0 kernel/entry/common.c:218
do_syscall_64+0x64/0xf0 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7f0238dc1785
Code: Unable to access opcode bytes at 0x7f0238dc175b.
RSP: 002b:00007f0239cf6f80 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6
RAX: fffffffffffffdfc RBX: 00007f0238fe5fa0 RCX: 00007f0238dc1785
RDX: 00007f0239cf6fc0 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007f0238e11f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 00007f0238fe6038 R14: 00007f0238fe5fa0 R15: 00007ffda36f85a8
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:current_umask+0x4e/0x80 fs/fs_struct.c:158
Code: 81 c3 78 08 00 00 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 70 d1 e5 ff 48 8b 1b 48 83 c3 0c 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 75 0c 8b 03 5b 41 5e 5d c3 cc cc cc cc cc 89
RSP: 0018:ffffc90005b8f5e0 EFLAGS: 00010203
RAX: 0000000000000001 RBX: 000000000000000c RCX: ffff888113fea600
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90005b8f5f0 R08: 000000003e0539ff R09: 00000001effbffac
R10: effbffac00000000 R11: 0000000000000001 R12: ffff88813ad84680
R13: ffff88813ad846a8 R14: dffffc0000000000 R15: ffff8881107dd330
FS: 0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000562cb850bb98 CR3: 000000010b7e6000 CR4: 00000000003526b0
----------------
Code disassembly (best guess):
0: 81 c3 78 08 00 00 add $0x878,%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 70 d1 e5 ff call 0xffe5d18c
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 0c jne 0x3f
33: 8b 03 mov (%rbx),%eax
35: 5b pop %rbx
36: 41 5e pop %r14
38: 5d pop %rbp
39: c3 ret
3a: cc int3
3b: cc int3
3c: cc int3
3d: cc int3
3e: cc int3
3f: 89 .byte 0x89