RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000140 RBP: 0000000000000002 R08: 0000000000000000 R09: 00007f5c47003731 R10: 000000000000001c R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff941e19d8 R14: 0000000000000001 R15: 0000000000000001 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 4162 at fs/overlayfs/copy_up.c:371 ovl_encode_real_fh+0x2d6/0x400 Modules linked in: CPU: 1 PID: 4162 Comm: syz-executor292 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:ovl_encode_real_fh+0x2d6/0x400 fs/overlayfs/copy_up.c:371 Code: 00 4c 89 f8 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 8c 6b a0 fe 0f 0b eb 10 e8 83 6b a0 fe 0f 0b eb 07 e8 7a 6b a0 fe <0f> 0b 4c 89 ff e8 90 a4 e9 fe 49 c7 c7 fb ff ff ff eb 95 89 d1 80 RSP: 0018:ffffc90002dcf560 EFLAGS: 00010293 RAX: ffffffff82e00826 RBX: 1ffff920005b9eb4 RCX: ffff88807c758000 RDX: 0000000000000000 RSI: 00000000000000ff RDI: 00000000000000ff RBP: ffffc90002dcf610 R08: ffffffff82e006c8 R09: fffffbfff1c14b16 R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000000000ff R13: 0000000000000080 R14: 1ffff920005b9eb0 R15: ffff88814c443600 FS: 0000555564d27480(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005647a74b6608 CR3: 0000000076c86000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ovl_get_index_name fs/overlayfs/namei.c:654 [inline] ovl_lookup_index+0x6a/0x660 fs/overlayfs/namei.c:703 ovl_lookup+0x1636/0x1f10 fs/overlayfs/namei.c:1052 __lookup_slow+0x275/0x3d0 fs/namei.c:1663 lookup_slow+0x53/0x70 fs/namei.c:1680 walk_component+0x48c/0x610 fs/namei.c:1976 lookup_last fs/namei.c:2431 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2455 filename_lookup+0x230/0x5c0 fs/namei.c:2484 user_path_at_empty+0x40/0x180 fs/namei.c:2883 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0xae/0x2a0 fs/xattr.c:625 __do_sys_lsetxattr fs/xattr.c:653 [inline] __se_sys_lsetxattr fs/xattr.c:649 [inline] __x64_sys_lsetxattr+0xb4/0xd0 fs/xattr.c:649 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:0x7f5c47d5f449 Code: 48 83 c4 28 c3 e8 47 1a 00 00 0f 1f 80 00 00 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff941e1768 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 00007fff941e1770 RCX: 00007f5c47d5f449 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000140 RBP: 0000000000000002 R08: 0000000000000000 R09: 00007f5c47003731 R10: 000000000000001c R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff941e19d8 R14: 0000000000000001 R15: 0000000000000001