skbuff: skb_over_panic: text:ffffffff83bf4035 len:664 put:72 head:ffff8881ef78c800 data:ffff8881ef78c800 tail:0x298 end:0x280 dev: ------------[ cut here ]------------ kernel BUG at net/core/skbuff.c:109! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 363 Comm: syz-executor195 Not tainted 5.4.197-syzkaller-00005-g704c7d053806 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 RIP: 0010:skb_panic+0x14a/0x150 net/core/skbuff.c:105 Code: f2 ee 84 48 8b 74 24 08 48 8b 54 24 10 8b 0c 24 44 8b 44 24 04 49 89 e9 31 c0 53 41 55 41 54 41 57 e8 bf 62 c5 00 48 83 c4 20 <0f> 0b 0f 1f 40 00 55 41 57 41 56 41 55 41 54 53 48 83 ec 68 4d 89 RSP: 0018:ffff8881da6af350 EFLAGS: 00010286 RAX: 0000000000000088 RBX: ffffffff84eef280 RCX: a947b947f9301200 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffff8881ef78c800 R08: ffffffff814a983a R09: ffffed103edcaa08 R10: ffffed103edcaa08 R11: 1ffff1103edcaa07 R12: 0000000000000298 R13: 0000000000000280 R14: dffffc0000000000 R15: ffff8881ef78c800 FS: 00007f195de90700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200d2030 CR3: 00000001da441000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_over_panic net/core/skbuff.c:114 [inline] skb_put+0x148/0x1f0 net/core/skbuff.c:1877 dump_esp_combs net/key/af_key.c:3010 [inline] pfkey_send_acquire+0x18f5/0x2cf0 net/key/af_key.c:3231 km_query+0x79/0xe0 net/xfrm/xfrm_state.c:2206 xfrm_state_find+0x2074/0x2de0 net/xfrm/xfrm_state.c:1135 xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:2397 [inline] xfrm_tmpl_resolve net/xfrm/xfrm_policy.c:2442 [inline] xfrm_resolve_and_create_bundle+0x68e/0x30e0 net/xfrm/xfrm_policy.c:2733 xfrm_lookup_with_ifid+0xe65/0x2050 net/xfrm/xfrm_policy.c:3056 xfrm_lookup net/xfrm/xfrm_policy.c:3180 [inline] xfrm_lookup_route+0x37/0x170 net/xfrm/xfrm_policy.c:3191 ip_route_output_flow+0x19b/0x2a0 net/ipv4/route.c:2756 udp_sendmsg+0x1446/0x2560 net/ipv4/udp.c:1154 sock_sendmsg_nosec net/socket.c:638 [inline] sock_sendmsg net/socket.c:658 [inline] ____sys_sendmsg+0x4ee/0x7c0 net/socket.c:2287 ___sys_sendmsg net/socket.c:2341 [inline] __sys_sendmmsg+0x32b/0x640 net/socket.c:2444 __do_sys_sendmmsg net/socket.c:2473 [inline] __se_sys_sendmmsg net/socket.c:2470 [inline] __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2470 do_syscall_64+0xcb/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f195df45579 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 a1 15 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:00007f195de90308 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f195dfce518 RCX: 00007f195df45579 RDX: 0400000000000354 RSI: 0000000020000180 RDI: 0000000000000005 RBP: 00007f195dfce510 R08: 0000000000000000 R09: 0000000000000000 R10: 000002873dedf99c R11: 0000000000000246 R12: 00007f195dfce51c R13: 00007f195df9b554 R14: 0100000000000000 R15: 0000000000022000 Modules linked in: ---[ end trace b3ccfeb7ad2b0c33 ]--- RIP: 0010:skb_panic+0x14a/0x150 net/core/skbuff.c:105 Code: f2 ee 84 48 8b 74 24 08 48 8b 54 24 10 8b 0c 24 44 8b 44 24 04 49 89 e9 31 c0 53 41 55 41 54 41 57 e8 bf 62 c5 00 48 83 c4 20 <0f> 0b 0f 1f 40 00 55 41 57 41 56 41 55 41 54 53 48 83 ec 68 4d 89 RSP: 0018:ffff8881da6af350 EFLAGS: 00010286 RAX: 0000000000000088 RBX: ffffffff84eef280 RCX: a947b947f9301200 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffff8881ef78c800 R08: ffffffff814a983a R09: ffffed103edcaa08 R10: ffffed103edcaa08 R11: 1ffff1103edcaa07 R12: 0000000000000298 R13: 0000000000000280 R14: dffffc0000000000 R15: ffff8881ef78c800 FS: 00007f195de90700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200d2030 CR3: 00000001da441000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400