{
  "id": "CVE-2025-38616",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38616",
  "published_at": "2025-08-22T13:01:23.217Z",
  "title": "tls: handle data disappearing from under the TLS ULP",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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\ntls: handle data disappearing from under the TLS ULP\n\nTLS expects that it owns the receive queue of the TCP socket.\nThis cannot be guaranteed in case the reader of the TCP socket\nentered before the TLS ULP was installed, or uses some non-standard\nread API (eg. zerocopy ones). Replace the WARN_ON() and a buggy\nearly exit (which leaves anchor pointing to a freed skb) with real\nerror handling. Wipe the parsing state and tell the reader to retry.\n\nWe already reload the anchor every time we (re)acquire the socket lock,\nso the only condition we need to avoid is an out of bounds read\n(not having enough bytes in the socket for previously parsed record len).\n\nIf some data was read from under TLS but there's enough in the queue\nwe'll reload and decrypt what is most likely not a valid TLS record.\nLeading to some undefined behavior from TLS perspective (corrupting\na stream? missing an alert? missing an attack?) but no kernel crash\nshould take place.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \u003c ef50eaab631f9bf519ddbdfa42ccb0528adc1fc8",
          "\u003e= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \u003c f1fe99919f629f980d0b8a7ff16950bffe06a859",
          "\u003e= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \u003c eb0336f213fe88bbdb7d2b19c9c9ec19245a3155",
          "\u003e= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \u003c db3658a12d5ec4db7185ae7476151a50521b7207",
          "\u003e= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \u003c 2fb97ed9e2672b4f6e24ce206ac1a875ce4bcb38",
          "\u003e= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \u003c 6db015fc4b5d5f63a64a193f65d98da3a7fc811d"
        ],
        "fixed_in": [
          "ef50eaab631f9bf519ddbdfa42ccb0528adc1fc8",
          "f1fe99919f629f980d0b8a7ff16950bffe06a859",
          "eb0336f213fe88bbdb7d2b19c9c9ec19245a3155",
          "db3658a12d5ec4db7185ae7476151a50521b7207",
          "2fb97ed9e2672b4f6e24ce206ac1a875ce4bcb38",
          "6db015fc4b5d5f63a64a193f65d98da3a7fc811d"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.0"
        ],
        "fixed_in": [
          "0",
          "6.1.185",
          "6.6.103",
          "6.12.43",
          "6.15.11",
          "6.16.2",
          "6.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to ef50eaab631f9bf519ddbdfa42ccb0528adc1fc8 or f1fe99919f629f980d0b8a7ff16950bffe06a859 or eb0336f213fe88bbdb7d2b19c9c9ec19245a3155 or db3658a12d5ec4db7185ae7476151a50521b7207 or 2fb97ed9e2672b4f6e24ce206ac1a875ce4bcb38 or 6db015fc4b5d5f63a64a193f65d98da3a7fc811d or later.",
      "Upgrade Linux to 0 or 6.1.185 or 6.6.103 or 6.12.43 or 6.15.11 or 6.16.2 or 6.17 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
