overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. kasan: CONFIG_KASAN_INLINE enabled overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 10088 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 RIP: 0010:d_backing_inode include/linux/dcache.h:543 [inline] RIP: 0010:security_inode_getattr+0x46/0x140 security/security.c:722 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 04 01 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 5d 08 48 8d 7b 58 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 d7 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b RSP: 0018:ffff88808d70f698 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 000000000000000b RSI: ffffffff8331d3fe RDI: 0000000000000058 RBP: ffff88808d70f7f0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff88808e5c6720 R13: ffff88808d70f7f0 R14: 00000000000007ff R15: 0000000000000000 FS: 00007facdadce700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faf23c2e008 CR3: 00000000b2e81000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vfs_getattr+0x22/0x60 fs/stat.c:113 ovl_copy_up_one+0x125/0xf20 fs/overlayfs/copy_up.c:776 ovl_copy_up_flags+0x150/0x1d0 fs/overlayfs/copy_up.c:858 ovl_maybe_copy_up+0x140/0x190 fs/overlayfs/copy_up.c:890 ovl_open+0xb4/0x260 fs/overlayfs/file.c:126 do_dentry_open+0x4aa/0x1160 fs/open.c:796 do_last fs/namei.c:3421 [inline] path_openat+0x793/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7facdb69c5a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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:00007facdadce168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007facdb7be120 RCX: 00007facdb69c5a9 RDX: 0000000000000000 RSI: 0000000000000300 RDI: 0000000020000140 RBP: 00007facdb6f7580 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffdfbb6b3f R14: 00007facdadce300 R15: 0000000000022000 Modules linked in: overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. ---[ end trace 9b23bdcfd6564f93 ]--- overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. RIP: 0010:d_backing_inode include/linux/dcache.h:543 [inline] RIP: 0010:security_inode_getattr+0x46/0x140 security/security.c:722 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 04 01 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 5d 08 48 8d 7b 58 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 d7 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b RSP: 0018:ffff88808d70f698 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 000000000000000b RSI: ffffffff8331d3fe RDI: 0000000000000058 RBP: ffff88808d70f7f0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff88808e5c6720 R13: ffff88808d70f7f0 R14: 00000000000007ff R15: 0000000000000000 FS: 00007facdadce700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd908521fc8 CR3: 00000000b2e81000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 overlayfs: failed to resolve './file0': -2 overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. ---------------- Code disassembly (best guess): 0: 48 89 fa mov %rdi,%rdx 3: 48 c1 ea 03 shr $0x3,%rdx 7: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) b: 0f 85 04 01 00 00 jne 0x115 11: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 18: fc ff df 1b: 49 8b 5d 08 mov 0x8(%r13),%rbx 1f: 48 8d 7b 58 lea 0x58(%rbx),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 d7 00 00 00 jne 0x10b 34: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 3b: fc ff df 3e: 48 rex.W 3f: 8b .byte 0x8b