CVE-2025-68725

CVE-2025-68725

Medium · published December 24, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
7.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00185 · 7.7th percentile
Published
2025-12-24T16:16Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel≥ 5.6, < 5.10.2495.10.249
linux/linux_kernel≥ 5.11, < 5.15.1995.15.199
linux/linux_kernel≥ 5.16, < 6.1.1626.1.162
linux/linux_kernel≥ 6.2, < 6.6.1226.6.122
linux/linux_kernel≥ 6.7, < 6.12.686.12.68
linux/linux_kernel≥ 6.13, < 6.18.26.18.2
References (9)
EPSS history
Timeline
  • 24 DEC 10:33Z
    bpf: Do not let BPF test infra emit invalid GSO types to stack
    cvelistv5