# CVE-2026-64432: fs/ntfs3: validate Dirty Page Table capacity in log_replay copy_lcns

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-07-25T08:51:07.791Z
- Modified: 2026-10-19T21:17:37.490Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

fs/ntfs3: validate Dirty Page Table capacity in log_replay copy_lcns

In the analysis pass of $LogFile journal replay, log_replay() copies
LCNs from each action log record into an existing Dirty Page Table
(DPT) entry without bounding the destination index. A crafted NTFS
image with DPT entry lcns_follow=1 and an action log record with
lcns_follow=2 produces a kernel slab out-of-bounds write at mount
time:

  BUG: KASAN: slab-out-of-bounds in log_replay+0x654c/0xdb60
  Write of size 8 at addr ffff8880095e1040 by task mount

Two attacker-controlled fields can drive j+i past the allocated
page_lcns[] array:

  1. dp->lcns_follow (capacity) can be smaller than lrh->lcns_follow.
  2. lrh->target_vcn may be smaller than dp->vcn, making the u64
     subtraction wrap to a huge size_t.

Validate target VCN delta and per-record LCN count against the
DPT entry capacity, bail via the existing out: cleanup label with
-EINVAL.

This mirrors the bounds-check pattern added in commit b2bc7c44ed17
("fs/ntfs3: Fix slab-out-of-bounds read in DeleteIndexEntryRoot")
and commit 0ca0485e4b2e ("fs/ntfs3: validate rec->used in
journal-replay file record check").

(As written by CVE List.)

## Affected

- Linux Linux: from b46acd6a6a627d876898e1c84d3f84902264b445 before 964c3fae1dfc49dde5468eace940f199cda234e9; from b46acd6a6a627d876898e1c84d3f84902264b445 before 3aa96956ca2200674e2a8f9c23ec6ecd45e5010f; from b46acd6a6a627d876898e1c84d3f84902264b445 before 946046841013ebac8492ef49651c53638d7a9a6a; from b46acd6a6a627d876898e1c84d3f84902264b445 before c6f9e804f73ef809529865fbc7256dd189ff8c33; from b46acd6a6a627d876898e1c84d3f84902264b445 before cf28fc1658463d768657cf1c27a83980d4ba7ef2; from b46acd6a6a627d876898e1c84d3f84902264b445 before f433acc85b86f327d03ba8b03a33c105c51053de; from b46acd6a6a627d876898e1c84d3f84902264b445 before 57382ec6ac63b63dce2789e835fded28b698ae79; 5.15 (not affected: before 5.15; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.96 up to 6.12.*; from 6.18.39 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 5.15 before 5.15.212; from 5.16 before 6.1.178; from 6.2 before 6.6.145; from 6.7 before 6.12.96; from 6.13 before 6.18.39; from 6.19 before 7.1.4

## References

- <https://git.kernel.org/stable/c/964c3fae1dfc49dde5468eace940f199cda234e9> (patch)
- <https://git.kernel.org/stable/c/3aa96956ca2200674e2a8f9c23ec6ecd45e5010f> (patch)
- <https://git.kernel.org/stable/c/946046841013ebac8492ef49651c53638d7a9a6a> (patch)
- <https://git.kernel.org/stable/c/c6f9e804f73ef809529865fbc7256dd189ff8c33> (patch)
- <https://git.kernel.org/stable/c/cf28fc1658463d768657cf1c27a83980d4ba7ef2> (patch)
- <https://git.kernel.org/stable/c/f433acc85b86f327d03ba8b03a33c105c51053de> (patch)
- <https://git.kernel.org/stable/c/57382ec6ac63b63dce2789e835fded28b698ae79> (patch)

## Sources

- CVE List: [CVE-2026-64432](https://www.cve.org/CVERecord?id=CVE-2026-64432), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-64432](https://nvd.nist.gov/vuln/detail/CVE-2026-64432), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-64432 · Whole record: https://cve.day/CVE-2026-64432.json · Rebuilt by cve.day 2026-11-25T22:59:30.116Z
