{
  "id": "CVE-2025-38331",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38331",
  "published_at": "2025-07-10T08:15:04.436Z",
  "title": "net: ethernet: cortina: Use TOE/TSO on all TCP",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ethernet: cortina: Use TOE/TSO on all TCP\n\nIt is desireable to push the hardware accelerator to also\nprocess non-segmented TCP frames: we pass the skb-\u003elen\nto the \"TOE/TSO\" offloader and it will handle them.\n\nWithout this quirk the driver becomes unstable and lock\nup and and crash.\n\nI do not know exactly why, but it is probably due to the\nTOE (TCP offload engine) feature that is coupled with the\nsegmentation feature - it is not possible to turn one\npart off and not the other, either both TOE and TSO are\nactive, or neither of them.\n\nNot having the TOE part active seems detrimental, as if\nthat hardware feature is not really supposed to be turned\noff.\n\nThe datasheet says:\n\n  \"Based on packet parsing and TCP connection/NAT table\n   lookup results, the NetEngine puts the packets\n   belonging to the same TCP connection to the same queue\n   for the software to process. The NetEngine puts\n   incoming packets to the buffer or series of buffers\n   for a jumbo packet. With this hardware acceleration,\n   IP/TCP header parsing, checksum validation and\n   connection lookup are offloaded from the software\n   processing.\"\n\nAfter numerous tests with the hardware locking up after\nsomething between minutes and hours depending on load\nusing iperf3 I have concluded this is necessary to stabilize\nthe hardware.",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88, \u003c 1b503b790109d19710ec83c589c3ee59e95347ec",
          "\u003e= 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88, \u003c a37888a435b0737128d2d9c6f67b8d608f83df7a",
          "\u003e= 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88, \u003c 2bd434bb0eeb680c2b3dd6c68ca319b30cb8d47f",
          "\u003e= 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88, \u003c ebe12e232f1d58ebb4b53b6d9149962b707bed91",
          "\u003e= 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88, \u003c 6a07e3af4973402fa199a80036c10060b922c92c"
        ],
        "fixed_in": [
          "1b503b790109d19710ec83c589c3ee59e95347ec",
          "a37888a435b0737128d2d9c6f67b8d608f83df7a",
          "2bd434bb0eeb680c2b3dd6c68ca319b30cb8d47f",
          "ebe12e232f1d58ebb4b53b6d9149962b707bed91",
          "6a07e3af4973402fa199a80036c10060b922c92c"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.16"
        ],
        "fixed_in": [
          "0",
          "6.1.142",
          "6.6.95",
          "6.12.35",
          "6.15.4",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 1b503b790109d19710ec83c589c3ee59e95347ec or a37888a435b0737128d2d9c6f67b8d608f83df7a or 2bd434bb0eeb680c2b3dd6c68ca319b30cb8d47f or ebe12e232f1d58ebb4b53b6d9149962b707bed91 or 6a07e3af4973402fa199a80036c10060b922c92c or later.",
      "Upgrade Linux to 0 or 6.1.142 or 6.6.95 or 6.12.35 or 6.15.4 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
