VDB

CVE-2026-31515

CVE-2026-31515 PUBLISHED

af_key: validate families in pfkey_send_migrate()

Reported by linux · Published April 22, 2026

In the Linux kernel, the following vulnerability has been resolved: af_key: validate families in pfkey_send_migrate() syzbot was able to trigger a crash in skb_put() [1] Issue is that pfkey_send_migrate() does not check old/new families, and that set_ipsecrequest() @family argument was truncated, thus possibly overfilling the skb. Validate families early, do not wait set_ipsecrequest(). [1] skbuff: skb_over_panic: text:ffffffff8a752120 len:392 put:16 head:ffff88802a4ad040 data:ffff88802a4ad040 tail:0x188 end:0x180 dev:<NULL> kernel BUG at net/core/skbuff.c:214 ! Call Trace: <TASK> skb_over_panic net/core/skbuff.c:219 [inline] skb_put+0x159/0x210 net/core/skbuff.c:2655 skb_put_zero include/linux/skbuff.h:2788 [inline] set_ipsecrequest net/key/af_key.c:3532 [inline] pfkey_send_migrate+0x1270/0x2e50 net/key/af_key.c:3636 km_migrate+0x155/0x260 net/xfrm/xfrm_state.c:2848 xfrm_migrate+0x2140/0x2450 net/xfrm/xfrm_policy.c:4705 xfrm_do_migrate+0x8ff/0xaa0 net/xfrm/xfrm_user.c:3150

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18-develAmazon Linux1:6.18.25-52.107.amzn2023
bpftool6.18Amazon Linux1:6.18.25-52.107.amzn2023
kernel6.18-headersAmazon Linux1:6.18.25-52.107.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.25-52.107.amzn2023
bpftoolAmazon Linux1:6.1.168-202.320.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.25-52.107.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.80-105.147.amzn2023
perf6.12Amazon Linux1:6.12.80-105.147.amzn2023
kernel-modules-extraAmazon Linux1:6.1.168-202.320.amzn2023
perf6.18Amazon Linux1:6.18.25-52.107.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.25-52.107.amzn2023

Affected products

VendorProductVersions
LinuxLinux08de61beab8a21c8e0b3906a97defda5f1f66ece, 08de61beab8a21c8e0b3906a97defda5f1f66ece, 08de61beab8a21c8e0b3906a97defda5f1f66ece
LinuxLinux2.6.21, 0, 5.10.253
amazon:2023kernel6.18-devel0
amazon:2023bpftool6.180
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-tools-devel0
amazon:2023bpftool0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.12-modules-extra-common0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)3.1.6, 3.1.7, 3.1.5
amazon:2023perf6.120
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)3.1.6, 3.1.7, 3.1.5
amazon:2023kernel-modules-extra0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.6, 3.1.5, 3.1.7
amazon:2023perf6.180
amazon:2023kernel6.18-tools0
linuxlinux_kernel2.6.21, 2.6.21, 2.6.21
amazon:2023python3-perf0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.5, 3.1.7, 3.1.6
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)3.1.5, 3.1.7, 3.1.6

…and 31 more

Timeline

  • Apr 22, 2026 CVE Published
  • Apr 23, 2026 Security Advisory (97 in total, the first dated here)
  • May 18, 2026 EPSS Score (27 in total, the first dated here)
  • Jul 14, 2026 CVE Updated
  • Jul 16, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (92 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-31515
vulnetix vdb fixes CVE-2026-31515

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-31515/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›