CVE-2026-31515
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-devel | Amazon Linux | 1:6.18.25-52.107.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.25-52.107.amzn2023 |
| kernel6.18-headers | Amazon Linux | 1:6.18.25-52.107.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.25-52.107.amzn2023 |
| bpftool | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.25-52.107.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.80-105.147.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.80-105.147.amzn2023 |
| kernel-modules-extra | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.25-52.107.amzn2023 |
| kernel6.18-tools | Amazon Linux | 1:6.18.25-52.107.amzn2023 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 08de61beab8a21c8e0b3906a97defda5f1f66ece, 08de61beab8a21c8e0b3906a97defda5f1f66ece, 08de61beab8a21c8e0b3906a97defda5f1f66ece |
| Linux | Linux | 2.6.21, 0, 5.10.253 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) | 3.1.6, 3.1.7, 3.1.5 |
| amazon:2023 | perf6.12 | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) | 3.1.6, 3.1.7, 3.1.5 |
| amazon:2023 | kernel-modules-extra | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.6, 3.1.5, 3.1.7 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| linux | linux_kernel | 2.6.21, 2.6.21, 2.6.21 |
| amazon:2023 | python3-perf | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.5, 3.1.7, 3.1.6 |
| Siemens | SIMATIC 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