fs/ntfs3: validate Dirty Page Table capacity in log_replay copy_lcns
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").
CVE-2026-64432
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-64432
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "b46acd6a6a627d876898e1c84d3f84902264b445",
"lessThan": "964c3fae1dfc49dde5468eace940f199cda234e9",
"versionType": "git"
},
{
"status": "affected",
"version": "b46acd6a6a627d876898e1c84d3f84902264b445",
"lessThan": "3aa96956ca2200674e2a8f9c23ec6ecd45e5010f",
"versionType": "git"
},
{
"status": "affected",
"version": "b46acd6a6a627d876898e1c84d3f84902264b445",
"lessThan": "946046841013ebac8492ef49651c53638d7a9a6a",
"versionType": "git"
},
{
"status": "affected",
"version": "b46acd6a6a627d876898e1c84d3f84902264b445",
"lessThan": "c6f9e804f73ef809529865fbc7256dd189ff8c33",
"versionType": "git"
},
{
"status": "affected",
"version": "b46acd6a6a627d876898e1c84d3f84902264b445",
"lessThan": "cf28fc1658463d768657cf1c27a83980d4ba7ef2",
"versionType": "git"
},
{
"status": "affected",
"version": "b46acd6a6a627d876898e1c84d3f84902264b445",
"lessThan": "f433acc85b86f327d03ba8b03a33c105c51053de",
"versionType": "git"
},
{
"status": "affected",
"version": "b46acd6a6a627d876898e1c84d3f84902264b445",
"lessThan": "57382ec6ac63b63dce2789e835fded28b698ae79",
"versionType": "git"
}
],
"programFiles": [
"fs/ntfs3/fslog.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.15"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.15",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.15.212",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.178",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.145",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.96",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.39",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.1.4",
"versionType": "semver",
"lessThanOrEqual": "7.1.*"
},
{
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"fs/ntfs3/fslog.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-64432
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #41039 · Revision 1
- Added to Heist Feed
- Publisher date