CVE-2026-142830 (GCVE-0-2026-142830)

Vulnerability from cvelistv5 – Published: 2026-12-03 03:20 – Updated: 2026-12-04 03:25
VLAI
Title
ntfs: do not use a stale runlist pointer when undoing $MFT extension
Summary
In the Linux kernel, the following vulnerability has been resolved: ntfs: do not use a stale runlist pointer when undoing $MFT extension When ntfs_mft_data_extend_allocation_nolock() fails after it has rebuilt the mapping pairs of the last $MFT data extent, undo_alloc truncates the runlist and then rebuilds the old mapping pairs from rl2, a pointer into the runlist taken before the truncation. ntfs_rl_truncate_nolock() can reallocate the runlist, and KASAN then reports a use-after-free in ntfs_mapping_pairs_build(). Pass the start of the runlist instead, and hold the runlist lock for reading while the mapping pairs are built from it. ntfs_mapping_pairs_build() skips to the element containing the first vcn by itself.
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 8648 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 1e9ea7e04472d4e5e12e58c881eaacfb3e49b669 , < 387a7e579d841ff45b3010edc91d8bc043f0ffd5 (git)
Affected: 1e9ea7e04472d4e5e12e58c881eaacfb3e49b669 , < 258239e79b842e5246fb7f50758d9d15430f4102 (git)
guessed Create a notification for this product.
Linux Linux Affected: 7.1
Unaffected: 0 , < 7.1 (semver)
Unaffected: 7.3.4 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/ntfs/mft.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "387a7e579d841ff45b3010edc91d8bc043f0ffd5",
              "status": "affected",
              "version": "1e9ea7e04472d4e5e12e58c881eaacfb3e49b669",
              "versionType": "git"
            },
            {
              "lessThan": "258239e79b842e5246fb7f50758d9d15430f4102",
              "status": "affected",
              "version": "1e9ea7e04472d4e5e12e58c881eaacfb3e49b669",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/ntfs/mft.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "7.1"
            },
            {
              "lessThan": "7.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.4",
                  "versionStartIncluding": "7.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "7.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: do not use a stale runlist pointer when undoing $MFT extension\n\nWhen ntfs_mft_data_extend_allocation_nolock() fails after it has\nrebuilt the mapping pairs of the last $MFT data extent, undo_alloc\ntruncates the runlist and then rebuilds the old mapping pairs from rl2,\na pointer into the runlist taken before the truncation.\nntfs_rl_truncate_nolock() can reallocate the runlist, and KASAN then\nreports a use-after-free in ntfs_mapping_pairs_build().\n\nPass the start of the runlist instead, and hold the runlist lock for\nreading while the mapping pairs are built from it.\nntfs_mapping_pairs_build() skips to the element containing the first\nvcn by itself."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - ntfs_create() and ntfs_mkdir() in fs/ntfs/namei.c call __ntfs_create() then ntfs_mft_record_alloc(), which calls ntfs_mft_data_extend_allocation_nolock() when $MFT allocated_size cannot hold the new record. The stale rl2 points into that in-memory runlist; ntfs_rl_truncate_nolock() frees it on undo_alloc.\nAC:H - ntfs_mapping_pairs_build() is called on rl2 only after mp_rebuilt is set, once ntfs_attr_record_resize() has succeeded and a later step fails. The reported repro forces ntfs_attr_lookup() of the vcn-0 $DATA extent to fail; ntfs_read_inode_mount() rejects a volume that lacks that extent, and a normal create does not fail the lookup.\nPR:L - ntfs_create() checks only NVolShutdown before __ntfs_create() and ntfs_mft_record_alloc(). The gate is write permission on the parent directory; that path has no CAP_SYS_ADMIN check. ntfs_fs_type is FS_REQUIRES_DEV|FS_ALLOW_IDMAP and has no FS_USERNS_MOUNT.\nUI:N - The process that calls ntfs_create() or ntfs_mkdir() is the one that needs the new MFT record, and that syscall enters ntfs_mft_data_extend_allocation_nolock() directly. The vcn-0 ntfs_attr_lookup() error that selects undo_alloc is an error return inside that function.\nS:U - The freed object is the host kernel $MFT runlist, and ntfs_mapping_pairs_build() writes into the mapped $MFT attribute record. Both are inside the same kernel security authority.\nC:H - ntfs_rl_realloc() kvfree()s the runlist, then ntfs_mapping_pairs_build() reads rl-\u003elength, rl-\u003elcn and rl[1].vcn and advances rl while length is non-zero. That walk is not capped at the old allocation, so a reused slab discloses that object and the following heap bytes.\nI:H - ntfs_write_significant_bytes() stores those freed lcn and length values into the live $MFT/$DATA mapping pairs at a-\u003edata.non_resident.mapping_pairs_offset. Reclaiming the runlist slot chooses the LCNs written into $MFT, so later MFT record I/O uses attacker-chosen clusters.\nA:H - The patch records a KASAN slab-use-after-free in ntfs_mapping_pairs_build() when undo_alloc passes rl2 after ntfs_rl_truncate_nolock(). Reading rl2-\u003elength oopses if that kvfree\u0027d page is unmapped, on the path that grows $MFT."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-04T03:25:12.258Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/387a7e579d841ff45b3010edc91d8bc043f0ffd5"
        },
        {
          "url": "https://git.kernel.org/stable/c/258239e79b842e5246fb7f50758d9d15430f4102"
        }
      ],
      "title": "ntfs: do not use a stale runlist pointer when undoing $MFT extension",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-142830",
    "datePublished": "2026-12-03T03:20:46.592Z",
    "dateReserved": "2026-12-03T03:10:28.331Z",
    "dateUpdated": "2026-12-04T03:25:12.258Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-142830",
      "date": "2026-12-04",
      "epss": "0.00242",
      "percentile": "0.1639"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "fs/ntfs/mft.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "387a7e579d841ff45b3010edc91d8bc043f0ffd5",
                    "status": "affected",
                    "version": "1e9ea7e04472d4e5e12e58c881eaacfb3e49b669",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "258239e79b842e5246fb7f50758d9d15430f4102",
                    "status": "affected",
                    "version": "1e9ea7e04472d4e5e12e58c881eaacfb3e49b669",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "fs/ntfs/mft.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "7.1"
                  },
                  {
                    "lessThan": "7.1",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.4",
                    "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\nntfs: do not use a stale runlist pointer when undoing $MFT extension\n\nWhen ntfs_mft_data_extend_allocation_nolock() fails after it has\nrebuilt the mapping pairs of the last $MFT data extent, undo_alloc\ntruncates the runlist and then rebuilds the old mapping pairs from rl2,\na pointer into the runlist taken before the truncation.\nntfs_rl_truncate_nolock() can reallocate the runlist, and KASAN then\nreports a use-after-free in ntfs_mapping_pairs_build().\n\nPass the start of the runlist instead, and hold the runlist lock for\nreading while the mapping pairs are built from it.\nntfs_mapping_pairs_build() skips to the element containing the first\nvcn by itself."
          }
        ],
        "id": "CVE-2026-142830",
        "lastModified": "2026-12-04T04:17:28.693",
        "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-12-03T04:18:18.930",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/258239e79b842e5246fb7f50758d9d15430f4102"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/387a7e579d841ff45b3010edc91d8bc043f0ffd5"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-12-04T03:56:23+00:00",
      "cve": "CVE-2026-142830",
      "id": "CVE-2026-142830",
      "initial_release_date": "2026-12-03T03:20:46.592000+00:00",
      "product_status:known_not_affected": "280",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of service via use-after-free in NTFS file system driver",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-142830.json",
      "version": "3"
    }
  }
}



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.