CVE-2026-53074

bpf: reject short IPv4/IPv6 inputs in bpf_prog_test_run_skb

MEDIUM
5.5
CVSS Score
Published: June 24, 2026 at 04:30 PM UTC
Updated: July 21, 2026 at 06:26 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: reject short IPv4/IPv6 inputs in bpf_prog_test_run_skb bpf_prog_test_run_skb() calls eth_type_trans() first and then uses skb->protocol to initialize sk family and address fields for the test run. For IPv4 and IPv6 packets, it may access ip_hdr(skb) or ipv6_hdr(skb) even when the provided test input only contains an Ethernet header. Reject the input earlier if the Ethernet frame carries IPv4/IPv6 EtherType but the L3 header is too short. Fold the IPv4/IPv6 header length checks into the existing protocol switch and return -EINVAL before accessing the network headers.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.2095.16 ≤ v < 6.1.1755.9 ≤ v < 5.10.2585.9 ≤ v < 5.15.2095.9 ≤ v < 6.1.1755.9 ≤ v < 6.12.915.9 ≤ v < 6.18.335.9 ≤ v < 6.6.1415.9 ≤ v < 7.0.105.9 ≤ v < 7.16.13 ≤ v < 6.18.336.19 ≤ v < 7.0.106.2 ≤ v < 6.6.1416.7 ≤ v < 6.12.915.9fa5cb548ced61b9d3095f32f8a7e427a248c65ee
Vendor states this is fixed in 0a04db240effd85773f66244645a28cedddb72d2 (fixed)
Vendor states this is fixed in 12bec2bd4b76d81c5d3996bd14ec1b7f4d983747 (fixed)
Vendor states this is fixed in 1f882c492d46f90bdb36f4936876c88c28dab21c (fixed)
Vendor states this is fixed in 6a9f38d5ff11e00bc54baab752642978805e81eb (fixed)
Vendor states this is fixed in 6def5fe753cbe5b279ee5fd10327b2611cbddaca (fixed)
Vendor states this is fixed in 7254267799d083280c0e53effc101a33add95f7b (fixed)
Vendor states this is fixed in 8042240412de3222d27b31e89d29336961cad9e4 (fixed)
Vendor states this is fixed in e6aa481f21fc7a41ed344767ea25aae9d03fae71 (fixed)
Vendor states this is fixed in 5.10.258 (unaffected)
Vendor states this is fixed in 5.15.209 (unaffected)
Vendor states this is fixed in 5.9 (unaffected)
Vendor states this is fixed in 6.1.175 (unaffected)
Vendor states this is fixed in 6.12.91 (unaffected)
Vendor states this is fixed in 6.18.33 (unaffected)
Vendor states this is fixed in 6.6.141 (unaffected)
Vendor states this is fixed in 7.0.10 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card