← Back to CVE Explorer

CVE-2026-90039

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: NFSD: Guard admin state-revocation walks with NFSD_NET_UP Writing to /proc/fs/nfsd/unlock_filesystem, or sending the NFSD_CMD_UNLOCK_FILESYSTEM or NFSD_CMD_UNLOCK_EXPORT netlink command, walks the NFSv4 client hash tables to revoke open state and cancel async COPY operations. All three handlers gate that walk on nn->nfsd_serv, but a listener added via portlist or netlink listener_set sets nn->nfsd_serv before any nfsd thread starts. nfsd_startup_net() has not yet allocated nn->conf_id_hashtbl, so the walkers dereference a NULL table. A local administrator with CAP_SYS_ADMIN can crash the kernel this way without ever starting the server. nn->nfsd_serv is set when the service is created, which precedes table allocation. NFSD_NET_UP instead brackets the window where the tables are live: set at the end of nfsd_startup_net() and cleared in nfsd_shutdown_net() after they are freed, both under nfsd_mutex. Gating the three unlock paths on NFSD_NET_UP fixes the startup-time NULL dereference while preserving the earlier post-shutdown use-after-free fix.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-16 11:17:17.110000
Last modified
2026-10-19 09:18:52.147000
View original CVE JSON
{
  "id": "CVE-2026-90039",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-09-16T11:17:17.110",
  "lastModified": "2026-10-19T09:18:52.147",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: Guard admin state-revocation walks with NFSD_NET_UP\n\nWriting to /proc/fs/nfsd/unlock_filesystem, or sending the\nNFSD_CMD_UNLOCK_FILESYSTEM or NFSD_CMD_UNLOCK_EXPORT netlink command,\nwalks the NFSv4 client hash tables to revoke open state and cancel\nasync COPY operations.  All three handlers gate that walk on\nnn->nfsd_serv, but a listener added via portlist or netlink\nlistener_set sets nn->nfsd_serv before any nfsd thread starts.\nnfsd_startup_net() has not yet allocated nn->conf_id_hashtbl, so the\nwalkers dereference a NULL table.  A local administrator with\nCAP_SYS_ADMIN can crash the kernel this way without ever starting the\nserver.\n\nnn->nfsd_serv is set when the service is created, which precedes\ntable allocation.  NFSD_NET_UP instead brackets the window where the\ntables are live: set at the end of nfsd_startup_net() and cleared in\nnfsd_shutdown_net() after they are freed, both under nfsd_mutex.\nGating the three unlock paths on NFSD_NET_UP fixes the startup-time\nNULL dereference while preserving the earlier post-shutdown\nuse-after-free fix."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "fs/nfsd/nfs4proc.c",
            "fs/nfsd/nfs4state.c",
            "fs/nfsd/nfsctl.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "1ac3629bf012592cb0320e52a1cceb319a05ad17",
              "lessThan": "73bf459d696ecf207a9037bf9bb70c51a459469e",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "1ac3629bf012592cb0320e52a1cceb319a05ad17",
              "lessThan": "104a51265042b4424085741c963cb858ac29ec0b",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "1ac3629bf012592cb0320e52a1cceb319a05ad17",
              "lessThan": "0146467a2fce845cb6629979c3e9c58dd3d3a6a3",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "1ac3629bf012592cb0320e52a1cceb319a05ad17",
              "lessThan": "2f3e6638aebc0ab8afb8b4e9816ea9a1cad85378",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "fs/nfsd/nfs4proc.c",
            "fs/nfsd/nfs4state.c",
            "fs/nfsd/nfsctl.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "6.9",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "6.9",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.111",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.51",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.5",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/0146467a2fce845cb6629979c3e9c58dd3d3a6a3",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/104a51265042b4424085741c963cb858ac29ec0b",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/2f3e6638aebc0ab8afb8b4e9816ea9a1cad85378",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/73bf459d696ecf207a9037bf9bb70c51a459469e",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}