netlink: 16 bytes leftover after parsing attributes in process `syz-executor.2'. general protection fault, probably for non-canonical address 0xe95e3187f724c320: 0000 [#1] PREEMPT SMP KASAN KASAN: maybe wild-memory-access in range [0x4af1ac3fb9261900-0x4af1ac3fb9261907] CPU: 1 PID: 2409 Comm: syz-executor.2 Not tainted 5.14.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:nla_type include/net/netlink.h:1130 [inline] RIP: 0010:xfrm_xlate32_attr net/xfrm/xfrm_compat.c:410 [inline] RIP: 0010:xfrm_xlate32 net/xfrm/xfrm_compat.c:532 [inline] RIP: 0010:xfrm_user_rcv_msg_compat+0x5e5/0x1070 net/xfrm/xfrm_compat.c:577 Code: 3c 38 00 0f 85 50 08 00 00 48 8b 04 24 4c 8b 20 4d 85 e4 0f 84 0b 02 00 00 e8 67 bf a9 f9 49 8d 7c 24 02 48 89 f8 48 c1 e8 03 <42> 0f b6 14 38 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 RSP: 0018:ffffc9000208f3d0 EFLAGS: 00010202 RAX: 095e3587f724c320 RBX: 0000000000000006 RCX: ffffc9000e4ed000 RDX: 0000000000040000 RSI: ffffffff87cbdbf9 RDI: 4af1ac3fb9261902 RBP: ffff888030ed0b10 R08: 000000000000001b R09: ffff888030ed0b13 R10: ffffffff87cbde39 R11: 0000000000000024 R12: 4af1ac3fb9261900 R13: 0000000000000007 R14: ffff888030ed0b00 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0063) knlGS:00000000f554cb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00007fd16bd72bb8 CR3: 0000000075b2e000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: xfrm_user_rcv_msg+0x556/0x8b0 net/xfrm/xfrm_user.c:2774 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2504 xfrm_netlink_rcv+0x6b/0x90 net/xfrm/xfrm_user.c:2824 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline] netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1340 netlink_sendmsg+0x86d/0xdb0 net/netlink/af_netlink.c:1929 sock_sendmsg_nosec net/socket.c:703 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:723 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2392 ___sys_sendmsg+0xf3/0x170 net/socket.c:2446 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2475 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f52549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f554c5fc EFLAGS: 00000296 ORIG_RAX: 0000000000000172 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000200000c0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace e395c16cbe46208e ]--- RIP: 0010:nla_type include/net/netlink.h:1130 [inline] RIP: 0010:xfrm_xlate32_attr net/xfrm/xfrm_compat.c:410 [inline] RIP: 0010:xfrm_xlate32 net/xfrm/xfrm_compat.c:532 [inline] RIP: 0010:xfrm_user_rcv_msg_compat+0x5e5/0x1070 net/xfrm/xfrm_compat.c:577 Code: 3c 38 00 0f 85 50 08 00 00 48 8b 04 24 4c 8b 20 4d 85 e4 0f 84 0b 02 00 00 e8 67 bf a9 f9 49 8d 7c 24 02 48 89 f8 48 c1 e8 03 <42> 0f b6 14 38 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 RSP: 0018:ffffc9000208f3d0 EFLAGS: 00010202 RAX: 095e3587f724c320 RBX: 0000000000000006 RCX: ffffc9000e4ed000 RDX: 0000000000040000 RSI: ffffffff87cbdbf9 RDI: 4af1ac3fb9261902 RBP: ffff888030ed0b10 R08: 000000000000001b R09: ffff888030ed0b13 R10: ffffffff87cbde39 R11: 0000000000000024 R12: 4af1ac3fb9261900 R13: 0000000000000007 R14: ffff888030ed0b00 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0063) knlGS:00000000f554cb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000081590d4 CR3: 0000000075b2e000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400