------------[ cut here ]------------ kernel BUG at net/core/skbuff.c:109! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 393 Comm: syz-executor.3 Not tainted 5.4.197-syzkaller-00015-gf0306959ab7c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/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:ffff8881ecb1f350 EFLAGS: 00010286 RAX: 0000000000000088 RBX: ffffffff84eef2c0 RCX: d03d0ece69ebb500 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffff8881e8ca8800 R08: ffffffff814a983a R09: ffffed103edcaa08 R10: ffffed103edcaa08 R11: 1ffff1103edcaa07 R12: 0000000000000298 R13: 0000000000000280 R14: dffffc0000000000 R15: ffff8881e8ca8800 FS: 00007f67af9ea700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020324030 CR3: 00000001e66cf000 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:0x7f67afad7279 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:00007f67af9ea168 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f67afbea1f0 RCX: 00007f67afad7279 RDX: 0400000000000354 RSI: 0000000020000180 RDI: 0000000000000005 RBP: 00007f67afb312e9 R08: 0000000000000000 R09: 0000000000000000 R10: 000002873dedf99c R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffed471323f R14: 00007f67af9ea300 R15: 0000000000022000 Modules linked in: ---[ end trace 996171fc1be55b64 ]--- 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:ffff8881ecb1f350 EFLAGS: 00010286 RAX: 0000000000000088 RBX: ffffffff84eef2c0 RCX: d03d0ece69ebb500 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffff8881e8ca8800 R08: ffffffff814a983a R09: ffffed103edcaa08 R10: ffffed103edcaa08 R11: 1ffff1103edcaa07 R12: 0000000000000298 R13: 0000000000000280 R14: dffffc0000000000 R15: ffff8881e8ca8800 FS: 00007f67af9ea700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020404030 CR3: 00000001e66cf000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400