FKIE_CVE-2026-139274

Vulnerability from fkie_nvd - Published: 2026-11-30 14:18 - Updated: 2026-12-01 06:17
Summary
In the Linux kernel, the following vulnerability has been resolved: nfs/localio: pin UUIDs during global invalidation nfs_localio_invalidate_clients() moves UUID nodes embedded in nfs_client objects to a private list, then walks that list without retaining the containing clients. Concurrent client teardown can free an entry that the iterator has already selected, causing a use-after-free. Take a reference to each selected UUID under the namespace list lock. Keep this reference count in nfs_common, independently of cl_count, and have nfs_free_client() drain temporary UUID users before freeing the client. Releasing a UUID reference wakes waiting probes and signals completion when the last reference is dropped. It neither calls into nfs.ko nor performs final NFS client teardown in the NFSD invalidation context. Keep the UUID on the namespace list until its files have been closed. When another thread is already disabling it, wait for that thread to finish unlinking it instead of repeatedly selecting the same head entry. The wait releases the UUID spinlock so file cleanup can make progress. Append registrations in sequence order and capture the last sequence under the namespace list lock at the start of invalidation. Stop at that boundary so new registrations cannot indefinitely extend the sweep, even if its original last entry is removed concurrently. Publish the LOCALIO association under the UUID and namespace list locks before making the entry visible to invalidation. A temporary UUID reference allows the handshake to drop the global lookup lock before taking the UUID lock in the documented order; recheck the lookup in case the probe was withdrawn. A new probe waits for temporary UUID users to drain, then rechecks the association before reusing the UUID. This keeps a transient invalidation reference from discarding the client's LOCALIO revalidation attempt. Withdraw pending probes before dropping the owner's UUID reference. A deterministic same-base KASAN reproducer triggered the reported use-after-free on the unpatched tree. With this patch, the same controlled invalidation and teardown race completed without the target KASAN report or another selected kernel diagnostic. A separate all-live run recorded disable events for all 16 unique clients. Test-only synchronization hooks verified that a second disabler waits for unlink after ->net is cleared and that client teardown waits for a temporary UUID reference to drain. NFSv4.2 and NFSv3 read, write, and unmount smoke tests, export-flush and I/O stress, NFSD restarts, network namespace lifecycle tests, and module unloads passed with KASAN and lockdep enabled. A full x86_64 kernel and modules build with GCC 13.3, CONFIG_WERROR=y, NFS_FS=m, NFSD=m, and LOCALIO enabled completed without diagnostics. Module metadata showed that nfs_localio.ko depends only on sunrpc, while nfs.ko depends on lockd, nfs_localio, and sunrpc. A separate NFS_FS=m, NFSD=y build also linked vmlinux successfully. The vulnerability research and validation were conducted by members of the Tobabz team as part of the Best of the Best 15th program.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/nfs/client.c",
            "fs/nfs_common/nfslocalio.c",
            "include/linux/nfslocalio.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "30c3fc2bb5019783c88ffc21666b8e54f862ea9e",
              "status": "affected",
              "version": "085804110aa13eac7f763d8d5cfe3a8220e35222",
              "versionType": "git"
            },
            {
              "lessThan": "c50f364a2a534d00f72b997c58aa153c9ae70a60",
              "status": "affected",
              "version": "085804110aa13eac7f763d8d5cfe3a8220e35222",
              "versionType": "git"
            },
            {
              "lessThan": "62e14699c4dfc98c514a44bf780678cf8622fc08",
              "status": "affected",
              "version": "085804110aa13eac7f763d8d5cfe3a8220e35222",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/nfs/client.c",
            "fs/nfs_common/nfslocalio.c",
            "include/linux/nfslocalio.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.14"
            },
            {
              "lessThan": "6.14",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.65",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnfs/localio: pin UUIDs during global invalidation\n\nnfs_localio_invalidate_clients() moves UUID nodes embedded in nfs_client\nobjects to a private list, then walks that list without retaining the\ncontaining clients. Concurrent client teardown can free an entry that\nthe iterator has already selected, causing a use-after-free.\n\nTake a reference to each selected UUID under the namespace list lock.\nKeep this reference count in nfs_common, independently of cl_count, and\nhave nfs_free_client() drain temporary UUID users before freeing the\nclient. Releasing a UUID reference wakes waiting probes and signals\ncompletion when the last reference is dropped. It neither calls into\nnfs.ko nor performs final NFS client teardown in the NFSD invalidation\ncontext.\n\nKeep the UUID on the namespace list until its files have been closed.\nWhen another thread is already disabling it, wait for that thread to\nfinish unlinking it instead of repeatedly selecting the same head entry.\nThe wait releases the UUID spinlock so file cleanup can make progress.\n\nAppend registrations in sequence order and capture the last sequence\nunder the namespace list lock at the start of invalidation. Stop at that\nboundary so new registrations cannot indefinitely extend the sweep,\neven if its original last entry is removed concurrently.\n\nPublish the LOCALIO association under the UUID and namespace list locks\nbefore making the entry visible to invalidation. A temporary UUID\nreference allows the handshake to drop the global lookup lock before\ntaking the UUID lock in the documented order; recheck the lookup in case\nthe probe was withdrawn. A new probe waits for temporary UUID users to\ndrain, then rechecks the association before reusing the UUID. This keeps\na transient invalidation reference from discarding the client\u0027s LOCALIO\nrevalidation attempt. Withdraw pending probes before dropping the owner\u0027s\nUUID reference.\n\nA deterministic same-base KASAN reproducer triggered the reported\nuse-after-free on the unpatched tree. With this patch, the same controlled\ninvalidation and teardown race completed without the target KASAN report\nor another selected kernel diagnostic. A separate all-live run recorded\ndisable events for all 16 unique clients.\n\nTest-only synchronization hooks verified that a second disabler waits for\nunlink after -\u003enet is cleared and that client teardown waits for a\ntemporary UUID reference to drain. NFSv4.2 and NFSv3 read, write, and\nunmount smoke tests, export-flush and I/O stress, NFSD restarts, network\nnamespace lifecycle tests, and module unloads passed with KASAN and\nlockdep enabled.\n\nA full x86_64 kernel and modules build with GCC 13.3, CONFIG_WERROR=y,\nNFS_FS=m, NFSD=m, and LOCALIO enabled completed without diagnostics.\nModule metadata showed that nfs_localio.ko depends only on sunrpc, while\nnfs.ko depends on lockd, nfs_localio, and sunrpc.\n\nA separate NFS_FS=m, NFSD=y build also linked vmlinux successfully.\n\nThe vulnerability research and validation were conducted by members of\nthe Tobabz team as part of the Best of the Best 15th program."
    }
  ],
  "id": "CVE-2026-139274",
  "lastModified": "2026-12-01T06:17:41.010",
  "metrics": {
    "cvssMetricV31": [
      {
        "cvssData": {
          "attackComplexity": "HIGH",
          "attackVector": "LOCAL",
          "availabilityImpact": "HIGH",
          "baseScore": 7.0,
          "baseSeverity": "HIGH",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "privilegesRequired": "LOW",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
          "version": "3.1"
        },
        "exploitabilityScore": 1.0,
        "impactScore": 5.9,
        "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "type": "Secondary"
      }
    ]
  },
  "published": "2026-11-30T14:18:50.283",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/30c3fc2bb5019783c88ffc21666b8e54f862ea9e"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/62e14699c4dfc98c514a44bf780678cf8622fc08"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/c50f364a2a534d00f72b997c58aa153c9ae70a60"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.