{
  "id": "CVE-2025-38566",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38566",
  "published_at": "2025-08-19T17:02:42.506Z",
  "title": "sunrpc: fix handling of server side tls alerts",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/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\nsunrpc: fix handling of server side tls alerts\n\nScott Mayhew discovered a security exploit in NFS over TLS in\ntls_alert_recv() due to its assumption it can read data from\nthe msg iterator's kvec..\n\nkTLS implementation splits TLS non-data record payload between\nthe control message buffer (which includes the type such as TLS\naler or TLS cipher change) and the rest of the payload (say TLS\nalert's level/description) which goes into the msg payload buffer.\n\nThis patch proposes to rework how control messages are setup and\nused by sock_recvmsg().\n\nIf no control message structure is setup, kTLS layer will read and\nprocess TLS data record types. As soon as it encounters a TLS control\nmessage, it would return an error. At that point, NFS can setup a\nkvec backed msg buffer and read in the control message such as a\nTLS alert. Msg iterator can advance the kvec pointer as a part of\nthe copy process thus we need to revert the iterator before calling\ninto the tls_alert_recv.",
  "cwe": "CWE-754",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.8,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 5e052dda121e2870dd87181783da4a95d7d2927b, \u003c b1df394621710b312f0393e3f240fdac0764f968",
          "\u003e= 5e052dda121e2870dd87181783da4a95d7d2927b, \u003c 25bb3647d30a20486b5fe7cff2b0e503c16c9692",
          "\u003e= 5e052dda121e2870dd87181783da4a95d7d2927b, \u003c 3b549da875414989f480b66835d514be80a0bd9c",
          "\u003e= 5e052dda121e2870dd87181783da4a95d7d2927b, \u003c 6b33c31cc788073bfbed9297e1f4486ed73d87da",
          "\u003e= 5e052dda121e2870dd87181783da4a95d7d2927b, \u003c bee47cb026e762841f3faece47b51f985e215edb"
        ],
        "fixed_in": [
          "b1df394621710b312f0393e3f240fdac0764f968",
          "25bb3647d30a20486b5fe7cff2b0e503c16c9692",
          "3b549da875414989f480b66835d514be80a0bd9c",
          "6b33c31cc788073bfbed9297e1f4486ed73d87da",
          "bee47cb026e762841f3faece47b51f985e215edb"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.4"
        ],
        "fixed_in": [
          "0",
          "6.6.102",
          "6.12.42",
          "6.15.10",
          "6.16.1",
          "6.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to b1df394621710b312f0393e3f240fdac0764f968 or 25bb3647d30a20486b5fe7cff2b0e503c16c9692 or 3b549da875414989f480b66835d514be80a0bd9c or 6b33c31cc788073bfbed9297e1f4486ed73d87da or bee47cb026e762841f3faece47b51f985e215edb or later.",
      "Upgrade Linux to 0 or 6.6.102 or 6.12.42 or 6.15.10 or 6.16.1 or 6.17 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
