# CVE-2026-53074: bpf: reject short IPv4/IPv6 inputs in bpf_prog_test_run_skb

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-06-24T16:30:15.337Z
- Modified: 2026-11-06T17:18:04.810Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from fa5cb548ced61b9d3095f32f8a7e427a248c65ee before 7254267799d083280c0e53effc101a33add95f7b; from fa5cb548ced61b9d3095f32f8a7e427a248c65ee before 6a9f38d5ff11e00bc54baab752642978805e81eb; from fa5cb548ced61b9d3095f32f8a7e427a248c65ee before e6aa481f21fc7a41ed344767ea25aae9d03fae71; from fa5cb548ced61b9d3095f32f8a7e427a248c65ee before 0a04db240effd85773f66244645a28cedddb72d2; from fa5cb548ced61b9d3095f32f8a7e427a248c65ee before 1f882c492d46f90bdb36f4936876c88c28dab21c; from fa5cb548ced61b9d3095f32f8a7e427a248c65ee before 8042240412de3222d27b31e89d29336961cad9e4; from fa5cb548ced61b9d3095f32f8a7e427a248c65ee before 6def5fe753cbe5b279ee5fd10327b2611cbddaca; from fa5cb548ced61b9d3095f32f8a7e427a248c65ee before 12bec2bd4b76d81c5d3996bd14ec1b7f4d983747; 5.9 (not affected: before 5.9; from 5.10.258 up to 5.10.*; from 5.15.209 up to 5.15.*; from 6.1.175 up to 6.1.*; from 6.6.141 up to 6.6.*; from 6.12.91 up to 6.12.*; from 6.18.33 up to 6.18.*; from 7.0.10 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 5.9 before 5.10.258; from 5.11 before 5.15.209; from 5.16 before 6.1.175; from 6.2 before 6.6.141; from 6.7 before 6.12.91; from 6.13 before 6.18.33; from 6.19 before 7.0.10

## References

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

## Sources

- CVE List: [CVE-2026-53074](https://www.cve.org/CVERecord?id=CVE-2026-53074), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-53074](https://nvd.nist.gov/vuln/detail/CVE-2026-53074), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-53074 · Whole record: https://cve.day/CVE-2026-53074.json · Rebuilt by cve.day 2026-11-25T22:59:25.684Z
