We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-38331

net: ethernet: cortina: Use TOE/TSO on all TCP



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.

Reserved 2025-04-16 | Published 2025-07-10 | Updated 2025-07-11 | Assigner Linux

Product status

Default status
unaffected

4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 before 1b503b790109d19710ec83c589c3ee59e95347ec
affected

4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 before a37888a435b0737128d2d9c6f67b8d608f83df7a
affected

4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 before 2bd434bb0eeb680c2b3dd6c68ca319b30cb8d47f
affected

4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 before ebe12e232f1d58ebb4b53b6d9149962b707bed91
affected

4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 before 6a07e3af4973402fa199a80036c10060b922c92c
affected

Default status
affected

4.16
affected

Any version before 4.16
unaffected

6.1.142
unaffected

6.6.95
unaffected

6.12.35
unaffected

6.15.4
unaffected

6.16-rc1
unaffected

References

git.kernel.org/...c/1b503b790109d19710ec83c589c3ee59e95347ec

git.kernel.org/...c/a37888a435b0737128d2d9c6f67b8d608f83df7a

git.kernel.org/...c/2bd434bb0eeb680c2b3dd6c68ca319b30cb8d47f

git.kernel.org/...c/ebe12e232f1d58ebb4b53b6d9149962b707bed91

git.kernel.org/...c/6a07e3af4973402fa199a80036c10060b922c92c

cve.org (CVE-2025-38331)

nvd.nist.gov (CVE-2025-38331)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-38331

Support options

Helpdesk Chat, Email, Knowledgebase