# CVE-2025-68725: bpf: Do not let BPF test infra emit invalid GSO types to stack

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 7, 2026-11-28)
- **Published:** 2025-12-24T10:33:09.610Z
- **Modified:** 2026-11-10T13:17:58.850Z

## Who should check

- Anyone running Linux \>= 850a88cc4096fe1df407452ba2e4d28cf5b3eee9, \< bb7902ed7d7f6d6a7c6c4dc25410d6127ce1085f; \>= 850a88cc4096fe1df407452ba2e4d28cf5b3eee9, \< e0ffb64a2d72c6705b4a4c9efef600409f7e98a0; \>= 850a88cc4096fe1df407452ba2e4d28cf5b3eee9, \< 768376ece7036ecb8604961793a1b72afe6345dd; \>= 850a88cc4096fe1df407452ba2e4d28cf5b3eee9, \< 8670b53b8ee91f028f7240531064020b7413c461; \>= 850a88cc4096fe1df407452ba2e4d28cf5b3eee9, \< 0f3a60869ca22024dfb9c6fce412b0c70cb4ea36; \>= 850a88cc4096fe1df407452ba2e4d28cf5b3eee9, \< fbea4c63b5385588cb44ab21f91e55e33c719a54; \>= 850a88cc4096fe1df407452ba2e4d28cf5b3eee9, \< 04a899573fb87273a656f178b5f920c505f68875
- Anyone running Linux 5.6

## Description

In the Linux kernel, the following vulnerability has been resolved:

bpf: Do not let BPF test infra emit invalid GSO types to stack

Yinhao et al. reported that their fuzzer tool was able to trigger a
skb\_warn\_bad\_offload() from netif\_skb\_features() -\> gso\_features\_check().
When a BPF program - triggered via BPF test infra - pushes the packet
to the loopback device via bpf\_clone\_redirect() then mentioned offload
warning can be seen. GSO-related features are then rightfully disabled.

We get into this situation due to convert\_\_\_skb\_to\_skb() setting
gso\_segs and gso\_size but not gso\_type. Technically, it makes sense
that this warning triggers since the GSO properties are malformed due
to the gso\_type. Potentially, the gso\_type could be marked non-trustworthy
through setting it at least to SKB\_GSO\_DODGY without any other specific
assumptions, but that also feels wrong given we should not go further
into the GSO engine in the first place.

The checks were added in 121d57af308d ("gso: validate gso\_type in GSO
handlers") because there were malicious (syzbot) senders that combine
a protocol with a non-matching gso\_type. If we would want to drop such
packets, gso\_features\_check() currently only returns feature flags via
netif\_skb\_features(), so one location for potentially dropping such skbs
could be validate\_xmit\_unreadable\_skb(), but then otoh it would be
an additional check in the fast-path for a very corner case. Given
bpf\_clone\_redirect() is the only place where BPF test infra could emit
such packets, lets reject them right there.

## Affected and fixed versions

- Linux: \>= 850a88cc4096fe1df407452ba2e4d28cf5b3eee9, \< bb7902ed7d7f6d6a7c6c4dc25410d6127ce1085f; \>= 850a88cc4096fe1df407452ba2e4d28cf5b3eee9, \< e0ffb64a2d72c6705b4a4c9efef600409f7e98a0; \>= 850a88cc4096fe1df407452ba2e4d28cf5b3eee9, \< 768376ece7036ecb8604961793a1b72afe6345dd; \>= 850a88cc4096fe1df407452ba2e4d28cf5b3eee9, \< 8670b53b8ee91f028f7240531064020b7413c461; \>= 850a88cc4096fe1df407452ba2e4d28cf5b3eee9, \< 0f3a60869ca22024dfb9c6fce412b0c70cb4ea36; \>= 850a88cc4096fe1df407452ba2e4d28cf5b3eee9, \< fbea4c63b5385588cb44ab21f91e55e33c719a54; \>= 850a88cc4096fe1df407452ba2e4d28cf5b3eee9, \< 04a899573fb87273a656f178b5f920c505f68875 (cvelist)
- Linux: 5.6 (cvelist)

## Mitigation

- Upgrade Linux to 04a899573fb87273a656f178b5f920c505f68875 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-68725.md
Affected: Linux >= 850a88cc4096fe1df407452ba2e4d28cf5b3eee9, < bb7902ed7d7f6d6a7c6c4dc25410d6127ce1085f; >= 850a88cc4096fe1df407452ba2e4d28cf5b3eee9, < e0ffb64a2d72c6705b4a4c9efef600409f7e98a0; >= 850a88cc4096fe1df407452ba2e4d28cf5b3eee9, < 768376ece7036ecb8604961793a1b72afe6345dd; >= 850a88cc4096fe1df407452…
Fixed in: Linux 768376ece7036ecb8604961793a1b72afe6345dd, Linux 8670b53b8ee91f028f7240531064020b7413c461, Linux 0f3a60869ca22024dfb9c6fce412b0c70cb4ea36, Linux 04a899573fb87273a656f178b5f920c505f68875

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-68725 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 850a88cc4096fe1df407452ba2e4d28cf5b3eee9, \< bb7902ed7d7f6d6a7c6c4dc25410d6127ce1085f; \>= 850a88cc4096fe1df407452ba2e4d28cf5b3eee9, \< e0ffb64a2d72c6705b4a4c9efef600409f7e98a0; \>= 850a88cc4096fe1df407452ba2e4d28cf5b3eee9, \< 768376ece7036ecb8604961793a1b72afe6345dd; \>= 850a88cc4096fe1df407452ba2e4d28cf5b3eee9, \< 8670b53b8ee91f028f7240531064020b7413c461; \>= 850a88cc4096fe1df407452ba2e4d28cf5b3eee9, \< 0f3a60869ca22024dfb9c6fce412b0c70cb4ea36; \>= 850a88cc4096fe1df407452ba2e4d28cf5b3eee9, \< fbea4c63b5385588cb44ab21f91e55e33c719a54; \>= 850a88cc4096fe1df407452ba2e4d28cf5b3eee9, \< 04a899573fb87273a656f178b5f920c505f68875; Linux 5.6.

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

Yes. Fixed in Linux 768376ece7036ecb8604961793a1b72afe6345dd, Linux 8670b53b8ee91f028f7240531064020b7413c461, Linux 0f3a60869ca22024dfb9c6fce412b0c70cb4ea36, Linux 04a899573fb87273a656f178b5f920c505f68875. Upgrade Linux to 04a899573fb87273a656f178b5f920c505f68875 or later.

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

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

- patch: <https://git.kernel.org/stable/c/bb7902ed7d7f6d6a7c6c4dc25410d6127ce1085f>
- patch: <https://git.kernel.org/stable/c/e0ffb64a2d72c6705b4a4c9efef600409f7e98a0>
- patch: <https://git.kernel.org/stable/c/768376ece7036ecb8604961793a1b72afe6345dd>
- patch: <https://git.kernel.org/stable/c/8670b53b8ee91f028f7240531064020b7413c461>
- patch: <https://git.kernel.org/stable/c/0f3a60869ca22024dfb9c6fce412b0c70cb4ea36>
- patch: <https://git.kernel.org/stable/c/fbea4c63b5385588cb44ab21f91e55e33c719a54>
- patch: <https://git.kernel.org/stable/c/04a899573fb87273a656f178b5f920c505f68875>
- 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-68725>

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