{
  "id": "CVE-2025-38571",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38571",
  "published_at": "2025-08-19T17:02:51.62Z",
  "title": "sunrpc: fix client side handling of tls alerts",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/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\nsunrpc: fix client side handling of tls alerts\n\nA security exploit was discovered in NFS over TLS in tls_alert_recv\ndue to its assumption that there is valid data in the msghdr's\niterator's kvec.\n\nInstead, this patch proposes the rework how control messages are\nsetup and used 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 kvec\nbacked control buffer and read in the control message such as a TLS\nalert. Scott found that a msg iterator can advance the kvec pointer\nas a part of the copy process thus we need to revert the iterator\nbefore calling into the tls_alert_recv.",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.2,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= dea034b963c8901bdcc3d3880c04f0d75c95112f, \u003c a55b3d15331859d9fdd261cfa6d34ca2aeb0fb95",
          "\u003e= dea034b963c8901bdcc3d3880c04f0d75c95112f, \u003c c36b2fbd60e8f9c6f975522130998608880c93be",
          "\u003e= dea034b963c8901bdcc3d3880c04f0d75c95112f, \u003c 3ee397eaaca4fa04db21bb98c8f1d0c6cc525368",
          "\u003e= dea034b963c8901bdcc3d3880c04f0d75c95112f, \u003c 3feada5baf4dc96e151ff2ca54630e1d274e5458",
          "\u003e= dea034b963c8901bdcc3d3880c04f0d75c95112f, \u003c cc5d59081fa26506d02de2127ab822f40d88bc5a"
        ],
        "fixed_in": [
          "a55b3d15331859d9fdd261cfa6d34ca2aeb0fb95",
          "c36b2fbd60e8f9c6f975522130998608880c93be",
          "3ee397eaaca4fa04db21bb98c8f1d0c6cc525368",
          "3feada5baf4dc96e151ff2ca54630e1d274e5458",
          "cc5d59081fa26506d02de2127ab822f40d88bc5a"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.5"
        ],
        "fixed_in": [
          "0",
          "6.6.102",
          "6.12.42",
          "6.15.10",
          "6.16.1",
          "6.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to a55b3d15331859d9fdd261cfa6d34ca2aeb0fb95 or c36b2fbd60e8f9c6f975522130998608880c93be or 3ee397eaaca4fa04db21bb98c8f1d0c6cc525368 or 3feada5baf4dc96e151ff2ca54630e1d274e5458 or cc5d59081fa26506d02de2127ab822f40d88bc5a 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": []
}
