CVE-2026-53074
bpf: reject short IPv4/IPv6 inputs in bpf_prog_test_run_skb
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.
INFO
Published Date :
June 24, 2026, 5:17 p.m.
Last Modified :
July 21, 2026, 6:05 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Validate L3 header length for IPv4/IPv6.
- Return -EINVAL for short headers.
- Fold header length checks into protocol switch.
- Apply kernel patches for bpf_prog_test_run_skb.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-53074.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-53074 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-53074
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-53074 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-53074 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 21, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.141 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.91 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.33 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.10 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.175 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.209 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.9 up to (excluding) 5.10.258 Added Reference Type kernel.org: https://git.kernel.org/stable/c/0a04db240effd85773f66244645a28cedddb72d2 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/12bec2bd4b76d81c5d3996bd14ec1b7f4d983747 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/1f882c492d46f90bdb36f4936876c88c28dab21c Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6a9f38d5ff11e00bc54baab752642978805e81eb Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6def5fe753cbe5b279ee5fd10327b2611cbddaca Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/7254267799d083280c0e53effc101a33add95f7b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/8042240412de3222d27b31e89d29336961cad9e4 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/e6aa481f21fc7a41ed344767ea25aae9d03fae71 Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 24, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'fa5cb548ced61b9d3095f32f8a7e427a248c65ee', 'lessThan': '7254267799d083280c0e53effc101a33add95f7b', 'versionType': 'git'}, {'status': 'affected', 'version': 'fa5cb548ced61b9d3095f32f8a7e427a248c65ee', 'lessThan': '6a9f38d5ff11e00bc54baab752642978805e81eb', 'versionType': 'git'}, {'status': 'affected', 'version': 'fa5cb548ced61b9d3095f32f8a7e427a248c65ee', 'lessThan': 'e6aa481f21fc7a41ed344767ea25aae9d03fae71', 'versionType': 'git'}, {'status': 'affected', 'version': 'fa5cb548ced61b9d3095f32f8a7e427a248c65ee', 'lessThan': '0a04db240effd85773f66244645a28cedddb72d2', 'versionType': 'git'}, {'status': 'affected', 'version': 'fa5cb548ced61b9d3095f32f8a7e427a248c65ee', 'lessThan': '1f882c492d46f90bdb36f4936876c88c28dab21c', 'versionType': 'git'}, {'status': 'affected', 'version': 'fa5cb548ced61b9d3095f32f8a7e427a248c65ee', 'lessThan': '8042240412de3222d27b31e89d29336961cad9e4', 'versionType': 'git'}, {'status': 'affected', 'version': 'fa5cb548ced61b9d3095f32f8a7e427a248c65ee', 'lessThan': '6def5fe753cbe5b279ee5fd10327b2611cbddaca', 'versionType': 'git'}, {'status': 'affected', 'version': 'fa5cb548ced61b9d3095f32f8a7e427a248c65ee', 'lessThan': '12bec2bd4b76d81c5d3996bd14ec1b7f4d983747', 'versionType': 'git'}], 'programFiles': ['net/bpf/test_run.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.9'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.9', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.258', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.209', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.175', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.141', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.91', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.33', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.10', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/bpf/test_run.c'], 'defaultStatus': 'affected'}] Added 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. Added Reference https://git.kernel.org/stable/c/0a04db240effd85773f66244645a28cedddb72d2 Added Reference https://git.kernel.org/stable/c/12bec2bd4b76d81c5d3996bd14ec1b7f4d983747 Added Reference https://git.kernel.org/stable/c/1f882c492d46f90bdb36f4936876c88c28dab21c Added Reference https://git.kernel.org/stable/c/6a9f38d5ff11e00bc54baab752642978805e81eb Added Reference https://git.kernel.org/stable/c/6def5fe753cbe5b279ee5fd10327b2611cbddaca Added Reference https://git.kernel.org/stable/c/7254267799d083280c0e53effc101a33add95f7b Added Reference https://git.kernel.org/stable/c/8042240412de3222d27b31e89d29336961cad9e4 Added Reference https://git.kernel.org/stable/c/e6aa481f21fc7a41ed344767ea25aae9d03fae71