CVE-2025-40324 (GCVE-0-2025-40324)
Vulnerability from cvelistv5
Published
2025-12-08 00:46
Modified
2026-08-05 12:09
Summary
In the Linux kernel, the following vulnerability has been resolved: NFSD: Fix crash in nfsd4_read_release() When tracing is enabled, the trace_nfsd_read_done trace point crashes during the pynfs read.testNoFh test.
Impacted products
Vendor Product Version
Linux Linux Version: 65a33135e91e6dd661ecdf1194b9d90c49ae3570
Version: b11d8162c24af4a351d21e2c804d25ca493305e3
Version: b623a8e5d38a69a3ef8644acb1030dd7c7bc28b3
Version: 15a8b55dbb1ba154d82627547c5761cac884d810
Version: 15a8b55dbb1ba154d82627547c5761cac884d810
Version: 15a8b55dbb1ba154d82627547c5761cac884d810
Version: 15a8b55dbb1ba154d82627547c5761cac884d810
Version: 3d0dcada384af22dec764c8374a2997870ec86ae
Version: 5.10.220   
Version: 5.15.154   
Version: 6.1.24   
Version: 6.2.11   
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/nfsd/nfs4proc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "930cb4fe3ab4061be31f20ee30bb72a66f7bb6d1",
              "status": "affected",
              "version": "65a33135e91e6dd661ecdf1194b9d90c49ae3570",
              "versionType": "git"
            },
            {
              "lessThan": "375fdd8993cecc48afa359728a6e70b280dde1c8",
              "status": "affected",
              "version": "b11d8162c24af4a351d21e2c804d25ca493305e3",
              "versionType": "git"
            },
            {
              "lessThan": "2ac46606b2cc49e78d8e3d8f2685e79e9ba73020",
              "status": "affected",
              "version": "b623a8e5d38a69a3ef8644acb1030dd7c7bc28b3",
              "versionType": "git"
            },
            {
              "lessThan": "03524ccff698d4a77d096ed529073d91f5edee5d",
              "status": "affected",
              "version": "15a8b55dbb1ba154d82627547c5761cac884d810",
              "versionType": "git"
            },
            {
              "lessThan": "a4948875ed0599c037dc438c11891c9012721b1d",
              "status": "affected",
              "version": "15a8b55dbb1ba154d82627547c5761cac884d810",
              "versionType": "git"
            },
            {
              "lessThan": "8f244b773c63fa480c9a3bd1ae04f5272f285e89",
              "status": "affected",
              "version": "15a8b55dbb1ba154d82627547c5761cac884d810",
              "versionType": "git"
            },
            {
              "lessThan": "abb1f08a2121dd270193746e43b2a9373db9ad84",
              "status": "affected",
              "version": "15a8b55dbb1ba154d82627547c5761cac884d810",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "3d0dcada384af22dec764c8374a2997870ec86ae",
              "versionType": "git"
            },
            {
              "lessThan": "5.10.247",
              "status": "affected",
              "version": "5.10.220",
              "versionType": "semver"
            },
            {
              "lessThan": "5.15.197",
              "status": "affected",
              "version": "5.15.154",
              "versionType": "semver"
            },
            {
              "lessThan": "6.1.159",
              "status": "affected",
              "version": "6.1.24",
              "versionType": "semver"
            },
            {
              "lessThan": "6.3",
              "status": "affected",
              "version": "6.2.11",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/nfsd/nfs4proc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.3"
            },
            {
              "lessThan": "6.3",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.247",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.197",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.159",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.58",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.17.*",
              "status": "unaffected",
              "version": "6.17.8",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.18",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.247",
                  "versionStartIncluding": "5.10.220",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.197",
                  "versionStartIncluding": "5.15.154",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.159",
                  "versionStartIncluding": "6.1.24",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.117",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.58",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.17.8",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.2.11",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: Fix crash in nfsd4_read_release()\n\nWhen tracing is enabled, the trace_nfsd_read_done trace point\ncrashes during the pynfs read.testNoFh test."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - The bug is in the in-kernel NFS server\u0027s NFSv4 COMPOUND processing, triggered entirely by attacker-supplied RPC data arriving on TCP port 2049. No local access is needed \u2014 a crafted COMPOUND from any host that can reach nfsd is sufficient.\nAC:L - Within the vulnerable configuration (nfsd read tracepoints enabled, the configuration CVSS directs us to score), a single well-formed `COMPOUND{READ}` with no preceding PUTFH triggers the NULL dereference deterministically \u2014 no race, no memory-layout dependency, no timing window, and the attacker fully controls the request.\nPR:N - The crash occurs before any authorization gate: no filehandle, no stateid, no session/clientid, and no export access check is reached, and AUTH_SYS verifies no credentials. The NFSv4.1 `nfserr_op_not_in_session` path (nfs4proc.c:3087-3093) fires before session establishment, making this a pre-authentication code path.\nUI:N - The attacker sends the malformed COMPOUND directly to the NFS server; no administrator or client-side action is required at exploitation time.\nS:U - The NULL dereference oops occurs in the nfsd kthread within the kernel\u0027s own security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:N - `nfsd4_decode_read()` memsets the whole `struct nfsd4_read`, so `rd_rqstp`/`rd_fhp` are guaranteed NULL rather than stale pointers \u2014 the fault occurs on the first access and no data is read into the trace buffer or otherwise disclosed.\nI:N - The tracepoint\u0027s `TP_fast_assign` performs only loads from the NULL pointers; there is no out-of-bounds or use-after-free write and no control-flow hijack primitive.\nA:H - A NULL pointer dereference oops kills the nfsd kernel thread mid-compound (leaking the unreleased current_fh/save_fh references), and the request can be replayed to exhaust every nfsd thread; with panic_on_oops set it is an immediate kernel panic."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:09:37.288Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/930cb4fe3ab4061be31f20ee30bb72a66f7bb6d1"
        },
        {
          "url": "https://git.kernel.org/stable/c/375fdd8993cecc48afa359728a6e70b280dde1c8"
        },
        {
          "url": "https://git.kernel.org/stable/c/2ac46606b2cc49e78d8e3d8f2685e79e9ba73020"
        },
        {
          "url": "https://git.kernel.org/stable/c/03524ccff698d4a77d096ed529073d91f5edee5d"
        },
        {
          "url": "https://git.kernel.org/stable/c/a4948875ed0599c037dc438c11891c9012721b1d"
        },
        {
          "url": "https://git.kernel.org/stable/c/8f244b773c63fa480c9a3bd1ae04f5272f285e89"
        },
        {
          "url": "https://git.kernel.org/stable/c/abb1f08a2121dd270193746e43b2a9373db9ad84"
        }
      ],
      "title": "NFSD: Fix crash in nfsd4_read_release()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-40324",
    "datePublished": "2025-12-08T00:46:51.912Z",
    "dateReserved": "2025-04-16T07:20:57.186Z",
    "dateUpdated": "2026-08-05T12:09:37.288Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…