overlayfs: './file1' not a directory kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 15800 Comm: syz-executor.0 Not tainted 5.4.63-syzkaller-01129-gc99fd3bf1076 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:d_backing_inode include/linux/dcache.h:551 [inline] RIP: 0010:security_inode_getattr+0x42/0x140 security/security.c:1221 Code: 69 ff 49 8d 5e 08 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 6c f0 96 ff 48 8b 1b 48 83 c3 30 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 4f f0 96 ff 48 8b 1b 48 83 c3 0c RSP: 0018:ffff88810a1ff978 EFLAGS: 00010206 RAX: 0000000000000006 RBX: 0000000000000030 RCX: 0000000000040000 RDX: ffffc900004cf000 RSI: 0000000000000408 RDI: 0000000000000409 RBP: ffff88810a1ffb90 R08: dffffc0000000000 R09: ffff88810a1ffaa0 R10: ffffed102143ff56 R11: 0000000000000000 R12: 0000000000000400 R13: ffff88810a1ffaa0 R14: ffff88810a1ffaa0 R15: dffffc0000000000 FS: 00007f96b8fe0700(0000) GS:ffff8881db900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe8f74fb000 CR3: 000000012104c001 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: vfs_getattr+0x27/0x6e0 fs/stat.c:115 ovl_getattr+0x313/0xe60 fs/overlayfs/inode.c:236 vfs_statx fs/stat.c:191 [inline] vfs_stat include/linux/fs.h:3340 [inline] __do_sys_newstat fs/stat.c:341 [inline] __se_sys_newstat+0x105/0x8c0 fs/stat.c:337 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45d5b9 Code: 5d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f96b8fdfc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 00000000000339c0 RCX: 000000000045d5b9 RDX: 0000000000000000 RSI: 0000000020000400 RDI: 0000000020000280 RBP: 000000000118d018 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cfec R13: 00007ffe5af7f3bf R14: 00007f96b8fe09c0 R15: 000000000118cfec Modules linked in: ---[ end trace 7ab361d6cc42004b ]--- RIP: 0010:d_backing_inode include/linux/dcache.h:551 [inline] RIP: 0010:security_inode_getattr+0x42/0x140 security/security.c:1221 Code: 69 ff 49 8d 5e 08 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 6c f0 96 ff 48 8b 1b 48 83 c3 30 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 4f f0 96 ff 48 8b 1b 48 83 c3 0c RSP: 0018:ffff88810a1ff978 EFLAGS: 00010206 RAX: 0000000000000006 RBX: 0000000000000030 RCX: 0000000000040000 RDX: ffffc900004cf000 RSI: 0000000000000408 RDI: 0000000000000409 RBP: ffff88810a1ffb90 R08: dffffc0000000000 R09: ffff88810a1ffaa0 R10: ffffed102143ff56 R11: 0000000000000000 R12: 0000000000000400 R13: ffff88810a1ffaa0 R14: ffff88810a1ffaa0 R15: dffffc0000000000 FS: 00007f96b8fe0700(0000) GS:ffff8881db900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002001c000 CR3: 000000012104c004 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600