Bug 2492441 (CVE-2026-53074) - CVE-2026-53074 kernel: bpf: reject short IPv4/IPv6 inputs in bpf_prog_test_run_skb
Summary: CVE-2026-53074 kernel: bpf: reject short IPv4/IPv6 inputs in bpf_prog_test_ru...
Keywords:
Status: NEW
Alias: CVE-2026-53074
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-24 18:12 UTC by OSIDB Bzimport
Modified: 2026-06-25 09:33 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-24 18:12:16 UTC
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.

Comment 1 Mauro Matteo Cascella 2026-06-25 09:31:38 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026062405-CVE-2026-53074-fb09@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.