{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "966ceafc7a437105ecfe1cadb3747b2965a260ca"
            },
            {
              "fixed": "c597c8580d50127fc1221b5a5b653a94d49e23e3"
            },
            {
              "fixed": "a62ef2d13d6e7270dd5e88c6082bf2d0edcd5112"
            },
            {
              "fixed": "4707344b0d36d1012c8a1716e20167cd3afdd5f1"
            },
            {
              "fixed": "0a5213bbff62b51c7d4999ac8c7e11ea57d00d45"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.10.0"
            },
            {
              "fixed": "6.12.96"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.39"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64357.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: fix exchmaps reservation limit check\n\nxfs_exchmaps_estimate_overhead() adds the bmbt and rmapbt\noverhead to a local resblks variable, but the final UINT_MAX\ncheck still tests req-\u003eresblks.  That is the reservation value\nfrom before the overhead was added.\n\nThe computed value is stored back in req-\u003eresblks and later passed\nto xfs_trans_alloc(), whose block reservation argument is unsigned\nint.  Check the computed reservation so the existing limit applies\nto the value that will be used.",
  "id": "CVE-2026-64357",
  "modified": "2026-07-27T03:56:23.597838820Z",
  "published": "2026-07-25T08:50:14.676Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0a5213bbff62b51c7d4999ac8c7e11ea57d00d45"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4707344b0d36d1012c8a1716e20167cd3afdd5f1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a62ef2d13d6e7270dd5e88c6082bf2d0edcd5112"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c597c8580d50127fc1221b5a5b653a94d49e23e3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64357.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-64357"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.8.0",
  "summary": "xfs: fix exchmaps reservation limit check"
}