CVE-2026-64533

Source
https://cve.org/CVERecord?id=CVE-2026-64533
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64533.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64533
Downstream
Published
2026-07-27T06:32:33.740Z
Modified
2026-07-29T03:30:46.685862343Z
Summary
fs/ntfs3: validate lcns_follow in log_replay conversion
Details

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

fs/ntfs3: validate lcnsfollow in logreplay conversion

logreplay() converts DIRPAGEENTRY32 records into DIRPAGEENTRY records when replaying version 0 restart tables.

During this conversion, the memmove() length is derived directly from the on-disk lcns_follow field:

memmove(&dp->vcn, &dp0->vcn_low,
    2 * sizeof(u64) +
            le32_to_cpu(dp->lcns_follow) * sizeof(u64));

checkrstbl() validates restart table structure, but does not constrain per-entry lcnsfollow values relative to the entry size. A malformed filesystem image can provide an oversized lcns_follow value, causing the conversion memmove() to access memory beyond the bounds of the allocated restart table buffer.

The same field is later used to bound iteration over pagelcns[], so validating lcnsfollow during conversion also prevents downstream out-of-bounds access from the same malformed metadata.

Compute the maximum valid lcnsfollow from the already-validated restart table entry size and reject entries that exceed this bound. Reuse the existing t16/t32 scratch variables already declared in logreplay() to avoid introducing new declarations.

[almaz.alexandrovich@paragon-software.com: fixed the conflicts]

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64533.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b46acd6a6a627d876898e1c84d3f84902264b445
Fixed
ca343a99806b4fc8e27c48f08be3445c5fcd1445
Fixed
ddfc8683e1a627dbf1b83bacf8961443dd654258
Fixed
57c071e2c4f30b9c6f5aacb6679aab1269fbae99
Fixed
159f694d682e4215b3822ae31ed3a4631628fe55
Fixed
7adb38279812c9c06b0e3fa7382f4d7887f3fa2d
Fixed
32b9f8733feb241627fa5f564b1a99b5cae974c5
Fixed
6a4c53a2e26a865565bd6a460961e8d6fcb32329

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64533.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.15.0
Fixed
5.15.212
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64533.json"