Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-23140

MEDIUM 5.5EPSS 6%

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

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= b6f1f780b3932ae497ed85e79bc8a1e513883624, < e7440935063949d6f2c10f7328d960d0ff4bce90; >= b6f1f780b3932ae497ed85e79bc8a1e513883624, < 7c81ad5e580bd8441f8a521a8d34824ce6582ae5; >= b6f1f780b3932ae497ed85e79bc8a1e513883624, < 6447e697cfa8a43a8e491cb81bcc390d0f28f8ba; >= b6f1f780b3932ae497ed85e79bc8a1e513883624, < 31e37f44b60679d90b9f999c91371b15291be8e0; >= b6f1f780b3932ae497ed85e79bc8a1e513883624, < e558cca217790286e799a8baacd1610bda31b261
  • Anyone running Linux 5.18

Vulnerability facts

Affected
Linux >= b6f1f780b3932ae497ed85e79bc8a1e513883624, < e7440935063949d6f2c10f7328d960d0ff4bce90; >= b6f1f780b3932ae497ed85e79bc8a1e513883624, < 7c81ad5e580bd8441f8a521a8d34824ce6582ae5; >= b6f1f780b3932ae497ed85e79bc8a1e513883624, < 6447e697cfa8a43a8e491cb81bcc390d0f28f8ba; >= b6f1f780b3932ae497ed85e79bc8a1e513883624, < 31e37f44b60679d90b9f999c91371b15291be8e0; >= b6f1f780b3932ae497ed85e79bc8a1e513883624, < e558cca217790286e799a8baacd1610bda31b261; Linux 5.18
Fixed in
Linux 7c81ad5e580bd8441f8a521a8d34824ce6582ae5, Linux 6447e697cfa8a43a8e491cb81bcc390d0f28f8ba, Linux 31e37f44b60679d90b9f999c91371b15291be8e0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.20% chance of exploitation in 30 days (percentile 6, 2026-11-26)
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= b6f1f780b3932ae497ed85e79bc8a1e513883624, < e7440935063949d6f2c10f7328d960d0ff4bce90; >= b6f1f780b3932ae497ed85e79bc8a1e513883624, < 7c81ad5e580bd8441f8a521a8d34824ce6582ae5; >= b6f1f780b3932ae497ed85e79bc8a1e513883624, < 6447e697cfa8a43a8e491cb81bcc390d0f28f8ba; >= b6f1f780b3932ae497ed85e79bc8a1e513883624, < 31e37f44b60679d90b9f999c91371b15291be8e0; >= b6f1f780b3932ae497ed85e79bc8a1e513883624, < e558cca217790286e799a8baacd1610bda31b261—cvelist
Linux5.18—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-23140. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23140.md
Affected: Linux >= b6f1f780b3932ae497ed85e79bc8a1e513883624, < e7440935063949d6f2c10f7328d960d0ff4bce90; >= b6f1f780b3932ae497ed85e79bc8a1e513883624, < 7c81ad5e580bd8441f8a521a8d34824ce6582ae5; >= b6f1f780b3932ae497ed85e79bc8a1e513883624, < 6447e697cfa8a43a8e491cb81bcc390d0f28f8ba; >= b6f1f780b3932ae497ed85e…
Fixed in: Linux 7c81ad5e580bd8441f8a521a8d34824ce6582ae5, Linux 6447e697cfa8a43a8e491cb81bcc390d0f28f8ba, Linux 31e37f44b60679d90b9f999c91371b15291be8e0

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-23140 being exploited?

There is no confirmed exploitation: CVE-2026-23140 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-23140?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2026-23140?

Linux >= b6f1f780b3932ae497ed85e79bc8a1e513883624, < e7440935063949d6f2c10f7328d960d0ff4bce90; >= b6f1f780b3932ae497ed85e79bc8a1e513883624, < 7c81ad5e580bd8441f8a521a8d34824ce6582ae5; >= b6f1f780b3932ae497ed85e79bc8a1e513883624, < 6447e697cfa8a43a8e491cb81bcc390d0f28f8ba; >= b6f1f780b3932ae497ed85e79bc8a1e513883624, < 31e37f44b60679d90b9f999c91371b15291be8e0; >= b6f1f780b3932ae497ed85e79bc8a1e513883624, < e558cca217790286e799a8baacd1610bda31b261; Linux 5.18.

Is there a fix for CVE-2026-23140?

Yes. Fixed in Linux 7c81ad5e580bd8441f8a521a8d34824ce6582ae5, Linux 6447e697cfa8a43a8e491cb81bcc390d0f28f8ba, Linux 31e37f44b60679d90b9f999c91371b15291be8e0. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2026-23140?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors