general protection fault, probably for non-canonical address 0xdffffc000000000d: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000068-0x000000000000006f] CPU: 1 PID: 15997 Comm: syz-executor.4 Not tainted 5.11.0-rc7-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+0x42/0x140 security/security.c:1278 Code: e8 fd 49 8d 5e 08 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 8c 91 2b fe 48 8b 1b 48 83 c3 68 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 6f 91 2b fe 48 8b 1b 48 83 c3 0c RSP: 0018:ffffc900085bf7c0 EFLAGS: 00010202 RAX: 000000000000000d RBX: 0000000000000068 RCX: 0000000000040000 RDX: ffffc900118f8000 RSI: 00000000000016b3 RDI: 00000000000016b4 RBP: ffffc900085bf898 R08: dffffc0000000000 R09: ffffc900085bf898 R10: fffff520010b7f15 R11: 0000000000000000 R12: ffffc900085bf8a8 R13: dffffc0000000000 R14: ffffc900085bf898 R15: dffffc0000000000 FS: 00007fe04fd84700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000557d7017c208 CR3: 000000006daae000 CR4: 00000000001506e0 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:884 [inline] ovl_copy_up_flags+0x2ae/0xff0 fs/overlayfs/copy_up.c:965 ovl_maybe_copy_up+0x154/0x180 fs/overlayfs/copy_up.c:997 ovl_open+0xa2/0x200 fs/overlayfs/file.c:149 do_dentry_open+0x7cb/0x1010 fs/open.c:817 do_open fs/namei.c:3254 [inline] path_openat+0x2791/0x37a0 fs/namei.c:3371 do_filp_open+0x191/0x3a0 fs/namei.c:3398 file_open_name+0x324/0x440 fs/open.c:1117 acct_on kernel/acct.c:207 [inline] __do_sys_acct kernel/acct.c:286 [inline] __se_sys_acct+0x115/0x6e0 kernel/acct.c:273 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x465d99 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe04fd84188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a3 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465d99 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000440 RBP: 00000000004bcf27 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffe5d39f8ff R14: 00007fe04fd84300 R15: 0000000000022000 Modules linked in: ---[ end trace 1ee15162d153e203 ]--- RIP: 0010:d_backing_inode include/linux/dcache.h:550 [inline] RIP: 0010:security_inode_getattr+0x42/0x140 security/security.c:1278 Code: e8 fd 49 8d 5e 08 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 8c 91 2b fe 48 8b 1b 48 83 c3 68 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 6f 91 2b fe 48 8b 1b 48 83 c3 0c RSP: 0018:ffffc900085bf7c0 EFLAGS: 00010202 RAX: 000000000000000d RBX: 0000000000000068 RCX: 0000000000040000 RDX: ffffc900118f8000 RSI: 00000000000016b3 RDI: 00000000000016b4 RBP: ffffc900085bf898 R08: dffffc0000000000 R09: ffffc900085bf898 R10: fffff520010b7f15 R11: 0000000000000000 R12: ffffc900085bf8a8 R13: dffffc0000000000 R14: ffffc900085bf898 R15: dffffc0000000000 FS: 00007fe04fd84700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000557d70089160 CR3: 000000006daae000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400