VDB

CVE-2026-23140

CVE-2026-23140 PUBLISHED

bpf, test_run: Subtract size of xdp_frame from allowed metadata size

Reported by linux · Published February 14, 2026

In the Linux kernel, the following vulnerability has been resolved: bpf, test_run: Subtract size of xdp_frame from allowed metadata size The xdp_frame structure takes up part of the XDP frame headroom, limiting the size of the metadata. However, in bpf_test_run, we don't take this into account, which makes it possible for userspace to supply a metadata size that is too large (taking up the entire headroom). If userspace supplies such a large metadata size in live packet mode, the xdp_update_frame_from_buff() call in xdp_test_run_init_page() call will fail, after which packet transmission proceeds with an uninitialised frame structure, leading to the usual Bad Stuff. The commit in the Fixes tag fixed a related bug where the second check in xdp_update_frame_from_buff() could fail, but did not add any additional constraints on the metadata size. Complete the fix by adding an additional check on the metadata size. Reorder the checks slightly to make the logic clearer and add a comment.

EPSS 0.15% · 3.9th percentile

Fixed versions

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

PackageEcosystemFixed in
kernel-headersAmazon Linux1:6.1.161-183.298.amzn2023
kernel-libbpf-develAmazon Linux1:6.1.161-183.298.amzn2023
kernel-livepatch-6.12.66-88.122Amazon Linux1:1.0-0.amzn2023
kernel6.12-libbpfAmazon Linux1:6.12.66-88.122.amzn2023
kernel6.12-libbpf-staticAmazon Linux1:6.12.66-88.122.amzn2023
python3-perfAmazon Linux1:6.1.161-183.298.amzn2023
kernel-develAmazon Linux1:6.1.161-183.298.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.66-88.122.amzn2023
perf6.12Amazon Linux1:6.12.66-88.122.amzn2023
kernel-livepatch-6.1.161-183.298Amazon Linux1:1.0-0.amzn2023

Risk scores

EPSS Score
0.15%
3.9th percentile

Affected products

VendorProductVersions
LinuxLinuxb6f1f780b3932ae497ed85e79bc8a1e513883624, b6f1f780b3932ae497ed85e79bc8a1e513883624, b6f1f780b3932ae497ed85e79bc8a1e513883624
LinuxLinux5.18, 0, 6.1.161
linuxlinux_kernel5.18, 5.18, 5.18
LinuxLinux*, *, *

Timeline

  • Feb 14, 2026 CVE Published
  • Feb 15, 2026 EPSS Score (30 in total, the first dated here)
  • Mar 22, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (165 in total, the first dated here)
  • Jun 1, 2026 PoC Published (2 in total, the first dated here)
  • Oct 4, 2026 Distribution Patch (162 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-23140
vulnetix vdb fixes CVE-2026-23140

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-23140/fixes/registry"

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

References

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