{"id":"CVE-2026-72478","aliases":["CVE-2026-72478"],"related":[],"kind":"vulnerability","state":"published","title":"fs/ntfs3: add bounds check to run_get_highest_vcn()","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"}],"published":"2026-08-15T05:57:17.679Z","modified":"2026-10-16T19:17:32.497Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"425de2aba0d061b3e715d51a3b1992c112ed5b99","fixed":"c69b9003332917b652175d5fa9d84158c5ed8617","status":"affected"},{"type":"git","introduced":"bf7ac4a1d3bfc6e56e54635c3d331a68170d37c9","fixed":"8afc24a884aff6a6f08028bd779ee65c40054455","status":"affected"},{"type":"git","introduced":"e64f7dfcaff79e7dfff9121a382dd77f9b462f62","fixed":"c23083b472a720c3f60b147db05b25b751c7c1bf","status":"affected"},{"type":"git","introduced":"d3012690a7065d9ca86521a525ad11e8af491d45","fixed":"a31893206588374d7d16fad387189d8165c7efd3","status":"affected"},{"type":"git","introduced":"b62567bca47408e6739dee75f02a2113548af875","fixed":"41081202eb823f5b27ff164b12010b24428100ad","status":"affected"},{"type":"git","introduced":"b62567bca47408e6739dee75f02a2113548af875","fixed":"bb11485a87fbb2254b62cfed630b699d50e57da8","status":"affected"},{"type":"git","version":"bbad75336870b51b81979b97613746237fcb02fe","status":"affected"},{"type":"git","version":"41aadf5cb482793a24e05aa136224e179a778586","status":"affected"},{"type":"semver","introduced":"6.1.175","fixed":"6.1.178","status":"affected"},{"type":"semver","introduced":"6.6.140","fixed":"6.6.145","status":"affected"},{"type":"semver","introduced":"6.12.86","fixed":"6.12.97","status":"affected"},{"type":"semver","introduced":"6.18.27","fixed":"6.18.40","status":"affected"},{"type":"semver","introduced":"5.15.209","fixed":"5.16","status":"affected"},{"type":"semver","introduced":"7.0.4","fixed":"7.1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.1","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/c69b9003332917b652175d5fa9d84158c5ed8617","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8afc24a884aff6a6f08028bd779ee65c40054455","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c23083b472a720c3f60b147db05b25b751c7c1bf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a31893206588374d7d16fad387189d8165c7efd3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/41081202eb823f5b27ff164b12010b24428100ad","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bb11485a87fbb2254b62cfed630b699d50e57da8","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T18:50:38.730Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72478","url":"https://www.cve.org/CVERecord?id=CVE-2026-72478","licence":"CVE Terms of Use","modified":"2026-10-16T18:55:26.034Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72478","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72478","licence":"Public domain","modified":"2026-10-16T19:17:32.497Z"}],"updatedAt":"2026-11-25T22:59:33.136Z","epss":{"score":0.00152,"percentile":0.04568,"date":"2026-12-01T12:00:22.000Z"}}