{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-64533","id":"CVE-2026-64533","title":"fs/ntfs3: validate lcns_follow in log_replay conversion","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: validate lcns_follow in log_replay conversion\n\nlog_replay() converts DIR_PAGE_ENTRY_32 records into DIR_PAGE_ENTRY\nrecords when replaying version 0 restart tables.\n\nDuring this conversion, the memmove() length is derived directly from\nthe on-disk lcns_follow field:\n\n\tmemmove(&dp->vcn, &dp0->vcn_low,\n\t\t2 * sizeof(u64) +\n","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: validate lcns_follow in log_replay conversion\n\nlog_replay() converts DIR_PAGE_ENTRY_32 records into DIR_PAGE_ENTRY\nrecords when replaying version 0 restart tables.\n\nDuring this conversion, the memmove() length is derived directly from\nthe on-disk lcns_follow field:\n\n\tmemmove(&dp->vcn, &dp0->vcn_low,\n\t\t2 * sizeof(u64) +\n\t\t\t\tle32_to_cpu(dp->lcns_follow) * sizeof(u64));\n\ncheck_rstbl() validates restart table structure, but does not constrain\nper-entry lcns_follow values relative to the entry size. A malformed\nfilesystem image can provide an oversized lcns_follow value, causing\nthe conversion memmove() to access memory beyond the bounds of the\nallocated restart table buffer.\n\nThe same field is later used to bound iteration over page_lcns[],\nso validating lcns_follow during conversion also prevents downstream\nout-of-bounds access from the same malformed metadata.\n\nCompute the maximum valid lcns_follow from the already-validated\nrestart table entry size and reject entries that exceed this bound.\nReuse the existing t16/t32 scratch variables already declared in\nlog_replay() to avoid introducing new declarations.\n\n[almaz.alexandrovich@paragon-software.com: fixed the conflicts]","published":"2026-07-27T06:32:33.740Z","updated":"2026-11-17T19:45:50.273595215Z","reserved":"2026-07-19T15:36:31.795Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","lessThan":"ca343a99806b4fc8e27c48f08be3445c5fcd1445","status":"affected","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","lessThan":"ddfc8683e1a627dbf1b83bacf8961443dd654258","status":"affected","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","lessThan":"57c071e2c4f30b9c6f5aacb6679aab1269fbae99","status":"affected","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","lessThan":"159f694d682e4215b3822ae31ed3a4631628fe55","status":"affected","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","lessThan":"7adb38279812c9c06b0e3fa7382f4d7887f3fa2d","status":"affected","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","lessThan":"32b9f8733feb241627fa5f564b1a99b5cae974c5","status":"affected","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","lessThan":"6a4c53a2e26a865565bd6a460961e8d6fcb32329","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","lessThan":"5.15","status":"unaffected","versionType":"semver"},{"version":"5.15.212","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.178","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.145","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.97","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.40","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.1.5","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-787"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/ca343a99806b4fc8e27c48f08be3445c5fcd1445","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ddfc8683e1a627dbf1b83bacf8961443dd654258","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/57c071e2c4f30b9c6f5aacb6679aab1269fbae99","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/159f694d682e4215b3822ae31ed3a4631628fe55","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/7adb38279812c9c06b0e3fa7382f4d7887f3fa2d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/32b9f8733feb241627fa5f564b1a99b5cae974c5","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6a4c53a2e26a865565bd6a460961e8d6fcb32329","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64533.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64533","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.0014,"epssPercentile":0.03415,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-64533","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64533","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-64533","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-64533","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}