CVE-2026-23140: bpf, test_run: Subtract size of xdp_frame from allowed metadata size

Published Feb 14, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

bpf, testrun: Subtract size of xdpframe from allowed metadata size

The xdpframe structure takes up part of the XDP frame headroom, limiting the size of the metadata. However, in bpftestrun, 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 xdpupdateframefrombuff() call in xdptestruninitpage() 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 xdpupdateframefrombuff() 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 Software

10 affected components
linux/kernel
Linux Linux kernel>=5.18<6.1.161
Linux Linux kernel>=6.2<6.6.121
Linux Linux kernel>=6.7<6.12.66
Linux Linux kernel>=6.13<6.18.6
Linux Linux kernel=6.19-rc1
Linux Linux kernel=6.19-rc2
Linux Linux kernel=6.19-rc3
Linux Linux kernel=6.19-rc4
Linux Linux kernel=6.19-rc5

Event History

Feb 14, 2026
CVE Published
via MITRE·03:22 PM
Data Sourced
via MITRE·03:22 PM
Description
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-23140?

The severity of CVE-2026-23140 is medium with a CVSS score of 5.5.

2

How do I fix CVE-2026-23140?

You can fix CVE-2026-23140 by applying the available patches to the Linux kernel.

3

What software is affected by CVE-2026-23140?

CVE-2026-23140 affects the Linux kernel.

4

What is the potential impact of CVE-2026-23140?

CVE-2026-23140 could result in a denial of service due to the improper handling of metadata size.

5

When was CVE-2026-23140 published?

CVE-2026-23140 was published on February 14, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203