general protection fault, probably for non-canonical address 0xdffffc000000000c: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000060-0x0000000000000067] CPU: 1 PID: 17175 Comm: syz-executor.5 Not tainted 5.8.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:d_backing_inode include/linux/dcache.h:549 [inline] RIP: 0010:security_inode_getattr+0x42/0x140 security/security.c:1276 Code: 1e fe 49 8d 5e 08 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 fc 79 5d fe 48 8b 1b 48 83 c3 60 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 df 79 5d fe 48 8b 1b 48 83 c3 0c RSP: 0018:ffffc90007baf740 EFLAGS: 00010206 RAX: 000000000000000c RBX: 0000000000000060 RCX: 0000000000040000 RDX: ffffc90013ecd000 RSI: 00000000000061ed RDI: 00000000000061ee RBP: ffffc90007baf840 R08: dffffc0000000000 R09: ffffc90007baf840 R10: fffff52000f75f0a R11: 0000000000000000 R12: ffffc90007baf850 R13: 0000000000008401 R14: ffffc90007baf840 R15: dffffc0000000000 FS: 00007fc5ec06f700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004c1c27 CR3: 0000000091967000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vfs_getattr+0x21/0x60 fs/stat.c:121 ovl_copy_up_one fs/overlayfs/copy_up.c:850 [inline] ovl_copy_up_flags+0x2ef/0x2a00 fs/overlayfs/copy_up.c:931 ovl_maybe_copy_up+0x154/0x180 fs/overlayfs/copy_up.c:963 ovl_open+0xa2/0x200 fs/overlayfs/file.c:147 do_dentry_open+0x813/0x1070 fs/open.c:828 do_open fs/namei.c:3243 [inline] path_openat+0x278d/0x37f0 fs/namei.c:3360 do_filp_open+0x191/0x3a0 fs/namei.c:3387 file_open_name+0x321/0x430 fs/open.c:1124 acct_on kernel/acct.c:207 [inline] __do_sys_acct kernel/acct.c:286 [inline] __se_sys_acct+0x122/0x6f0 kernel/acct.c:273 do_syscall_64+0x73/0xe0 arch/x86/entry/common.c:384 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45c1f9 Code: Bad RIP value. RSP: 002b:00007fc5ec06ec78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a3 RAX: ffffffffffffffda RBX: 0000000000000700 RCX: 000000000045c1f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040 RBP: 000000000078bf30 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bf0c R13: 00007fffc8d1b2bf R14: 00007fc5ec06f9c0 R15: 000000000078bf0c Modules linked in: ---[ end trace 1f5d50741ddcd52d ]--- RIP: 0010:d_backing_inode include/linux/dcache.h:549 [inline] RIP: 0010:security_inode_getattr+0x42/0x140 security/security.c:1276 Code: 1e fe 49 8d 5e 08 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 fc 79 5d fe 48 8b 1b 48 83 c3 60 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 df 79 5d fe 48 8b 1b 48 83 c3 0c RSP: 0018:ffffc90007baf740 EFLAGS: 00010206 RAX: 000000000000000c RBX: 0000000000000060 RCX: 0000000000040000 RDX: ffffc90013ecd000 RSI: 00000000000061ed RDI: 00000000000061ee RBP: ffffc90007baf840 R08: dffffc0000000000 R09: ffffc90007baf840 R10: fffff52000f75f0a R11: 0000000000000000 R12: ffffc90007baf850 R13: 0000000000008401 R14: ffffc90007baf840 R15: dffffc0000000000 FS: 00007fc5ec06f700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000740138 CR3: 0000000091967000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400