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: 1 PID: 10922 Comm: syz-executor.2 Not tainted 4.19.148-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 netlink: 'syz-executor.4': attribute type 4 has an invalid length. RIP: 0010:d_backing_inode include/linux/dcache.h:543 [inline] RIP: 0010:security_inode_getattr+0x46/0x140 security/security.c:722 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 58 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:ffff888040647678 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000a12b000 RDX: 000000000000000b RSI: ffffffff83541a7e RDI: 0000000000000058 RBP: ffff8880406477c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 000000000000002d R12: ffff8880a2d7ba20 R13: ffff8880406477c0 R14: 00000000000007ff R15: 0000000000000000 FS: 00007f45583ec700(0000) GS:ffff8880ae300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001590004 CR3: 00000000a4522000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 netlink: 'syz-executor.4': attribute type 4 has an invalid length. Call Trace: vfs_getattr+0x22/0x60 fs/stat.c:113 ovl_copy_up_one+0x11d/0xed0 fs/overlayfs/copy_up.c:775 ovl_copy_up_flags+0x14b/0x1c0 fs/overlayfs/copy_up.c:856 ovl_maybe_copy_up+0x140/0x190 fs/overlayfs/copy_up.c:888 ovl_open+0xb4/0x260 fs/overlayfs/file.c:126 do_dentry_open+0x4aa/0x1160 fs/open.c:796 do_last fs/namei.c:3421 [inline] path_openat+0x7d5/0x2e90 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 file_open_name+0x269/0x380 fs/open.c:1032 netlink: 'syz-executor.4': attribute type 4 has an invalid length. acct_on kernel/acct.c:207 [inline] __do_sys_acct kernel/acct.c:286 [inline] __se_sys_acct+0xf2/0x960 kernel/acct.c:273 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45e179 Code: 3d b2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 0b b2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f45583ebc78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a3 RAX: ffffffffffffffda RBX: 0000000000000700 RCX: 000000000045e179 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000140 RBP: 000000000118d018 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cff4 R13: 00007ffff1b401af R14: 00007f45583ec9c0 R15: 000000000118cff4 Modules linked in: netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. ---[ end trace e20e28ee6beed355 ]--- RIP: 0010:d_backing_inode include/linux/dcache.h:543 [inline] RIP: 0010:security_inode_getattr+0x46/0x140 security/security.c:722 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 58 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 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. RSP: 0018:ffff888040647678 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000a12b000 RDX: 000000000000000b RSI: ffffffff83541a7e RDI: 0000000000000058 RBP: ffff8880406477c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 000000000000002d R12: ffff8880a2d7ba20 R13: ffff8880406477c0 R14: 00000000000007ff R15: 0000000000000000 FS: 00007f45583ec700(0000) GS:ffff8880ae300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe08315c30 CR3: 00000000a4522000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400