VDB

CVE-2025-68363

CVE-2025-68363 PUBLISHED

bpf: Check skb->transport_header is set in bpf_skb_check_mtu

Reported by linux · Published December 24, 2025

In the Linux kernel, the following vulnerability has been resolved: bpf: Check skb->transport_header is set in bpf_skb_check_mtu The bpf_skb_check_mtu helper needs to use skb->transport_header when the BPF_MTU_CHK_SEGS flag is used: bpf_skb_check_mtu(skb, ifindex, &mtu_len, 0, BPF_MTU_CHK_SEGS) The transport_header is not always set. There is a WARN_ON_ONCE report when CONFIG_DEBUG_NET is enabled + skb->gso_size is set + bpf_prog_test_run is used: WARNING: CPU: 1 PID: 2216 at ./include/linux/skbuff.h:3071 skb_gso_validate_network_len bpf_skb_check_mtu bpf_prog_3920e25740a41171_tc_chk_segs_flag # A test in the next patch bpf_test_run bpf_prog_test_run_skb For a normal ingress skb (not test_run), skb_reset_transport_header is performed but there is plan to avoid setting it as described in commit 2170a1f09148 ("net: no longer reset transport_header in __netif_receive_skb_core()"). This patch fixes the bpf helper by checking skb_transport_header_was_set(). The check is done just before skb->transport_header is used, to avoid breaking the existing bpf prog. The WARN_ON_ONCE is limited to bpf_prog_test_run, so targeting bpf-next.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-tools-develAmazon Linux1:6.1.161-183.298.amzn2023
kernel-livepatch-6.1.161-183.298Amazon Linux1:1.0-0.amzn2023
kernel-toolsAmazon Linux1:6.1.161-183.298.amzn2023
kernel-livepatch-6.12.63-84.121Amazon Linux1:1.0-0.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.63-84.121.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.63-84.121.amzn2023
kernel6.12-develAmazon Linux1:6.12.63-84.121.amzn2023
kernel6.12-libbpf-staticAmazon Linux1:6.12.63-84.121.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.63-84.121.amzn2023
bpftool6.12Amazon Linux1:6.12.63-84.121.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.63-84.121.amzn2023
python3-perfAmazon Linux1:6.1.161-183.298.amzn2023

9 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinux34b2021cc61642d61c3cf943d9e71925b827941b, 34b2021cc61642d61c3cf943d9e71925b827941b, 34b2021cc61642d61c3cf943d9e71925b827941b
LinuxLinux5.12, 0, 6.1.160
amazon:2023kernel-tools-devel0
amazon:2023kernel-livepatch-6.1.161-183.2980
amazon:2023kernel-tools0
amazon:2023kernel-livepatch-6.12.63-84.1210
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.12-tools0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.12-libbpf-static0
amazon:2023kernel6.12-modules-extra0
amazon:2023bpftool6.120
amazon:2023kernel6.12-modules-extra-common0
amazon:2023python3-perf0
amazon:2023python3-perf6.120
amazon:2023kernel-libbpf0
amazon:2023kernel-modules-extra0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.12-libbpf-devel0
amazon:2023kernel-headers0

…and 15 more

Timeline

  • Dec 23, 2025 CVE Published
  • Dec 24, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (141 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (147 in total, the first dated here)
  • Jul 14, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-68363
vulnetix vdb fixes CVE-2025-68363

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-68363/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›