# CVE-2025-68363: bpf: Check skb-\>transport\_header is set in bpf\_skb\_check\_mtu

- Priority: **Routine**
- Reason: Not severe (CVSS 1.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-12-24 · Modified: 2026-11-10
- Aliases: UBUNTU-CVE-2025-68363, DEBIAN-CVE-2025-68363
- Record: https://cvemate.com/vulnerability/CVE-2025-68363 · JSON: https://cvemate.com/vulnerability/CVE-2025-68363/json

## Description

```text
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.
```

## Signals

- CVSS: 1.8 low (v4.0, OSV · Ubuntu) CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- EPSS: 0.253%, percentile 17.914%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 148)

- debian linux (Debian): \< 6.1.162-1 \| \< 6.12.63-1 \| \< 6.17.13-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-110.110 \| \< 6.17.0-19.19
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1052.55 \| \< 6.17.0-1009.9
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): \< 6.17.0-1009.9~24.04.2
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1052.55~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1052.55+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1054.60 \| \< 6.17.0-1010.10
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 32)

- <https://git.kernel.org/stable/c/b3171a5e4622e915e94599a55f4964078bdec27e>
- <https://git.kernel.org/stable/c/97b876fa88322625228792cf7a5fd77531815a80>
- <https://git.kernel.org/stable/c/30ce906557a21adef4cba5901c8e995dc18263a9>
- <https://git.kernel.org/stable/c/1c30e4afc5507f0069cc09bd561e510e4d97fbf7>
- <https://git.kernel.org/stable/c/942268e2726ac7f16e3ec49dbfbbbe7cf5af9da5>
- <https://git.kernel.org/stable/c/d946f3c98328171fa50ddb908593cf833587f725>
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://ubuntu.com/security/CVE-2025-68363>
- <https://www.cve.org/CVERecord?id=CVE-2025-68363>
- <https://ubuntu.com/security/notices/USN-8094-1>
- <https://ubuntu.com/security/notices/USN-8094-2>
- <https://ubuntu.com/security/notices/USN-8094-3>
- <https://ubuntu.com/security/notices/USN-8094-4>
- <https://ubuntu.com/security/notices/USN-8094-5>
- <https://ubuntu.com/security/notices/USN-8152-1>
- <https://ubuntu.com/security/notices/USN-8179-1>
- <https://ubuntu.com/security/notices/USN-8184-1>
- <https://ubuntu.com/security/notices/USN-8179-2>
- <https://ubuntu.com/security/notices/USN-8185-1>
- <https://ubuntu.com/security/notices/USN-8179-3>

---

Data as of 2026-12-05T06:22:10.598Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
