CVE record · CVE-2025-38023

nfs: handle failure of nfs_get_lock_context in unlock path

No CVSS scoreEPSS 0.0024 · 15th percentile

Published by the CVE Program (CNA: Linux) at 18 Jun 2025, 09:28 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

Affected products, as the CNA wrote them
VendorProductVersions
Linux Linux
  • affected f30cb757f680f965ba8a2e53cb3588052a01aeb5 to before db6f5ee1fc8f54d079d0751292c2fc2d78e3aad1 git
  • affected f30cb757f680f965ba8a2e53cb3588052a01aeb5 to before 4c189fd40a09a03f9a900bedb2d9064f1734d72a git
  • affected f30cb757f680f965ba8a2e53cb3588052a01aeb5 to before 72f552e00c50f265896d3c19edc6696aa2910081 git
  • affected f30cb757f680f965ba8a2e53cb3588052a01aeb5 to before 85fb7f8ca5f8c138579fdfc9b97b3083e6077d40 git
  • affected f30cb757f680f965ba8a2e53cb3588052a01aeb5 to before a6879a076b98c99c9fe747816fe1c29543442441 git
  • affected f30cb757f680f965ba8a2e53cb3588052a01aeb5 to before da824f1271633bcb515ca8084cda3eda4b3ace51 git
  • affected f30cb757f680f965ba8a2e53cb3588052a01aeb5 to before f601960af04d2ecb007c928ba153d34051acd9c1 git
  • affected f30cb757f680f965ba8a2e53cb3588052a01aeb5 to before c457dc1ec770a22636b473ce5d35614adfe97636 git
Other versions: unaffected
Linux Linux
  • affected 4.12
  • unaffected before 4.12 semver
  • unaffected 5.4.294 to 5.4.*, inclusive semver
  • unaffected 5.10.238 to 5.10.*, inclusive semver
  • unaffected 5.15.184 to 5.15.*, inclusive semver
  • unaffected 6.1.140 to 6.1.*, inclusive semver
  • unaffected 6.6.92 to 6.6.*, inclusive semver
  • unaffected 6.12.30 to 6.12.*, inclusive semver
  • unaffected 6.14.8 to 6.14.*, inclusive semver
  • unaffected 6.15 to *, inclusive original_commit_for_fix
Other versions: affected
Identifiers
CVE-2025-38023
CNA
Linux
Published
18 Jun 2025
Updated
5 Nov 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Linux kernel NFS client (nfs) is affected in versions from 4.12 before the fixed releases, with stable branches 5.4.294, 5.10.238, 5.15.184 and 6.1.140 and later listed as unaffected. A memory allocation failure in the NFS unlock path can leave an invalid lock context in use, causing a NULL pointer dereference and a kernel crash. The source gives few details on how an attacker would trigger this. No workaround is listed; upgrade to a fixed kernel version.

Written 16 Nov 2026.

Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

Severity and exploitation

No source has published a CVSS score for this record yet.

  • CISA KEV Not listed.
  • EPSS 0.0024, the 15th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 18 Jun 2025, 09:28 UTC Confirmed by the CVE List
  2. 18 Jun 2025, 10:15 UTC Confirmed by NVD

Sources

References from the CNA

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.