Skip to content
Fencer Vulns
medium 5.5

CVE-2026-23140 json

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

published 2026-02-14 8 mo ago modified 2026-11-05 3 d ago also EUVD-2026-5897

cvss
5.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.1%
EPSS 0.1% chance of exploitation in 30 days, percentile 3%
public exploits
0
none known

Summary

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.

Patch / fix

  • Linux Linux 6.1.161, 6.6.121, 6.12.66, 6.18.6, 6.19
  • linux Debian 12 6.1.162-1
  • linux Debian 13 6.12.69-1
  • linux Debian 14 6.18.8-1

debian advisories DEBIAN-CVE-2026-23140

  • linux Ubuntu 24.04 LTS 6.8.0-117.117
  • linux-aws Ubuntu 24.04 LTS 6.8.0-1055.58
  • linux-gcp Ubuntu 24.04 LTS 6.8.0-1058.61
  • linux-gke Ubuntu 24.04 LTS 6.8.0-1054.60
  • linux-ibm Ubuntu 24.04 LTS 6.8.0-1055.56
  • linux-azure Ubuntu 24.04 LTS 6.8.0-1056.62
  • linux-gkeop Ubuntu 24.04 LTS 6.8.0-1041.44
  • linux-raspi Ubuntu 24.04 LTS 6.8.0-1056.60

ubuntu advisories UBUNTU-CVE-2026-23140

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel-rt Real Time Module 15 SP7 6.4.0-150700.7.37.2
  • kernel-syms-rt Real Time Module 15 SP7 6.4.0-150700.7.37.1
  • kernel-source-rt Real Time Module 15 SP7 6.4.0-150700.7.37.2
  • kernel-rt Linux Micro 6.2 6.12.0-160000.28.1
  • kernel-64kb Linux Micro 6.2 6.12.0-160000.28.1
  • kernel-source Linux Micro 6.2 6.12.0-160000.28.1
  • kernel-default Linux Micro 6.2 6.12.0-160000.28.1
  • kernel-default-base Linux Micro 6.2 6.12.0-160000.27.1.160000.2.8

suse advisories SUSE-SU-2026:1573-1SUSE-SU-2026:21237-1SUSE-SU-2026:21230-1SUSE-SU-2026:21255-1SUSE-SU-2026:21123-1SUSE-SU-2026:21114-1

  • kernel-rt openSUSE Leap 16.0 6.12.0-160000.28.1
  • dtb-aarch64 openSUSE Leap 16.0 6.12.0-160000.28.1
  • kernel-64kb openSUSE Leap 16.0 6.12.0-160000.28.1
  • kernel-syms openSUSE Leap 16.0 6.12.0-160000.28.1
  • kernel-azure openSUSE Leap 16.0 6.12.0-160000.28.1
  • kernel-obs-qa openSUSE Leap 16.0 6.12.0-160000.28.1
  • kernel-source openSUSE Leap 16.0 6.12.0-160000.28.1
  • kernel-default openSUSE Leap 16.0 6.12.0-160000.28.1

opensuse advisories openSUSE-SU-2026:20572-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-23140 updated cvss 5.5

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

  • Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernel
    affected: no fix available “Fix deferred”
  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
3 d ago

Exploit prediction

0.14% chance of exploitation in the next 30 days, higher than 3% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

  • Linux Linux

Classification

Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.