Skip to content
Heist/ feed
Back to feed
CriticalFix available

ksmbd: fix Preauh_HashValue race condition

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix Preauh_HashValue race condition If client send multiple session setup requests to ksmbd, Preauh_HashValue race condition could happen. There is no need to free sess->Preauh_HashValue at session setup phase. It can be freed together with session at connection termination phase.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.148, 6.12.42, 6.15.10, 6.16.1, 6.6.102
CVEs
CVE-2025-38561
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 18:34 UTC · Revision 1

Source evidence

ksmbd: fix Preauh_HashValue race condition

core-osv · Original source

Published 19 Aug 2025, 17:02 UTC

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix Preauh_HashValue race condition If client send multiple session setup requests to ksmbd, Preauh_HashValue race condition could happen. There is no need to free sess->Preauh_HashValue at session setup phase. It can be freed together with session at connection termination phase.

osv:CVE-2025-38561

Kernel

Fixed versions: 6.1.148, 6.6.102, 6.12.42, 6.15.10, 6.16.1

Complete source record
{
  "id": "906eab4bc7e20758307c6670f5ff344c7707aed0f73c56926981f9860062fa50",
  "url": "https://osv.dev/vulnerability/CVE-2025-38561",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ksmbd: fix Preauh_HashValue race condition",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix Preauh_HashValue race condition If client send multiple session setup requests to ksmbd, Preauh_HashValue race condition could happen. There is no need to free sess->Preauh_HashValue at session setup phase. It can be freed together with session at connection termination phase.",
    "evidence": "osv:CVE-2025-38561",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.148",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.102",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.42",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.15.10",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.16.1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "CVE-2025-38561",
      "aliases": [
        "CVE-2025-38561"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0626e6641f6b467447c81dd7678a69c66f7746cf"
                },
                {
                  "fixed": "fbf5c0845ed15122a770bca9be1d9b60b470d3aa"
                },
                {
                  "fixed": "b69fd87076daa66f3d186bd421a7b0ee0cb45829"
                },
                {
                  "fixed": "edeecc7871e8fc0878d53ce286c75040a0e38f6c"
                },
                {
                  "fixed": "7d7c0c5304c88bcbd7a85e9bcd61d27e998ba5fc"
                },
                {
                  "fixed": "6613887da1d18dd2ecfd6c6148a873c4d903ebdc"
                },
                {
                  "fixed": "44a3059c4c8cc635a1fb2afd692d0730ca1ba4b6"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38561.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.15.0"
                },
                {
                  "fixed": "6.1.148"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.102"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.42"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.15.10"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.16.0"
                },
                {
                  "fixed": "6.16.1"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38561.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:47.967940646Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/44a3059c4c8cc635a1fb2afd692d0730ca1ba4b6",
        "https://git.kernel.org/stable/c/6613887da1d18dd2ecfd6c6148a873c4d903ebdc",
        "https://git.kernel.org/stable/c/7d7c0c5304c88bcbd7a85e9bcd61d27e998ba5fc",
        "https://git.kernel.org/stable/c/b69fd87076daa66f3d186bd421a7b0ee0cb45829",
        "https://git.kernel.org/stable/c/edeecc7871e8fc0878d53ce286c75040a0e38f6c",
        "https://git.kernel.org/stable/c/fbf5c0845ed15122a770bca9be1d9b60b470d3aa",
        "https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38561.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-38561",
        "https://www.zerodayinitiative.com/advisories/ZDI-25-916/",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38561.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-38561",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 515890,
  "published_at": "2025-08-19T17:02:38.719+00:00"
}