CVE-2026-53074
Received Received - Intake
BaseFortify

Publication date: 2026-06-24

Last updated on: 2026-06-24

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-24
Last Modified
2026-06-24
Generated
2026-06-25
AI Q&A
2026-06-24
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in the Linux kernel's BPF subsystem, specifically in the function bpf_prog_test_run_skb(). The function calls eth_type_trans() and then uses skb->protocol to initialize socket family and address fields for testing. However, for IPv4 and IPv6 packets, it may attempt to access the IP header (ip_hdr or ipv6_hdr) even when the provided test input only contains an Ethernet header, which is insufficient.

The issue arises because the function does not properly check if the Layer 3 (L3) header is long enough before accessing it. This can lead to accessing invalid memory when the Ethernet frame carries an IPv4 or IPv6 EtherType but the L3 header is too short.

The fix involves rejecting such short IPv4/IPv6 inputs earlier by folding the header length checks into the existing protocol switch and returning an error (-EINVAL) before accessing the network headers.

Impact Analysis

This vulnerability can lead to improper handling of malformed or insufficient network packet inputs in the Linux kernel's BPF testing function. If exploited, it may cause the kernel to access invalid memory regions, potentially leading to kernel crashes or denial of service.

While the description does not explicitly mention privilege escalation or code execution, such memory access issues in kernel space can be serious and may affect system stability and security.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-53074. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart