{
  "id": "CVE-2026-64533",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64533",
  "published_at": "2026-07-27T06:32:33.74Z",
  "title": "fs/ntfs3: validate lcns_follow in log_replay conversion",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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(\u0026dp-\u003evcn, \u0026dp0-\u003evcn_low,\n\t\t2 * sizeof(u64) +\n\t\t\t\tle32_to_cpu(dp-\u003elcns_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]",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= b46acd6a6a627d876898e1c84d3f84902264b445, \u003c ca343a99806b4fc8e27c48f08be3445c5fcd1445",
          "\u003e= b46acd6a6a627d876898e1c84d3f84902264b445, \u003c ddfc8683e1a627dbf1b83bacf8961443dd654258",
          "\u003e= b46acd6a6a627d876898e1c84d3f84902264b445, \u003c 57c071e2c4f30b9c6f5aacb6679aab1269fbae99",
          "\u003e= b46acd6a6a627d876898e1c84d3f84902264b445, \u003c 159f694d682e4215b3822ae31ed3a4631628fe55",
          "\u003e= b46acd6a6a627d876898e1c84d3f84902264b445, \u003c 7adb38279812c9c06b0e3fa7382f4d7887f3fa2d",
          "\u003e= b46acd6a6a627d876898e1c84d3f84902264b445, \u003c 32b9f8733feb241627fa5f564b1a99b5cae974c5",
          "\u003e= b46acd6a6a627d876898e1c84d3f84902264b445, \u003c 6a4c53a2e26a865565bd6a460961e8d6fcb32329"
        ],
        "fixed_in": [
          "ca343a99806b4fc8e27c48f08be3445c5fcd1445",
          "ddfc8683e1a627dbf1b83bacf8961443dd654258",
          "57c071e2c4f30b9c6f5aacb6679aab1269fbae99",
          "159f694d682e4215b3822ae31ed3a4631628fe55",
          "7adb38279812c9c06b0e3fa7382f4d7887f3fa2d",
          "32b9f8733feb241627fa5f564b1a99b5cae974c5",
          "6a4c53a2e26a865565bd6a460961e8d6fcb32329"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.15"
        ],
        "fixed_in": [
          "0",
          "5.15.212",
          "6.1.178",
          "6.6.145",
          "6.12.97",
          "6.18.40",
          "7.1.5",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to ca343a99806b4fc8e27c48f08be3445c5fcd1445 or ddfc8683e1a627dbf1b83bacf8961443dd654258 or 57c071e2c4f30b9c6f5aacb6679aab1269fbae99 or 159f694d682e4215b3822ae31ed3a4631628fe55 or 7adb38279812c9c06b0e3fa7382f4d7887f3fa2d or 32b9f8733feb241627fa5f564b1a99b5cae974c5 or 6a4c53a2e26a865565bd6a460961e8d6fcb32329 or later.",
      "Upgrade Linux to 0 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
