CVE-2026-72478 (GCVE-0-2026-72478)
Vulnerability from cvelistv5
Published
2026-08-15 05:57
Modified
2026-08-17 05:44
Summary
In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: add bounds check to run_get_highest_vcn() run_get_highest_vcn() parses a packed NTFS mapping-pairs buffer without any length bound, relying solely on a 0x00 terminator to stop. A crafted $LogFile UpdateMappingPairs record whose embedded attribute contains mapping-pairs runs without a terminator causes the function to read past the slab allocation, triggering a KASAN slab-out-of-bounds read on mount. The sibling function run_unpack() received an analogous bounds-check in commit b62567bca474 ("ntfs3: add buffer boundary checks to run_unpack()"), but run_get_highest_vcn() was missed. Take a run_buf_size parameter and reject any run header whose payload would extend past the buffer end, mirroring the pattern used by run_unpack(). The caller in fslog.c passes the remaining attribute bytes after the mapping-pairs offset. KASAN report (on mainline v7.1 merge window HEAD): BUG: KASAN: slab-out-of-bounds in run_get_highest_vcn+0x3c0/0x410 Read of size 1 at addr ffff88800e2d5400 by task mount/72 Call Trace: run_get_highest_vcn+0x3c0/0x410 do_action.isra.0+0x3ba8/0x7b50 log_replay+0x9ddd/0x10200 ntfs_loadlog_and_replay+0x4ad/0x610 ntfs_fill_super+0x214a/0x4540
Impacted products
Vendor Product Version
Linux Linux Version: 425de2aba0d061b3e715d51a3b1992c112ed5b99
Version: bf7ac4a1d3bfc6e56e54635c3d331a68170d37c9
Version: e64f7dfcaff79e7dfff9121a382dd77f9b462f62
Version: d3012690a7065d9ca86521a525ad11e8af491d45
Version: b62567bca47408e6739dee75f02a2113548af875
Version: b62567bca47408e6739dee75f02a2113548af875
Version: bbad75336870b51b81979b97613746237fcb02fe
Version: 41aadf5cb482793a24e05aa136224e179a778586
Version: 6.1.175   
Version: 6.6.140   
Version: 6.12.86   
Version: 6.18.27   
Version: 5.15.209   
Version: 7.0.4   
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/ntfs3/fslog.c",
            "fs/ntfs3/ntfs_fs.h",
            "fs/ntfs3/run.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c69b9003332917b652175d5fa9d84158c5ed8617",
              "status": "affected",
              "version": "425de2aba0d061b3e715d51a3b1992c112ed5b99",
              "versionType": "git"
            },
            {
              "lessThan": "8afc24a884aff6a6f08028bd779ee65c40054455",
              "status": "affected",
              "version": "bf7ac4a1d3bfc6e56e54635c3d331a68170d37c9",
              "versionType": "git"
            },
            {
              "lessThan": "c23083b472a720c3f60b147db05b25b751c7c1bf",
              "status": "affected",
              "version": "e64f7dfcaff79e7dfff9121a382dd77f9b462f62",
              "versionType": "git"
            },
            {
              "lessThan": "a31893206588374d7d16fad387189d8165c7efd3",
              "status": "affected",
              "version": "d3012690a7065d9ca86521a525ad11e8af491d45",
              "versionType": "git"
            },
            {
              "lessThan": "41081202eb823f5b27ff164b12010b24428100ad",
              "status": "affected",
              "version": "b62567bca47408e6739dee75f02a2113548af875",
              "versionType": "git"
            },
            {
              "lessThan": "bb11485a87fbb2254b62cfed630b699d50e57da8",
              "status": "affected",
              "version": "b62567bca47408e6739dee75f02a2113548af875",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "bbad75336870b51b81979b97613746237fcb02fe",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "41aadf5cb482793a24e05aa136224e179a778586",
              "versionType": "git"
            },
            {
              "lessThan": "6.1.178",
              "status": "affected",
              "version": "6.1.175",
              "versionType": "semver"
            },
            {
              "lessThan": "6.6.145",
              "status": "affected",
              "version": "6.6.140",
              "versionType": "semver"
            },
            {
              "lessThan": "6.12.97",
              "status": "affected",
              "version": "6.12.86",
              "versionType": "semver"
            },
            {
              "lessThan": "6.18.40",
              "status": "affected",
              "version": "6.18.27",
              "versionType": "semver"
            },
            {
              "lessThan": "5.16",
              "status": "affected",
              "version": "5.15.209",
              "versionType": "semver"
            },
            {
              "lessThan": "7.1",
              "status": "affected",
              "version": "7.0.4",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/ntfs3/fslog.c",
            "fs/ntfs3/ntfs_fs.h",
            "fs/ntfs3/run.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": "6.1.*",
              "status": "unaffected",
              "version": "6.1.178",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.145",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.97",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.40",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.178",
                  "versionStartIncluding": "6.1.175",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "6.6.140",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "6.12.86",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "6.18.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "7.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "7.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.15.209",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "7.0.4",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: add bounds check to run_get_highest_vcn()\n\nrun_get_highest_vcn() parses a packed NTFS mapping-pairs buffer without\nany length bound, relying solely on a 0x00 terminator to stop.  A\ncrafted $LogFile UpdateMappingPairs record whose embedded attribute\ncontains mapping-pairs runs without a terminator causes the function to\nread past the slab allocation, triggering a KASAN slab-out-of-bounds\nread on mount.\n\nThe sibling function run_unpack() received an analogous bounds-check in\ncommit b62567bca474 (\"ntfs3: add buffer boundary checks to run_unpack()\"),\nbut run_get_highest_vcn() was missed.\n\nTake a run_buf_size parameter and reject any run header whose payload\nwould extend past the buffer end, mirroring the pattern used by\nrun_unpack().  The caller in fslog.c passes the remaining attribute\nbytes after the mapping-pairs offset.\n\nKASAN report (on mainline v7.1 merge window HEAD):\n\n  BUG: KASAN: slab-out-of-bounds in run_get_highest_vcn+0x3c0/0x410\n  Read of size 1 at addr ffff88800e2d5400 by task mount/72\n  Call Trace:\n   run_get_highest_vcn+0x3c0/0x410\n   do_action.isra.0+0x3ba8/0x7b50\n   log_replay+0x9ddd/0x10200\n   ntfs_loadlog_and_replay+0x4ad/0x610\n   ntfs_fill_super+0x214a/0x4540"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8.4,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - mount(2)/get_tree_bdev on a crafted NTFS block device or loop image reaches ntfs_fill_super()\u2192ntfs_loadlog_and_replay()\u2192log_replay()\u2192do_action(UpdateMappingPairs)\u2192run_get_highest_vcn(); no network handler parses $LogFile.\nAC:L - The attacker fully controls the on-disk $LogFile UpdateMappingPairs record and embedded non-resident mapping-pairs bytes; omitting the 0x00 terminator deterministically drives the unbounded parser past the attribute buffer on the first replay mount with no race.\nPR:N - The attacker needs no account or privilege on the victim; supplying a malicious NTFS image on USB/removable media, a disk image, or shared storage is sufficient for udisks2/systemd automount or an administrator mount to reach journal replay.\nUI:N - Desktop/kiosk/shared-workstation automounters mount attacker-supplied NTFS media and run $LogFile replay without the user opening files or running commands; insertion of the crafted volume is sufficient to trigger parsing on mount.\nS:U - Slab out-of-bounds reads and resulting mount-time kernel faults stay within the host kernel security authority; no VM escape, IOMMU bypass, or cross-boundary scope change.\nC:H - run_get_highest_vcn() scans mapping pairs with no length bound, performing slab out-of-bounds byte reads via run_unpack_s64(); kernel guidance treats heap out-of-bounds reads as enabling broad adjacent-slab information disclosure.\nI:H - Parsed run lengths and offsets come from attacker-chosen and out-of-bounds heap bytes and, if the loop terminates, are written into attr-\u003enres.evcn during log replay, corrupting non-resident extent metadata and redirecting later replayed cluster I/O.\nA:H - The demonstrated KASAN slab-out-of-bounds read in the mount task can fault into unmapped adjacent memory, producing a kernel oops/panic and denying service until reboot."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:44:42.810Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c69b9003332917b652175d5fa9d84158c5ed8617"
        },
        {
          "url": "https://git.kernel.org/stable/c/8afc24a884aff6a6f08028bd779ee65c40054455"
        },
        {
          "url": "https://git.kernel.org/stable/c/c23083b472a720c3f60b147db05b25b751c7c1bf"
        },
        {
          "url": "https://git.kernel.org/stable/c/a31893206588374d7d16fad387189d8165c7efd3"
        },
        {
          "url": "https://git.kernel.org/stable/c/41081202eb823f5b27ff164b12010b24428100ad"
        },
        {
          "url": "https://git.kernel.org/stable/c/bb11485a87fbb2254b62cfed630b699d50e57da8"
        }
      ],
      "title": "fs/ntfs3: add bounds check to run_get_highest_vcn()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-72478",
    "datePublished": "2026-08-15T05:57:17.679Z",
    "dateReserved": "2026-08-09T03:40:39.935Z",
    "dateUpdated": "2026-08-17T05:44:42.810Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…