general protection fault, probably for non-canonical address 0xdffffc000000000d: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000068-0x000000000000006f] CPU: 0 PID: 22137 Comm: syz-executor.0 Not tainted 5.14.0-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:553 [inline] RIP: 0010:security_inode_getattr+0x42/0x140 security/security.c:1331 Code: ae fd 49 8d 5e 08 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 3c 52 fa fd 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 1f 52 fa fd 48 8b 1b 48 83 c3 0c RSP: 0018:ffffc900044573a0 EFLAGS: 00010202 RAX: 000000000000000d RBX: 0000000000000068 RCX: 0000000000040000 RDX: ffffc90003143000 RSI: 000000000000290f RDI: 0000000000002910 RBP: ffffc90004457600 R08: dffffc0000000000 R09: ffffc90004457600 R10: fffff5200088aec2 R11: 0000000000000000 R12: ffffc90004457610 R13: ffff88806cce68d0 R14: ffffc90004457600 R15: dffffc0000000000 FS: 00007fc68f60b700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000440670 CR3: 0000000086248000 CR4: 00000000001506f0 Call Trace: vfs_getattr+0x21/0x60 fs/stat.c:157 ovl_copy_up_one fs/overlayfs/copy_up.c:935 [inline] ovl_copy_up_flags+0x47f/0x11b0 fs/overlayfs/copy_up.c:1017 ovl_maybe_copy_up+0x154/0x180 fs/overlayfs/copy_up.c:1049 ovl_open+0xa2/0x200 fs/overlayfs/file.c:149 do_dentry_open+0x7cb/0x1020 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x28b4/0x3670 fs/namei.c:3559 do_filp_open+0x277/0x4f0 fs/namei.c:3586 file_open_name+0x242/0x2a0 fs/open.c:1145 acct_on kernel/acct.c:207 [inline] __do_sys_acct kernel/acct.c:286 [inline] __se_sys_acct+0xfd/0x6f0 kernel/acct.c:273 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665f9 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:00007fc68f60b188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a3 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000440 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007ffe25d939ff R14: 00007fc68f60b300 R15: 0000000000022000 Modules linked in: ---[ end trace bcda505cb937c585 ]--- RIP: 0010:d_backing_inode include/linux/dcache.h:553 [inline] RIP: 0010:security_inode_getattr+0x42/0x140 security/security.c:1331 Code: ae fd 49 8d 5e 08 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 3c 52 fa fd 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 1f 52 fa fd 48 8b 1b 48 83 c3 0c RSP: 0018:ffffc900044573a0 EFLAGS: 00010202 RAX: 000000000000000d RBX: 0000000000000068 RCX: 0000000000040000 RDX: ffffc90003143000 RSI: 000000000000290f RDI: 0000000000002910 RBP: ffffc90004457600 R08: dffffc0000000000 R09: ffffc90004457600 R10: fffff5200088aec2 R11: 0000000000000000 R12: ffffc90004457610 R13: ffff88806cce68d0 R14: ffffc90004457600 R15: dffffc0000000000 FS: 00007fc68f60b700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4827b3c000 CR3: 0000000086248000 CR4: 00000000001506f0 ---------------- Code disassembly (best guess): 0: ae scas %es:(%rdi),%al 1: fd std 2: 49 8d 5e 08 lea 0x8(%r14),%rbx 6: 48 89 d8 mov %rbx,%rax 9: 48 c1 e8 03 shr $0x3,%rax d: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) 12: 74 08 je 0x1c 14: 48 89 df mov %rbx,%rdi 17: e8 3c 52 fa fd callq 0xfdfa5258 1c: 48 8b 1b mov (%rbx),%rbx 1f: 48 83 c3 68 add $0x68,%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 df mov %rbx,%rdi 34: e8 1f 52 fa fd callq 0xfdfa5258 39: 48 8b 1b mov (%rbx),%rbx 3c: 48 83 c3 0c add $0xc,%rbx