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: 6187 Comm: syz-executor.5 Not tainted 6.2.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:d_backing_inode include/linux/dcache.h:543 [inline] RIP: 0010:security_inode_getattr+0x42/0x140 security/security.c:1373 Code: 96 fd 49 8d 5e 08 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 9c 94 ec 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 7f 94 ec fd 48 8b 1b 48 83 c3 0c RSP: 0018:ffffc900162578a0 EFLAGS: 00010202 RAX: 000000000000000d RBX: 0000000000000068 RCX: 0000000000040000 RDX: ffffc9000eb87000 RSI: 0000000000000aea RDI: 0000000000000aeb RBP: ffffc90016257980 R08: ffffffff82f99b63 R09: ffffed100e56128d R10: ffffed100e56128d R11: 1ffff1100e56128c R12: ffffc90016257a80 R13: ffffc90016257dd0 R14: ffffc90016257980 R15: dffffc0000000000 FS: 00007f79b9785700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9e2edda000 CR3: 0000000022ea6000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vfs_getattr+0x21/0x60 fs/stat.c:161 ovl_getattr+0x321/0xe90 fs/overlayfs/inode.c:248 vfs_getattr fs/stat.c:164 [inline] vfs_statx+0x1ba/0x4a0 fs/stat.c:236 vfs_fstatat fs/stat.c:270 [inline] vfs_lstat include/linux/fs.h:3295 [inline] __do_sys_newlstat fs/stat.c:426 [inline] __se_sys_newlstat+0xc5/0x7d0 fs/stat.c:420 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f79b8a8c0a9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f79b9785168 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 00007f79b8bac120 RCX: 00007f79b8a8c0a9 RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000020000140 RBP: 00007f79b8ae7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdce92892f R14: 00007f79b9785300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:d_backing_inode include/linux/dcache.h:543 [inline] RIP: 0010:security_inode_getattr+0x42/0x140 security/security.c:1373 Code: 96 fd 49 8d 5e 08 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 9c 94 ec 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 7f 94 ec fd 48 8b 1b 48 83 c3 0c RSP: 0018:ffffc900162578a0 EFLAGS: 00010202 RAX: 000000000000000d RBX: 0000000000000068 RCX: 0000000000040000 RDX: ffffc9000eb87000 RSI: 0000000000000aea RDI: 0000000000000aeb RBP: ffffc90016257980 R08: ffffffff82f99b63 R09: ffffed100e56128d R10: ffffed100e56128d R11: 1ffff1100e56128c R12: ffffc90016257a80 R13: ffffc90016257dd0 R14: ffffc90016257980 R15: dffffc0000000000 FS: 00007f79b9785700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9868c3e000 CR3: 0000000022ea6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 96 xchg %eax,%esi 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 9c 94 ec fd callq 0xfdec94b8 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 7f 94 ec fd callq 0xfdec94b8 39: 48 8b 1b mov (%rbx),%rbx 3c: 48 83 c3 0c add $0xc,%rbx