{"id":"CVE-2026-64432","state":"PUBLISHED","title":"fs/ntfs3: validate Dirty Page Table capacity in log_replay copy_lcns","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: validate Dirty Page Table capacity in log_replay copy_lcns\n\nIn the analysis pass of $LogFile journal replay, log_replay() copies\nLCNs from each action log record into an existing Dirty Page Table\n(DPT) entry without bounding the destination index. A crafted NTFS\nimage with DPT entry lcns_follow=1 and an action log record with\nlcns_follow=2 produces a kernel slab out-of-bounds write at mount\ntime:\n\n  BUG: KASAN: slab-out-of-bounds in log_replay+0x654c/0xdb60\n  Write of size 8 at addr ffff8880095e1040 by task mount\n\nTwo attacker-controlled fields can drive j+i past the allocated\npage_lcns[] array:\n\n  1. dp->lcns_follow (capacity) can be smaller than lrh->lcns_follow.\n  2. lrh->target_vcn may be smaller than dp->vcn, making the u64\n     subtraction wrap to a huge size_t.\n\nValidate target VCN delta and per-record LCN count against the\nDPT entry capacity, bail via the existing out: cleanup label with\n-EINVAL.\n\nThis mirrors the bounds-check pattern added in commit b2bc7c44ed17\n(\"fs/ntfs3: Fix slab-out-of-bounds read in DeleteIndexEntryRoot\")\nand commit 0ca0485e4b2e (\"fs/ntfs3: validate rec->used in\njournal-replay file record check\").","publishedAt":"2026-07-25T08:51:07.791Z","updatedAt":"2026-10-19T20:38:28.427Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","status":"affected","lessThan":"964c3fae1dfc49dde5468eace940f199cda234e9","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","status":"affected","lessThan":"3aa96956ca2200674e2a8f9c23ec6ecd45e5010f","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","status":"affected","lessThan":"946046841013ebac8492ef49651c53638d7a9a6a","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","status":"affected","lessThan":"c6f9e804f73ef809529865fbc7256dd189ff8c33","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","status":"affected","lessThan":"cf28fc1658463d768657cf1c27a83980d4ba7ef2","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","status":"affected","lessThan":"f433acc85b86f327d03ba8b03a33c105c51053de","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","status":"affected","lessThan":"57382ec6ac63b63dce2789e835fded28b698ae79","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/fslog.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"5.15.212","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.178","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.96","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.39","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.4","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/fslog.c"]}],"references":["https://git.kernel.org/stable/c/964c3fae1dfc49dde5468eace940f199cda234e9","https://git.kernel.org/stable/c/3aa96956ca2200674e2a8f9c23ec6ecd45e5010f","https://git.kernel.org/stable/c/946046841013ebac8492ef49651c53638d7a9a6a","https://git.kernel.org/stable/c/c6f9e804f73ef809529865fbc7256dd189ff8c33","https://git.kernel.org/stable/c/cf28fc1658463d768657cf1c27a83980d4ba7ef2","https://git.kernel.org/stable/c/f433acc85b86f327d03ba8b03a33c105c51053de","https://git.kernel.org/stable/c/57382ec6ac63b63dce2789e835fded28b698ae79"],"weaknesses":["CWE-787"],"ingestedAt":"2026-10-29T20:12:41.951Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/64xxx/CVE-2026-64432.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-64432","state":"PUBLISHED","datePublished":"2026-07-25T08:51:07.791Z","dateUpdated":"2026-10-19T20:38:28.427Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-19T15:36:31.787Z"},"containers":{"cna":{"title":"fs/ntfs3: validate Dirty Page Table capacity in log_replay copy_lcns","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: validate Dirty Page Table capacity in log_replay copy_lcns\n\nIn the analysis pass of $LogFile journal replay, log_replay() copies\nLCNs from each action log record into an existing Dirty Page Table\n(DPT) entry without bounding the destination index. A crafted NTFS\nimage with DPT entry lcns_follow=1 and an action log record with\nlcns_follow=2 produces a kernel slab out-of-bounds write at mount\ntime:\n\n  BUG: KASAN: slab-out-of-bounds in log_replay+0x654c/0xdb60\n  Write of size 8 at addr ffff8880095e1040 by task mount\n\nTwo attacker-controlled fields can drive j+i past the allocated\npage_lcns[] array:\n\n  1. dp->lcns_follow (capacity) can be smaller than lrh->lcns_follow.\n  2. lrh->target_vcn may be smaller than dp->vcn, making the u64\n     subtraction wrap to a huge size_t.\n\nValidate target VCN delta and per-record LCN count against the\nDPT entry capacity, bail via the existing out: cleanup label with\n-EINVAL.\n\nThis mirrors the bounds-check pattern added in commit b2bc7c44ed17\n(\"fs/ntfs3: Fix slab-out-of-bounds read in DeleteIndexEntryRoot\")\nand commit 0ca0485e4b2e (\"fs/ntfs3: validate rec->used in\njournal-replay file record check\")."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","status":"affected","lessThan":"964c3fae1dfc49dde5468eace940f199cda234e9","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","status":"affected","lessThan":"3aa96956ca2200674e2a8f9c23ec6ecd45e5010f","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","status":"affected","lessThan":"946046841013ebac8492ef49651c53638d7a9a6a","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","status":"affected","lessThan":"c6f9e804f73ef809529865fbc7256dd189ff8c33","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","status":"affected","lessThan":"cf28fc1658463d768657cf1c27a83980d4ba7ef2","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","status":"affected","lessThan":"f433acc85b86f327d03ba8b03a33c105c51053de","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","status":"affected","lessThan":"57382ec6ac63b63dce2789e835fded28b698ae79","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/fslog.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"5.15.212","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.178","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.96","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.39","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.4","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/fslog.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/964c3fae1dfc49dde5468eace940f199cda234e9"},{"url":"https://git.kernel.org/stable/c/3aa96956ca2200674e2a8f9c23ec6ecd45e5010f"},{"url":"https://git.kernel.org/stable/c/946046841013ebac8492ef49651c53638d7a9a6a"},{"url":"https://git.kernel.org/stable/c/c6f9e804f73ef809529865fbc7256dd189ff8c33"},{"url":"https://git.kernel.org/stable/c/cf28fc1658463d768657cf1c27a83980d4ba7ef2"},{"url":"https://git.kernel.org/stable/c/f433acc85b86f327d03ba8b03a33c105c51053de"},{"url":"https://git.kernel.org/stable/c/57382ec6ac63b63dce2789e835fded28b698ae79"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerable journal-replay code is reached by mounting a crafted local block-device or loop-backed NTFS image, not through network traffic.\nAC:L - Crafted DPT and action records deterministically trigger the out-of-bounds write without a race or conditions beyond attacker control.\nPR:N - Although direct mounting requires initial-namespace CAP_SYS_ADMIN, an unprivileged attacker can provide the crafted volume for a privileged victim to mount and therefore needs no privileges.\nUI:R - A victim must attach, select, or mount the attacker-supplied NTFS volume; replay occurs during that mount even when read-only.\nS:U - The corruption and resulting impacts occur within the host kernel's existing security authority, without crossing a virtualization or other scope boundary.\nC:H - The attacker controls a sequential kernel slab out-of-bounds write that can corrupt adjacent objects and plausibly enable kernel code execution and arbitrary memory disclosure.\nI:H - The attacker-controlled 64-bit overwrite can corrupt kernel objects, pointers, or control data, making arbitrary modification and control-flow hijacking defensible.\nA:H - The reproduced slab out-of-bounds write can cause an immediate kernel oops or panic, and malformed volumes can trigger it repeatedly when mounted."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T04:55:33.145Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"5.15.212"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.1.178"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.6.145"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.12.96"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.18.39"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.1.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-64432","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T15:40:33.822171Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","lang":"en","type":"CWE","description":"CWE-787 Out-of-bounds Write"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T20:38:28.427Z"}}]}}}