kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 681 Comm: syz-executor.3 Not tainted 5.4.281-syzkaller-04937-gd883a2284ec1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:d_backing_inode include/linux/dcache.h:552 [inline] RIP: 0010:security_inode_getattr+0x42/0x120 security/security.c:1241 Code: 5c ff 49 8d 5f 08 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 2c eb 8b ff 48 8b 2b 48 83 c5 30 48 89 e8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 ef e8 0f eb 8b ff 48 8b 6d 00 48 83 c5 RSP: 0018:ffff8881e6b07998 EFLAGS: 00010206 RAX: 0000000000000006 RBX: ffff8881e6b07aa8 RCX: ffff8881e6e52f40 RDX: 0000000000000000 RSI: ffff8881e6b07b90 RDI: ffff8881e6b07aa0 RBP: 0000000000000030 R08: dffffc0000000000 R09: ffff8881e6b07aa0 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881e6b07aa0 R14: 0000000000000000 R15: ffff8881e6b07aa0 FS: 00007fc4eac936c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000001ea2b2000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vfs_getattr+0x27/0x700 fs/stat.c:115 ovl_getattr+0x328/0xe30 fs/overlayfs/inode.c:236 vfs_statx fs/stat.c:191 [inline] vfs_stat include/linux/fs.h:3369 [inline] __do_sys_newstat fs/stat.c:340 [inline] __se_sys_newstat+0x119/0x850 fs/stat.c:336 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x4551e9 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 b4 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc4eac930d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 000000000054cfa0 RCX: 00000000004551e9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000280 RBP: 00000000004a06fd R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000049f8fd R13: 0000000000000009 R14: 000000000054cfa0 R15: 00007fff4b853768 Modules linked in: ---[ end trace 9d7b70c9ef7d9397 ]--- RIP: 0010:d_backing_inode include/linux/dcache.h:552 [inline] RIP: 0010:security_inode_getattr+0x42/0x120 security/security.c:1241 Code: 5c ff 49 8d 5f 08 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 2c eb 8b ff 48 8b 2b 48 83 c5 30 48 89 e8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 ef e8 0f eb 8b ff 48 8b 6d 00 48 83 c5 RSP: 0018:ffff8881e6b07998 EFLAGS: 00010206 RAX: 0000000000000006 RBX: ffff8881e6b07aa8 RCX: ffff8881e6e52f40 RDX: 0000000000000000 RSI: ffff8881e6b07b90 RDI: ffff8881e6b07aa0 RBP: 0000000000000030 R08: dffffc0000000000 R09: ffff8881e6b07aa0 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881e6b07aa0 R14: 0000000000000000 R15: ffff8881e6b07aa0 FS: 00007fc4eac936c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000001ea2b2000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 5c pop %rsp 1: ff 49 8d decl -0x73(%rcx) 4: 5f pop %rdi 5: 08 48 89 or %cl,-0x77(%rax) 8: d8 48 c1 fmuls -0x3f(%rax) b: e8 03 42 80 3c call 0x3c804213 10: 20 00 and %al,(%rax) 12: 74 08 je 0x1c 14: 48 89 df mov %rbx,%rdi 17: e8 2c eb 8b ff call 0xff8beb48 1c: 48 8b 2b mov (%rbx),%rbp 1f: 48 83 c5 30 add $0x30,%rbp 23: 48 89 e8 mov %rbp,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 ef mov %rbp,%rdi 34: e8 0f eb 8b ff call 0xff8beb48 39: 48 8b 6d 00 mov 0x0(%rbp),%rbp 3d: 48 rex.W 3e: 83 .byte 0x83 3f: c5 .byte 0xc5