CVE-2026-99462 (GCVE-0-2026-99462)

Vulnerability from cvelistv5 – Published: 2026-11-19 14:42 – Updated: 2026-11-22 11:08
VLAI
Title
mm/truncate: look up the end-edge straddler by index
Summary
In the Linux kernel, the following vulnerability has been resolved: mm/truncate: look up the end-edge straddler by index In truncate_inode_partial_folio(), after the first split at the start edge, folio_split() unlocks and drops the refcount of the after-split sub-folios. The sub-folio straddling the end of the truncation range is therefore unlocked and only transiently ref'd in the page cache while the code still derives it from a page pointer inside the original folio. Between the first split finishing and page_folio() resolving split_at2, that tail page can be reclaimed, freed and reallocated as a new large folio in the same mapping at a different file offset. folio2 then points at a folio that does not cover the end boundary, yet folio2->mapping == folio->mapping still holds, so the stale pointer passes the mapping check and folio_split_or_unmap() splits a folio at a wrong position (or, with a transient refcount, a use-after-free window opens between try_get and the split). __folio_split()'s own folio != page_folio(split_at) check cannot catch this either since split_at2 has been reallocated as part of the new folio, so page_folio(split_at2) resolves back to folio2. Look the straddler up by its page index instead. __filemap_get_folio() returns the folio currently covering the boundary, ref'd and locked, with the mapping validated under the lock, so the split target is always the real folio at the end edge.
Assigner
Linux CNA under the mitre root
CNA scorecard D 53/100 over 6734 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 7460b470a131f985a70302a322617121efdd7caa , < 0fab93d241cfb6f3aae29530a9a214157bb64087 (git)
Affected: 7460b470a131f985a70302a322617121efdd7caa , < 863ecacdae9ebac39e25a3e90e6cec3e86bc856a (git)
Affected: 7460b470a131f985a70302a322617121efdd7caa , < f47dee903b9f0f1e4e7181e8a398a7678cabf0a5 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.15
Unaffected: 0 , < 6.15 (semver)
Unaffected: 6.18.63 , ≤ 6.18.* (semver)
Unaffected: 7.3.2 , ≤ 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": [
            "mm/truncate.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "0fab93d241cfb6f3aae29530a9a214157bb64087",
              "status": "affected",
              "version": "7460b470a131f985a70302a322617121efdd7caa",
              "versionType": "git"
            },
            {
              "lessThan": "863ecacdae9ebac39e25a3e90e6cec3e86bc856a",
              "status": "affected",
              "version": "7460b470a131f985a70302a322617121efdd7caa",
              "versionType": "git"
            },
            {
              "lessThan": "f47dee903b9f0f1e4e7181e8a398a7678cabf0a5",
              "status": "affected",
              "version": "7460b470a131f985a70302a322617121efdd7caa",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "mm/truncate.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.15"
            },
            {
              "lessThan": "6.15",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.63",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.2",
              "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": "6.18.63",
                  "versionStartIncluding": "6.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.2",
                  "versionStartIncluding": "6.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "6.15",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/truncate: look up the end-edge straddler by index\n\nIn truncate_inode_partial_folio(), after the first split at the start\nedge, folio_split() unlocks and drops the refcount of the after-split\nsub-folios.  The sub-folio straddling the end of the truncation range is\ntherefore unlocked and only transiently ref\u0027d in the page cache while the\ncode still derives it from a page pointer inside the original folio.\n\nBetween the first split finishing and page_folio() resolving split_at2,\nthat tail page can be reclaimed, freed and reallocated as a new large\nfolio in the same mapping at a different file offset.  folio2 then points\nat a folio that does not cover the end boundary, yet folio2-\u003emapping ==\nfolio-\u003emapping still holds, so the stale pointer passes the mapping check\nand folio_split_or_unmap() splits a folio at a wrong position (or, with a\ntransient refcount, a use-after-free window opens between try_get and the\nsplit).  __folio_split()\u0027s own folio != page_folio(split_at) check cannot\ncatch this either since split_at2 has been reallocated as part of the new\nfolio, so page_folio(split_at2) resolves back to folio2.\n\nLook the straddler up by its page index instead.  __filemap_get_folio()\nreturns the folio currently covering the boundary, ref\u0027d and locked, with\nthe mapping validated under the lock, so the split target is always the\nreal folio at the end edge."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - fallocate(FALLOC_FL_PUNCH_HOLE) reaches truncate_inode_partial_folio through vfs_fallocate and xfs_file_fallocate or ext4_punch_hole (truncate_pagecache_range), or shmem_fallocate -\u003e shmem_truncate_range -\u003e shmem_undo_range. split_at2 is a local page pointer left after folio_split, not a field from a remote protocol message.\nAC:L - The same user creates the large folio with a normal write (iomap_get_folio with fgf_set_order) and punches a range that straddles it. folio_split then unlocks the end-edge folio and free_folio_and_swap_cache drops its extra ref; folio_zero_range does not mark it dirty, so a second thread\u0027s POSIX_FADV_DONTNEED (mapping_try_invalidate) can evict and reuse that page before page_folio(split_at2).\nPR:L - vfs_fallocate returns -EBADF unless the descriptor was opened with FMODE_WRITE. A local user has that on a file they create; truncate_inode_partial_folio performs no capability check.\nUI:N - The attacker writes the large folio and punch-holes that same file. No other subject has to mount an image or open the file.\nS:U - The use-after-free and the later __folio_split operate on a folio of the caller\u0027s address_space, or on the struct page that replaced it, inside the host kernel. That does not cross a guest-to-host or IOMMU boundary.\nC:H - page_folio(split_at2) and folio_try_get run after free_folio_and_swap_cache has dropped the tail folio\u0027s reference. mapping_try_invalidate can free that page first, so the lookup reads a reused struct page, and a transient non-zero refcount lets the use continue into folio_split_or_unmap.\nI:H - If the reused folio\u0027s mapping still equals the punched inode\u0027s mapping, the check in truncate_inode_partial_folio passes and folio_split_or_unmap calls __folio_split. __folio_split rewrites compound-page metadata and __xa_store writes replacement folios into mapping-\u003ei_pages.\nA:H - Once mapping_try_invalidate has freed the unlocked tail page, page_folio(split_at2) or __folio_split dereferences reclaimed struct page memory and oopses the kernel."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-22T11:08:24.978Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/0fab93d241cfb6f3aae29530a9a214157bb64087"
        },
        {
          "url": "https://git.kernel.org/stable/c/863ecacdae9ebac39e25a3e90e6cec3e86bc856a"
        },
        {
          "url": "https://git.kernel.org/stable/c/f47dee903b9f0f1e4e7181e8a398a7678cabf0a5"
        }
      ],
      "title": "mm/truncate: look up the end-edge straddler by index",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99462",
    "datePublished": "2026-11-19T14:42:12.579Z",
    "dateReserved": "2026-09-25T10:25:14.416Z",
    "dateUpdated": "2026-11-22T11:08:24.978Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99462",
      "date": "2026-11-27",
      "epss": "0.00157",
      "percentile": "0.02518"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-24T01:36:53.000Z",
      "cve": "CVE-2026-99462",
      "id": "msrc_CVE-2026-99462",
      "initial_release_date": "2026-11-20T01:10:34.000Z",
      "product_status:fixed": "1",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "mm/truncate: look up the end-edge straddler by index",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99462.json",
      "version": "3"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "mm/truncate.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "0fab93d241cfb6f3aae29530a9a214157bb64087",
                    "status": "affected",
                    "version": "7460b470a131f985a70302a322617121efdd7caa",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "863ecacdae9ebac39e25a3e90e6cec3e86bc856a",
                    "status": "affected",
                    "version": "7460b470a131f985a70302a322617121efdd7caa",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "f47dee903b9f0f1e4e7181e8a398a7678cabf0a5",
                    "status": "affected",
                    "version": "7460b470a131f985a70302a322617121efdd7caa",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "mm/truncate.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.15"
                  },
                  {
                    "lessThan": "6.15",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.63",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.2",
                    "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\nmm/truncate: look up the end-edge straddler by index\n\nIn truncate_inode_partial_folio(), after the first split at the start\nedge, folio_split() unlocks and drops the refcount of the after-split\nsub-folios.  The sub-folio straddling the end of the truncation range is\ntherefore unlocked and only transiently ref\u0027d in the page cache while the\ncode still derives it from a page pointer inside the original folio.\n\nBetween the first split finishing and page_folio() resolving split_at2,\nthat tail page can be reclaimed, freed and reallocated as a new large\nfolio in the same mapping at a different file offset.  folio2 then points\nat a folio that does not cover the end boundary, yet folio2-\u003emapping ==\nfolio-\u003emapping still holds, so the stale pointer passes the mapping check\nand folio_split_or_unmap() splits a folio at a wrong position (or, with a\ntransient refcount, a use-after-free window opens between try_get and the\nsplit).  __folio_split()\u0027s own folio != page_folio(split_at) check cannot\ncatch this either since split_at2 has been reallocated as part of the new\nfolio, so page_folio(split_at2) resolves back to folio2.\n\nLook the straddler up by its page index instead.  __filemap_get_folio()\nreturns the folio currently covering the boundary, ref\u0027d and locked, with\nthe mapping validated under the lock, so the split target is always the\nreal folio at the end edge."
          }
        ],
        "id": "CVE-2026-99462",
        "lastModified": "2026-11-22T11:16:52.720",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-19T15:18:00.343",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/0fab93d241cfb6f3aae29530a9a214157bb64087"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/863ecacdae9ebac39e25a3e90e6cec3e86bc856a"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f47dee903b9f0f1e4e7181e8a398a7678cabf0a5"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-25T13:31:38+00:00",
      "cve": "CVE-2026-99462",
      "id": "CVE-2026-99462",
      "initial_release_date": "2026-11-19T14:42:12.579000+00:00",
      "product_status:fixed": "366",
      "product_status:known_affected": "14",
      "product_status:known_not_affected": "189",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Use-after-free via race condition in memory folio truncation",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99462.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "important",
      "current_release_date": "2026-11-25T01:01:44Z",
      "cve": "CVE-2026-99462",
      "id": "CVE-2026-99462",
      "initial_release_date": "2026-11-25T01:01:44Z",
      "product_status:known_not_affected": "351",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-99462",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-99462.json",
      "version": "2"
    }
  }
}



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.