fs/ntfs3: validate dirty page table on log replay
In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: validate dirty page table on log replay Each DIR_PAGE_ENTRY ends in a page_lcns[] array whose length is the on-disk lcns_follow field. check_rstbl() validates the table bookkeeping but never checks that this array fits in the entry, so a crafted lcns_follow lets the v0->v1 conversion memmove and later replay passes run off the entry. Add check_dp_table() to reject, right after check_rstbl(), any entry larger than its size claims via struct_size() (the same expression used to allocate these entries, so the check is overflow-safe by construction). All consumers can then trust lcns_follow as the real capacity. This covers every page_lcns[] access whose index is bounded by the entry itself (the conversion memmove, the HotFix store via find_dp(), and the self-bounded scan loops). Accesses whose index comes from the log record need a separate bound and are handled in a follow-up patch.
CVE-2026-89617
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-89617
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": "0e07ea2fc45a7b4757ef7bf1f692cc0180a08323",
"versionType": "git"
},
{
"status": "affected",
"version": "b46acd6a6a627d876898e1c84d3f84902264b445",
"lessThan": "1e90b1703ee1a04cd3e9e399353fc536f5f3ba10",
"versionType": "git"
},
{
"status": "affected",
"version": "b46acd6a6a627d876898e1c84d3f84902264b445",
"lessThan": "d23155634a4bc1183e761d5eb2c043b2e693cc98",
"versionType": "git"
},
{
"status": "affected",
"version": "b46acd6a6a627d876898e1c84d3f84902264b445",
"lessThan": "1200c2779c43b62656ccbb67df9468a7a9af2484",
"versionType": "git"
},
{
"status": "affected",
"version": "b46acd6a6a627d876898e1c84d3f84902264b445",
"lessThan": "2d94ffc9d7b5bb3517b129fe63b52d84bcd4ae56",
"versionType": "git"
},
{
"status": "affected",
"version": "b46acd6a6a627d876898e1c84d3f84902264b445",
"lessThan": "0908da07c23be4f94b99dfd9a94765525f0fe4bd",
"versionType": "git"
},
{
"status": "affected",
"version": "b46acd6a6a627d876898e1c84d3f84902264b445",
"lessThan": "006cb7713dec10368e699abc4367e5faa334c9a5",
"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.221",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.188",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.157",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.109",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.50",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.4",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"fs/ntfs3/fslog.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-89617
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #35124 · Revision 1
- Added to Heist Feed
- Publisher date