------------[ cut here ]------------ Trying to vfree() bad address (ffff88807d1dc140) WARNING: CPU: 0 PID: 21333 at mm/vmalloc.c:2608 __vunmap+0xa75/0xc50 mm/vmalloc.c:2608 Modules linked in: CPU: 0 PID: 21333 Comm: syz-executor.2 Not tainted 5.17.0-rc1-syzkaller-00210-g6449520391df #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__vunmap+0xa75/0xc50 mm/vmalloc.c:2608 Code: c0 31 d2 31 f6 48 c7 c7 ff ff ff ff e8 94 31 ff ff e9 ff fe ff ff e8 ca bd c3 ff 4c 89 e6 48 c7 c7 60 9b b7 89 e8 65 df 54 07 <0f> 0b e9 d6 f6 ff ff 45 31 e4 e9 3a ff ff ff 48 8d 45 20 c7 44 24 RSP: 0018:ffffc90002bbf2d8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000140 RCX: 0000000000000000 RDX: ffff888023831d00 RSI: ffffffff815fa1d8 RDI: fffff52000577e4d RBP: ffff88807d1dc140 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815f3f3e R11: 0000000000000000 R12: ffff88807d1dc140 R13: fffffbfff1b29960 R14: 0000607f46081800 R15: ffffe8ffffc81800 FS: 00007efed8b85700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f13fb554718 CR3: 000000001b096000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __vfree+0x3c/0xd0 mm/vmalloc.c:2683 vfree+0x5a/0x90 mm/vmalloc.c:2714 ipcomp_free_scratches+0xc4/0x160 net/xfrm/xfrm_ipcomp.c:203 ipcomp_free_data net/xfrm/xfrm_ipcomp.c:312 [inline] ipcomp_init_state+0x74a/0xa60 net/xfrm/xfrm_ipcomp.c:364 ipcomp6_init_state+0xc2/0x700 net/ipv6/ipcomp6.c:154 __xfrm_init_state+0x995/0x15c0 net/xfrm/xfrm_state.c:2670 xfrm_state_construct net/xfrm/xfrm_user.c:641 [inline] xfrm_add_sa+0x1f67/0x3680 net/xfrm/xfrm_user.c:698 xfrm_user_rcv_msg+0x437/0xa30 net/xfrm/xfrm_user.c:2941 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2494 xfrm_netlink_rcv+0x6b/0x90 net/xfrm/xfrm_user.c:2963 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline] netlink_unicast+0x539/0x7e0 net/netlink/af_netlink.c:1343 netlink_sendmsg+0x904/0xe00 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:725 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2413 ___sys_sendmsg+0xf3/0x170 net/socket.c:2467 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2496 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7efeda210059 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007efed8b85168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007efeda322f60 RCX: 00007efeda210059 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000003 RBP: 00007efeda26a08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff0a2b940f R14: 00007efed8b85300 R15: 0000000000022000