VDB

CVE-2026-31671

CVE-2026-31671 PUBLISHED

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.

PackageEcosystemFixed in
kernel6.18-tools-develAmazon Linux1:6.18.25-55.108.amzn2023
kernel-livepatch-6.1.170-210.320Amazon Linux1:1.0-0.amzn2023
kernel-livepatch-6.18.25-55.108Amazon Linux1:1.0-0.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.170-210.320.amzn2023
kernel-develAmazon Linux1:6.1.170-210.320.amzn2023
kernel6.12-headersAmazon Linux1:6.12.83-113.160.amzn2023
kernel6.12-develAmazon Linux1:6.12.83-113.160.amzn2023
kernel6.18Amazon Linux1:6.18.25-55.108.amzn2023
python3-perf6.12Amazon Linux1:6.12.83-113.160.amzn2023
kernel-livepatch-6.12.83-113.160Amazon Linux1:1.0-0.amzn2023
bpftoolAmazon Linux1:6.1.170-210.320.amzn2023
LinuxLinuxff5ee507302303b15859753c3e0d67d38fd12c88, e0c8542c3d097ed4205ded51868195d5d6ddac62, d27c02eec529f78055a46a5c9e6c62684382b2d8, d10119968d0e1f2b669604baf2a8b5fdb72fa6b4, 716c546e88cfe49d841658240e10cb57bc50a2cc, 6c55714c931051cd7f4839c19ce0867179fd22fe, 0a30dceb0e1f0c480d2482e6d7cebf8aebb6eb72, 0616314b3b34f24cbb91da8c6bd8bcdc4c8592f9

Affected products

VendorProductVersions
LinuxLinux97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5
LinuxLinux2.6.19, 0, 5.10.253
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel-livepatch-6.1.170-210.3200
amazon:2023kernel-livepatch-6.18.25-55.1080
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)3.1.5, 3.1.7, 3.1.6
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-devel0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.180
amazon:2023python3-perf6.120
amazon:2023kernel-livepatch-6.12.83-113.1600
amazon:2023bpftool0
linuxlinux_kernel2.6.19, 2.6.19, 2.6.19
amazon:2023perf6.120
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.18-tools0
amazon:2023kernel-tools-devel0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.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

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