CVE-2025-38331
net: ethernet: cortina: Use TOE/TSO on all TCP
Check your servers for CVE-2025-38331
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38331 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
net: ethernet: cortina: Use TOE/TSO on all TCP
It is desireable to push the hardware accelerator to also process non-segmented TCP frames: we pass the skb->len to the "TOE/TSO" offloader and it will handle them.
Without this quirk the driver becomes unstable and lock up and and crash.
I do not know exactly why, but it is probably due to the TOE (TCP offload engine) feature that is coupled with the segmentation feature - it is not possible to turn one part off and not the other, either both TOE and TSO are active, or neither of them.
Not having the TOE part active seems detrimental, as if that hardware feature is not really supposed to be turned off.
The datasheet says:
"Based on packet parsing and TCP connection/NAT table lookup results, the NetEngine puts the packets belonging to the same TCP connection to the same queue for the software to process. The NetEngine puts incoming packets to the buffer or series of buffers for a jumbo packet. With this hardware acceleration, IP/TCP header parsing, checksum validation and connection lookup are offloaded from the software processing."
After numerous tests with the hardware locking up after something between minutes and hours depending on load using iperf3 I have concluded this is necessary to stabilize the hardware.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.37%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 33.2% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88, before 1b503b790109d19710ec83c589c3ee59e95347ec affected from 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88, before a37888a435b0737128d2d9c6f67b8d608f83df7a affected from 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88, before 2bd434bb0eeb680c2b3dd6c68ca319b30cb8d47f affected from 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88, before ebe12e232f1d58ebb4b53b6d9149962b707bed91 affected from 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88, before 6a07e3af4973402fa199a80036c10060b922c92c
Other versions: unaffected
|
| Linux |
affected 4.16 unaffected before 4.16 unaffected from 6.1.142 up to and including 6.1.* unaffected from 6.6.95 up to and including 6.6.* unaffected from 6.12.35 up to and including 6.12.* unaffected from 6.15.4 up to and including 6.15.* unaffected 6.16 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38331 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38331
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-38331
trivy image --scanners vuln IMAGE | grep CVE-2025-38331
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/1b503b790109d19710ec83c589c3ee59e95347ec git.kernel.org
- https://git.kernel.org/stable/c/a37888a435b0737128d2d9c6f67b8d608f83df7a git.kernel.org
- https://git.kernel.org/stable/c/2bd434bb0eeb680c2b3dd6c68ca319b30cb8d47f git.kernel.org
- https://git.kernel.org/stable/c/ebe12e232f1d58ebb4b53b6d9149962b707bed91 git.kernel.org
- https://git.kernel.org/stable/c/6a07e3af4973402fa199a80036c10060b922c92c git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
Source: the record CVE-2025-38331 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse