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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-12-24T10:32:51.236Z
- **Modified:** 2026-11-10T13:17:58.357Z

## Who should check

- Anyone running Linux \>= 34b2021cc61642d61c3cf943d9e71925b827941b, \< b3171a5e4622e915e94599a55f4964078bdec27e; \>= 34b2021cc61642d61c3cf943d9e71925b827941b, \< 97b876fa88322625228792cf7a5fd77531815a80; \>= 34b2021cc61642d61c3cf943d9e71925b827941b, \< 30ce906557a21adef4cba5901c8e995dc18263a9; \>= 34b2021cc61642d61c3cf943d9e71925b827941b, \< 1c30e4afc5507f0069cc09bd561e510e4d97fbf7; \>= 34b2021cc61642d61c3cf943d9e71925b827941b, \< 942268e2726ac7f16e3ec49dbfbbbe7cf5af9da5; \>= 34b2021cc61642d61c3cf943d9e71925b827941b, \< d946f3c98328171fa50ddb908593cf833587f725
- Anyone running Linux 5.12

## Description

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.

## Affected and fixed versions

- Linux: \>= 34b2021cc61642d61c3cf943d9e71925b827941b, \< b3171a5e4622e915e94599a55f4964078bdec27e; \>= 34b2021cc61642d61c3cf943d9e71925b827941b, \< 97b876fa88322625228792cf7a5fd77531815a80; \>= 34b2021cc61642d61c3cf943d9e71925b827941b, \< 30ce906557a21adef4cba5901c8e995dc18263a9; \>= 34b2021cc61642d61c3cf943d9e71925b827941b, \< 1c30e4afc5507f0069cc09bd561e510e4d97fbf7; \>= 34b2021cc61642d61c3cf943d9e71925b827941b, \< 942268e2726ac7f16e3ec49dbfbbbe7cf5af9da5; \>= 34b2021cc61642d61c3cf943d9e71925b827941b, \< d946f3c98328171fa50ddb908593cf833587f725 (cvelist)
- Linux: 5.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68363. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68363.md
Affected: Linux >= 34b2021cc61642d61c3cf943d9e71925b827941b, < b3171a5e4622e915e94599a55f4964078bdec27e; >= 34b2021cc61642d61c3cf943d9e71925b827941b, < 97b876fa88322625228792cf7a5fd77531815a80; >= 34b2021cc61642d61c3cf943d9e71925b827941b, < 30ce906557a21adef4cba5901c8e995dc18263a9; >= 34b2021cc61642d61c3cf94…
Fixed in: Linux 97b876fa88322625228792cf7a5fd77531815a80, Linux 30ce906557a21adef4cba5901c8e995dc18263a9, Linux 1c30e4afc5507f0069cc09bd561e510e4d97fbf7, Linux 942268e2726ac7f16e3ec49dbfbbbe7cf5af9da5

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68363 being exploited?

There is no confirmed exploitation: CVE-2025-68363 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-68363?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-68363?

Linux \>= 34b2021cc61642d61c3cf943d9e71925b827941b, \< b3171a5e4622e915e94599a55f4964078bdec27e; \>= 34b2021cc61642d61c3cf943d9e71925b827941b, \< 97b876fa88322625228792cf7a5fd77531815a80; \>= 34b2021cc61642d61c3cf943d9e71925b827941b, \< 30ce906557a21adef4cba5901c8e995dc18263a9; \>= 34b2021cc61642d61c3cf943d9e71925b827941b, \< 1c30e4afc5507f0069cc09bd561e510e4d97fbf7; \>= 34b2021cc61642d61c3cf943d9e71925b827941b, \< 942268e2726ac7f16e3ec49dbfbbbe7cf5af9da5; \>= 34b2021cc61642d61c3cf943d9e71925b827941b, \< d946f3c98328171fa50ddb908593cf833587f725; Linux 5.12.

### Is there a fix for CVE-2025-68363?

Yes. Fixed in Linux 97b876fa88322625228792cf7a5fd77531815a80, Linux 30ce906557a21adef4cba5901c8e995dc18263a9, Linux 1c30e4afc5507f0069cc09bd561e510e4d97fbf7, Linux 942268e2726ac7f16e3ec49dbfbbbe7cf5af9da5. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-68363?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/b3171a5e4622e915e94599a55f4964078bdec27e>
- other: <https://git.kernel.org/stable/c/97b876fa88322625228792cf7a5fd77531815a80>
- other: <https://git.kernel.org/stable/c/30ce906557a21adef4cba5901c8e995dc18263a9>
- other: <https://git.kernel.org/stable/c/1c30e4afc5507f0069cc09bd561e510e4d97fbf7>
- other: <https://git.kernel.org/stable/c/942268e2726ac7f16e3ec49dbfbbbe7cf5af9da5>
- other: <https://git.kernel.org/stable/c/d946f3c98328171fa50ddb908593cf833587f725>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68363>

HTML: <https://flawdb.com/CVE-2025-68363> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68363>
