WARNING: CPU: 0 PID: 24207 at fs/overlayfs/super.c:115 ovl_d_real+0x215/0x480 fs/overlayfs/super.c:112 Modules linked in: CPU: 1 PID: 24207 Comm: syz-executor.4 Not tainted 5.15.158-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:ovl_d_real+0x215/0x480 fs/overlayfs/super.c:112 Code: 00 45 31 ff 31 c0 48 c7 c7 80 6c bf 8a 48 c7 c6 9f b8 1a 8c 4c 89 f2 4c 89 e1 4d 89 e8 4d 89 f9 50 e8 ff 2d 79 fe 48 83 c4 08 <0f> 0b 4c 89 f0 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 96 85 ad fe 49 RSP: 0018:ffffc9000309f540 EFLAGS: 00010292 RAX: 0da91ec0aab74e00 RBX: ffff8880505bd2a0 RCX: 0000000000040000 RDX: ffffc9000d252000 RSI: 000000000000443c RDI: 000000000000443d RBP: dffffc0000000000 R08: ffffffff8166860c R09: fffff52000613de9 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888023bfc6a8 R13: 0000000000000799 R14: ffff88805d81dd60 R15: ffff88805d81dbe8 FS: 00007f17b7e176c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f998ae176e4 CR3: 00000000611c5000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 000000000000fc69 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: d_real include/linux/dcache.h:587 [inline] file_dentry include/linux/fs.h:1388 [inline] fscrypt_file_open+0x29d/0x300 fs/crypto/hooks.c:39 ext4_file_open+0x1fc/0x710 fs/ext4/file.c:857 do_dentry_open+0x807/0xfb0 fs/open.c:826 open_with_fake_path+0x53/0x90 fs/open.c:1032 ovl_open_realfile+0x16d/0x2c0 fs/overlayfs/file.c:60 ovl_open+0xe7/0x200 fs/overlayfs/file.c:156 do_dentry_open+0x807/0xfb0 fs/open.c:826 do_open fs/namei.c:3608 [inline] path_openat+0x2705/0x2f20 fs/namei.c:3742 do_filp_open+0x21c/0x460 fs/namei.c:3769 do_sys_openat2+0x13b/0x500 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1280 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f17b98c5d69 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f17b7e170c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f17b99f4050 RCX: 00007f17b98c5d69 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 000000000000000b RBP: 00007f17b991249e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f17b99f4050 R15: 00007ffd1d731a88