Linux kernel: fs/ntfs3: bound copy_lcns dp->page_lcns[] index in analysis pass
Overview
In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: bound copy_lcns dp->page_lcns[] index in analysis pass In log_replay()'s analysis pass, after find_dp() returns a valid DIR_PAGE_ENTRY for the (target_attr, target_vcn) tuple, the copy_lcns block walks lrh->lcns_follow further entries: t16 = le16_to_cpu(lrh->lcns_follow); for (i = 0; i < t16; i++) { size_t j = (size_t)(le64_to_cpu(lrh->target_vcn) - le64_to_cpu(dp->vcn)); dp->page_lcns[j + i] = lrh->page_lcns[i]; } find_dp() only validates that target_vcn falls within [dp->vcn, dp->vcn + dp->lcns_follow), i.e., that the FIRST cluster is covered. The walk through the further entries is not bounded against dp->lcns_follow. For a malformed LRH where target_vcn = dp->vcn + dp->lcns_follow - 1 and lrh->lcns_follow > 1, the i > 0 writes overflow the dp's allocated page_lcns[] array. Add the missing j + lrh->lcns_follow <= dp->lcns_follow guard. Reproduced under UML+KASAN on mainline 8d90b09e6741 as a slab-out-of-bounds write of size 8 from log_replay+0x68d4 on the mount path. This is distinct from Pavitra Jha's 2026-05-02 patch ("fs/ntfs3: validate lcns_follow in log_replay conversion", <20260502154252.164586-1-jhapavitra98@gmail.com>) which addresses the separate version-0 dirty-page-table conversion path's memmove(&dp->vcn, ...) call. The two fixes are complementary; both should land. [almaz.alexandrovich@paragon-software.com: clang-formatted the changes, fixed conflicts]
- Published
- 8/15/2026
- Last modified
- 10/16/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
Linux Linux | ≥ b46acd6a6a627d876898e1c84d3f84902264b445, < 9b3d8cc9d54fcded4de51b2b1026ae7182512077 | Verify advisory | Source |
Linux Linux | ≥ b46acd6a6a627d876898e1c84d3f84902264b445, < 9b7c28d8c61bdb041936222a09a708531a1c2921 | Verify advisory | Source |
Linux Linux | ≥ b46acd6a6a627d876898e1c84d3f84902264b445, < 0f13e823bf86bd1800168ea0bb5bca8b8500a81c | Verify advisory | Source |
Linux Linux | ≥ b46acd6a6a627d876898e1c84d3f84902264b445, < d240cd98f5f7b65c90f6b2b6abe3232ccdc405ab | Verify advisory | Source |
Linux Linux | ≥ b46acd6a6a627d876898e1c84d3f84902264b445, < 49c86dae0c0ccb8d98ddcdc46987259389c816dd | Verify advisory | Source |
Linux Linux | ≥ b46acd6a6a627d876898e1c84d3f84902264b445, < 5e7b598660cfa8e5af172cf4c65cffc126333307 | Verify advisory | Source |
Linux Linux | 5.15 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 8.4. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.