GHSA-VXR6-PV64-32XF

Vulnerability from github – Published: 2026-11-30 15:32 – Updated: 2026-11-30 15:32
VLAI
Details

In the Linux kernel, the following vulnerability has been resolved:

exfat: fix used_clusters accounting during cluster allocation

In the current exfat_alloc_cluster(), p_chain->size is incremented as each cluster is allocated so that the partially allocated chain can be freed by __exfat_free_cluster() on the error path.

However, sbi->used_clusters is still updated only after all clusters have been allocated, while __exfat_free_cluster() unconditionally subtracts the number of freed clusters from sbi->used_clusters. Therefore, when allocation fails partway through, the partially allocated clusters are subtracted from sbi->used_clusters even though they were never added to it. This corrupts the free-space accounting and can cause sbi->used_clusters to underflow.

Increment sbi->used_clusters together with p_chain->size as each cluster is allocated. This keeps the accounting consistent with __exfat_free_cluster() on both the success and error paths.

This issue is caught by generic/476 with 256k cluster size:

Ran: generic/476
Failures: generic/476
Failed 1 of 1 tests

*** fsck.exfat output ***
ERROR: <path>: more clusters are allocated. truncate to N bytes
...
/dev/vdc: corrupted. directories 331, files 526
/dev/vdc: files corrupted 9, files fixed 0
*** end fsck.exfat output ***
Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-139234"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-11-30T14:18:45Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nexfat: fix used_clusters accounting during cluster allocation\n\nIn the current exfat_alloc_cluster(), p_chain-\u003esize is incremented as\neach cluster is allocated so that the partially allocated chain can\nbe freed by __exfat_free_cluster() on the error path.\n\nHowever, sbi-\u003eused_clusters is still updated only after all clusters\nhave been allocated, while __exfat_free_cluster() unconditionally\nsubtracts the number of freed clusters from sbi-\u003eused_clusters.\nTherefore, when allocation fails partway through, the partially\nallocated clusters are subtracted from sbi-\u003eused_clusters even\nthough they were never added to it. This corrupts the free-space\naccounting and can cause sbi-\u003eused_clusters to underflow.\n\nIncrement sbi-\u003eused_clusters together with p_chain-\u003esize as each\ncluster is allocated. This keeps the accounting consistent with\n__exfat_free_cluster() on both the success and error paths.\n\nThis issue is caught by generic/476 with 256k cluster size:\n\n    Ran: generic/476\n    Failures: generic/476\n    Failed 1 of 1 tests\n\n    *** fsck.exfat output ***\n    ERROR: \u003cpath\u003e: more clusters are allocated. truncate to N bytes\n    ...\n    /dev/vdc: corrupted. directories 331, files 526\n    /dev/vdc: files corrupted 9, files fixed 0\n    *** end fsck.exfat output ***",
  "id": "GHSA-vxr6-pv64-32xf",
  "modified": "2026-11-30T15:32:23Z",
  "published": "2026-11-30T15:32:23Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139234"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8dd879d08328fdf47a29700b89015a8dca53aefd"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b0825472aeb9deb458296071c81d6396b0d20677"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/cb9dbf8a4e34b4fdf311598835ab4d76ed7e07c1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fabe14fd8555ae8bc5933df390e548d77e7336fd"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}



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.