general protection fault, probably for non-canonical address 0xdffffc000000000c: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000060-0x0000000000000067] CPU: 0 PID: 22978 Comm: syz-executor.1 Not tainted 5.8.0-rc6-next-20200724-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:550 [inline] RIP: 0010:security_inode_getattr+0x46/0x140 security/security.c:1285 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 60 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:ffffc90008cd7638 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000aa76000 RDX: 000000000000000c RSI: ffffffff8357d0be RDI: 0000000000000060 RBP: ffffc90008cd7810 R08: 0000000000000001 R09: ffff888052b4ad48 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880864f1b80 R13: ffffc90008cd7810 R14: 00000000000007ff R15: 0000000000000000 FS: 00007f5f8353d700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e229000 CR3: 000000006d41b000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vfs_getattr+0x22/0x60 fs/stat.c:121 ovl_copy_up_one+0x13b/0x1870 fs/overlayfs/copy_up.c:850 ovl_copy_up_flags+0x14b/0x1d0 fs/overlayfs/copy_up.c:931 ovl_maybe_copy_up+0x140/0x190 fs/overlayfs/copy_up.c:963 ovl_open+0xba/0x270 fs/overlayfs/file.c:147 do_dentry_open+0x4b9/0x11b0 fs/open.c:827 do_open fs/namei.c:3249 [inline] path_openat+0x1b97/0x2720 fs/namei.c:3366 do_filp_open+0x17e/0x3c0 fs/namei.c:3393 file_open_name+0x290/0x400 fs/open.c:1123 acct_on+0x78/0x770 kernel/acct.c:207 __do_sys_acct kernel/acct.c:286 [inline] __se_sys_acct kernel/acct.c:273 [inline] __x64_sys_acct+0xab/0x1f0 kernel/acct.c:273 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:384 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45c369 Code: Bad RIP value. RSP: 002b:00007f5f8353cc78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a3 RAX: ffffffffffffffda RBX: 0000000000000700 RCX: 000000000045c369 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040 RBP: 000000000078bf30 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bf0c R13: 00007fff4c12386f R14: 00007f5f8353d9c0 R15: 000000000078bf0c Modules linked in: ---[ end trace 55ef98af7130c524 ]--- RIP: 0010:d_backing_inode include/linux/dcache.h:550 [inline] RIP: 0010:security_inode_getattr+0x46/0x140 security/security.c:1285 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 60 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:ffffc90008cd7638 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000aa76000 RDX: 000000000000000c RSI: ffffffff8357d0be RDI: 0000000000000060 RBP: ffffc90008cd7810 R08: 0000000000000001 R09: ffff888052b4ad48 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880864f1b80 R13: ffffc90008cd7810 R14: 00000000000007ff R15: 0000000000000000 FS: 00007f5f8353d700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004dcc10 CR3: 000000006d41b000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400