{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72478","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-08-09T03:40:39.935Z","datePublished":"2026-08-15T05:57:17.679Z","dateUpdated":"2026-08-17T05:44:42.810Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-17T05:44:42.810Z"},"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":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.4,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - mount(2)/get_tree_bdev on a crafted NTFS block device or loop image reaches ntfs_fill_super()→ntfs_loadlog_and_replay()→log_replay()→do_action(UpdateMappingPairs)→run_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->nres.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."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/fslog.c","fs/ntfs3/ntfs_fs.h","fs/ntfs3/run.c"],"versions":[{"version":"425de2aba0d061b3e715d51a3b1992c112ed5b99","lessThan":"c69b9003332917b652175d5fa9d84158c5ed8617","status":"affected","versionType":"git"},{"version":"bf7ac4a1d3bfc6e56e54635c3d331a68170d37c9","lessThan":"8afc24a884aff6a6f08028bd779ee65c40054455","status":"affected","versionType":"git"},{"version":"e64f7dfcaff79e7dfff9121a382dd77f9b462f62","lessThan":"c23083b472a720c3f60b147db05b25b751c7c1bf","status":"affected","versionType":"git"},{"version":"d3012690a7065d9ca86521a525ad11e8af491d45","lessThan":"a31893206588374d7d16fad387189d8165c7efd3","status":"affected","versionType":"git"},{"version":"b62567bca47408e6739dee75f02a2113548af875","lessThan":"41081202eb823f5b27ff164b12010b24428100ad","status":"affected","versionType":"git"},{"version":"b62567bca47408e6739dee75f02a2113548af875","lessThan":"bb11485a87fbb2254b62cfed630b699d50e57da8","status":"affected","versionType":"git"},{"version":"bbad75336870b51b81979b97613746237fcb02fe","status":"affected","versionType":"git"},{"version":"41aadf5cb482793a24e05aa136224e179a778586","status":"affected","versionType":"git"},{"version":"6.1.175","lessThan":"6.1.178","status":"affected","versionType":"semver"},{"version":"6.6.140","lessThan":"6.6.145","status":"affected","versionType":"semver"},{"version":"6.12.86","lessThan":"6.12.97","status":"affected","versionType":"semver"},{"version":"6.18.27","lessThan":"6.18.40","status":"affected","versionType":"semver"},{"version":"5.15.209","lessThan":"5.16","status":"affected","versionType":"semver"},{"version":"7.0.4","lessThan":"7.1","status":"affected","versionType":"semver"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/fslog.c","fs/ntfs3/ntfs_fs.h","fs/ntfs3/run.c"],"versions":[{"version":"7.1","status":"affected"},{"version":"0","lessThan":"7.1","status":"unaffected","versionType":"semver"},{"version":"6.1.178","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.145","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.97","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.40","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.1.5","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.175","versionEndExcluding":"6.1.178"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.140","versionEndExcluding":"6.6.145"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.86","versionEndExcluding":"6.12.97"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18.27","versionEndExcluding":"6.18.40"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1","versionEndExcluding":"7.2"},{"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"}]}]}],"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"}}}}