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: 9360 Comm: syz.1.9022 Not tainted 6.12.30-syzkaller-g2e58e85c038f #0 c5e7ad78b71ddb211d6a9cda70735ca8545dcbc5 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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 50 dd 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: 0000:ffffc900096775e0 EFLAGS: 00010203 RAX: 0000000000000001 RBX: 000000000000000c RCX: ffff88810ba71300 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900096775f0 R08: 000000003e0539ff R09: 00000001effbffac R10: effbffac00000000 R11: 0000000000000001 R12: ffff888131c3ad80 R13: ffff888131c3ada8 R14: dffffc0000000000 R15: ffff888131ce5330 FS: 0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc89561bd43 CR3: 0000000156e9a000 CR4: 00000000003526b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 00000000000032e7 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: 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:1970 [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+0xd5/0x2a0 fs/super.c:476 deactivate_super+0xb8/0xe0 fs/super.c:509 cleanup_mnt+0x3f1/0x480 fs/namespace.c:1374 __cleanup_mnt+0x1d/0x40 fs/namespace.c:1381 task_work_run+0x1e3/0x250 kernel/task_work.c:240 exit_task_work include/linux/task_work.h:43 [inline] do_exit+0x9b4/0x2630 kernel/exit.c:944 do_group_exit+0x22a/0x300 kernel/exit.c:1094 get_signal+0x139d/0x14f0 kernel/signal.c:2934 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:0x7f97e6dc1265 Code: Unable to access opcode bytes at 0x7f97e6dc123b. RSP: 002b:00007f97e7bbcf80 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: fffffffffffffdfc RBX: 00007f97e6fb5fa0 RCX: 00007f97e6dc1265 RDX: 00007f97e7bbcfc0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f97e6e10d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f97e6fb5fa0 R15: 00007ffdaf9ec4c8 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 50 dd 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: 0000:ffffc900096775e0 EFLAGS: 00010203 RAX: 0000000000000001 RBX: 000000000000000c RCX: ffff88810ba71300 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900096775f0 R08: 000000003e0539ff R09: 00000001effbffac R10: effbffac00000000 R11: 0000000000000001 R12: ffff888131c3ad80 R13: ffff888131c3ada8 R14: dffffc0000000000 R15: ffff888131ce5330 FS: 0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055af1ac3bb98 CR3: 00000000072a8000 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 50 dd e5 ff call 0xffe5dd6c 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