CVE-2026-31671
xfrm_user: fix info leak in build_report()
Reported by linux · Published April 24, 2026
In the Linux kernel, the following vulnerability has been resolved: xfrm_user: fix info leak in build_report() struct xfrm_user_report is a __u8 proto field followed by a struct xfrm_selector which means there is three "empty" bytes of padding, but the padding is never zeroed before copying to userspace. Fix that up by zeroing the structure before setting individual member variables.
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-tools-devel | Amazon Linux | 1:6.18.25-55.108.amzn2023 |
| kernel-livepatch-6.1.170-210.320 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel-livepatch-6.18.25-55.108 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 1:6.1.170-210.320.amzn2023 |
| kernel-devel | Amazon Linux | 1:6.1.170-210.320.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.83-113.160.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.83-113.160.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.25-55.108.amzn2023 |
| python3-perf6.12 | Amazon Linux | 1:6.12.83-113.160.amzn2023 |
| kernel-livepatch-6.12.83-113.160 | Amazon Linux | 1:1.0-0.amzn2023 |
| bpftool | Amazon Linux | 1:6.1.170-210.320.amzn2023 |
| Linux | Linux | ff5ee507302303b15859753c3e0d67d38fd12c88, e0c8542c3d097ed4205ded51868195d5d6ddac62, d27c02eec529f78055a46a5c9e6c62684382b2d8, d10119968d0e1f2b669604baf2a8b5fdb72fa6b4, 716c546e88cfe49d841658240e10cb57bc50a2cc, 6c55714c931051cd7f4839c19ce0867179fd22fe, 0a30dceb0e1f0c480d2482e6d7cebf8aebb6eb72, 0616314b3b34f24cbb91da8c6bd8bcdc4c8592f9 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 |
| Linux | Linux | 2.6.19, 0, 5.10.253 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel-livepatch-6.1.170-210.320 | 0 |
| amazon:2023 | kernel-livepatch-6.18.25-55.108 | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) | 3.1.5, 3.1.7, 3.1.6 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.12.83-113.160 | 0 |
| amazon:2023 | bpftool | 0 |
| linux | linux_kernel | 2.6.19, 2.6.19, 2.6.19 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.7, 3.1.5, 3.1.6 |
…and 25 more
Timeline
- Apr 24, 2026 CVE Published
- Apr 24, 2026 Security Advisory (103 in total, the first dated here)
- May 18, 2026 EPSS Score (25 in total, the first dated here)
- Jul 18, 2026 Coalition ESS Score
- Aug 11, 2026 Distribution Patch (97 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-31671
vulnetix vdb fixes CVE-2026-31671
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-31671/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart