CVE-2025-68725
Last modified
CVE-2025-68725 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.6, < 5.10.249 |
| Linux | Linux Kernel | >= 5.11, < 5.15.199 |
| Linux | Linux Kernel | >= 5.16, < 6.1.162 |
| Linux | Linux Kernel | >= 6.2, < 6.6.122 |
| Linux | Linux Kernel | >= 6.7, < 6.12.68 |
| Linux | Linux Kernel | >= 6.13, < 6.18.2 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-68725?
How severe is CVE-2025-68725?
How do I fix CVE-2025-68725?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-68719KAYSUS KS-WR3600 routers with firmware 1.0.5.9.1 mishandle c…8.8
- CVE-2025-6872A vulnerability classified as critical was found in SourceCo…7.2
- CVE-2025-68721Axigen Mail Server before 10.5.57 contains an improper acces…8.1
- CVE-2025-68722Axigen Mail Server before 10.5.57 and 10.6.x before 10.6.26 …8.8
- CVE-2025-68723Axigen Mail Server before 10.5.57 contains multiple stored C…9
- CVE-2025-68724In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-68726In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2025-68727In the Linux kernel, the following vulnerability has been re…
- CVE-2025-68728In the Linux kernel, the following vulnerability has been re…
- CVE-2025-68729In the Linux kernel, the following vulnerability has been re…
- CVE-2025-6873A vulnerability, which was classified as critical, has been …7.2
- CVE-2025-68730In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2025-68725?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
