{"id":"CVE-2026-72196","aliases":["CVE-2026-72196"],"related":[],"kind":"vulnerability","state":"published","title":"fs/ntfs3: bound copy_lcns dp->page_lcns[] index in analysis pass","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: bound copy_lcns dp->page_lcns[] index in analysis pass\n\nIn log_replay()'s analysis pass, after find_dp() returns a\nvalid DIR_PAGE_ENTRY for the (target_attr, target_vcn) tuple,\nthe copy_lcns block walks lrh->lcns_follow further entries:\n\n\tt16 = le16_to_cpu(lrh->lcns_follow);\n\tfor (i = 0; i < t16; i++) {\n\t    size_t j = (size_t)(le64_to_cpu(lrh->target_vcn) -\n\t                        le64_to_cpu(dp->vcn));\n\t    dp->page_lcns[j + i] = lrh->page_lcns[i];\n\t}\n\nfind_dp() only validates that target_vcn falls within\n[dp->vcn, dp->vcn + dp->lcns_follow), i.e., that the FIRST\ncluster is covered.  The walk through the further entries is\nnot bounded against dp->lcns_follow.  For a malformed LRH\nwhere target_vcn = dp->vcn + dp->lcns_follow - 1 and\nlrh->lcns_follow > 1, the i > 0 writes overflow the dp's\nallocated page_lcns[] array.\n\nAdd the missing j + lrh->lcns_follow <= dp->lcns_follow guard.\n\nReproduced under UML+KASAN on mainline 8d90b09e6741 as a\nslab-out-of-bounds write of size 8 from log_replay+0x68d4 on\nthe mount path.\n\nThis is distinct from Pavitra Jha's 2026-05-02 patch\n(\"fs/ntfs3: validate lcns_follow in log_replay conversion\",\n<20260502154252.164586-1-jhapavitra98@gmail.com>) which\naddresses the separate version-0 dirty-page-table conversion\npath's memmove(&dp->vcn, ...) call.  The two fixes are\ncomplementary; both should land.\n\n[almaz.alexandrovich@paragon-software.com: clang-formatted the changes,\nfixed conflicts]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: bound copy_lcns dp->page_lcns[] index in analysis pass\n\nIn log_replay()'s analysis pass, after find_dp() returns a\nvalid DIR_PAGE_ENTRY for the (target_attr, target_vcn) tuple,\nthe copy_lcns block walks lrh->lcns_follow further entries:\n\n\tt16 = le16_to_cpu(lrh->lcns_follow);\n\tfor (i = 0; i < t16; i++) {\n\t    size_t j = (size_t)(le64_to_cpu(lrh->target_vcn) -\n\t                        le64_to_cpu(dp->vcn));\n\t    dp->page_lcns[j + i] = lrh->page_lcns[i];\n\t}\n\nfind_dp() only validates that target_vcn falls within\n[dp->vcn, dp->vcn + dp->lcns_follow), i.e., that the FIRST\ncluster is covered.  The walk through the further entries is\nnot bounded against dp->lcns_follow.  For a malformed LRH\nwhere target_vcn = dp->vcn + dp->lcns_follow - 1 and\nlrh->lcns_follow > 1, the i > 0 writes overflow the dp's\nallocated page_lcns[] array.\n\nAdd the missing j + lrh->lcns_follow <= dp->lcns_follow guard.\n\nReproduced under UML+KASAN on mainline 8d90b09e6741 as a\nslab-out-of-bounds write of size 8 from log_replay+0x68d4 on\nthe mount path.\n\nThis is distinct from Pavitra Jha's 2026-05-02 patch\n(\"fs/ntfs3: validate lcns_follow in log_replay conversion\",\n<20260502154252.164586-1-jhapavitra98@gmail.com>) which\naddresses the separate version-0 dirty-page-table conversion\npath's memmove(&dp->vcn, ...) call.  The two fixes are\ncomplementary; both should land.\n\n[almaz.alexandrovich@paragon-software.com: clang-formatted the changes,\nfixed conflicts]","source":"cvelist"}],"published":"2026-08-15T05:53:55.509Z","modified":"2026-10-16T19:17:14.207Z","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":"b46acd6a6a627d876898e1c84d3f84902264b445","fixed":"9b3d8cc9d54fcded4de51b2b1026ae7182512077","status":"affected"},{"type":"git","introduced":"b46acd6a6a627d876898e1c84d3f84902264b445","fixed":"9b7c28d8c61bdb041936222a09a708531a1c2921","status":"affected"},{"type":"git","introduced":"b46acd6a6a627d876898e1c84d3f84902264b445","fixed":"0f13e823bf86bd1800168ea0bb5bca8b8500a81c","status":"affected"},{"type":"git","introduced":"b46acd6a6a627d876898e1c84d3f84902264b445","fixed":"d240cd98f5f7b65c90f6b2b6abe3232ccdc405ab","status":"affected"},{"type":"git","introduced":"b46acd6a6a627d876898e1c84d3f84902264b445","fixed":"49c86dae0c0ccb8d98ddcdc46987259389c816dd","status":"affected"},{"type":"git","introduced":"b46acd6a6a627d876898e1c84d3f84902264b445","fixed":"5e7b598660cfa8e5af172cf4c65cffc126333307","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","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/9b3d8cc9d54fcded4de51b2b1026ae7182512077","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9b7c28d8c61bdb041936222a09a708531a1c2921","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0f13e823bf86bd1800168ea0bb5bca8b8500a81c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d240cd98f5f7b65c90f6b2b6abe3232ccdc405ab","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/49c86dae0c0ccb8d98ddcdc46987259389c816dd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5e7b598660cfa8e5af172cf4c65cffc126333307","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T18:43:43.786Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72196","url":"https://www.cve.org/CVERecord?id=CVE-2026-72196","licence":"CVE Terms of Use","modified":"2026-10-16T18:45:01.462Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72196","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72196","licence":"Public domain","modified":"2026-10-16T19:17:14.207Z"}],"updatedAt":"2026-11-25T22:59:33.040Z","epss":{"score":0.00185,"percentile":0.08478,"date":"2026-12-01T12:00:22.000Z"}}