{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "e13db55b5a0d447dea63cde772c1078405bbbf96"
            },
            {
              "fixed": "ebc300b7ee0c669fa76a7a8858298ff32e296103"
            },
            {
              "fixed": "be1567992417dc92133e74126de7a6066c825ac9"
            },
            {
              "fixed": "58c5ec23b1a238eb75cb0aba6f69d8f9e68ef0b2"
            },
            {
              "fixed": "fc16126cc11d9f507130bf84ab137ee0938c900e"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.11.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-64477.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nx86,fs/resctrl: Prevent out-of-bounds access while offlining CPU when SNC enabled\n\nThe architecture updates the cpu_mask in a domain's header to track which\nonline CPUs are associated with the domain. When this mask becomes empty\nthe architecture initiates offline of the domain that includes calling\non resctrl fs to offline the domain. If it is a monitoring domain in\nwhich LLC occupancy is tracked resctrl fs forces the limbo handler to\nclear all busy RMID state associated with the domain.\n\nThe limbo handler always reads the current event value associated with a\nbusy RMID irrespective of it being checked as part of regular \"is it still\nbusy\" check or whether it will be forced released anyway. When reading an\nRMID on a system with SNC enabled the \"logical RMID\" is converted to the\n\"physical RMID\" and this conversion requires the NUMA node ID of the\nresctrl monitoring domain that is in turn determined by querying the NUMA\nnode ID of any CPU belonging to the monitoring domain.\n\nWhen the monitoring domain is going offline its cpu_mask is empty causing\nthe NUMA node ID query via cpu_to_node() to be done with \"nr_cpu_ids\" as\nargument resulting in an out-of-bounds access.\n\nRefactor the limbo handler to skip reading the RMID when the RMID will\njust be forced to no longer be dirty in the domain anyway. Add a safety\ncheck to the architecture's RMID reader to protect against this scenario.",
  "id": "CVE-2026-64477",
  "modified": "2026-07-27T03:56:34.074593511Z",
  "published": "2026-07-25T08:51:39.558Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/58c5ec23b1a238eb75cb0aba6f69d8f9e68ef0b2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/be1567992417dc92133e74126de7a6066c825ac9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ebc300b7ee0c669fa76a7a8858298ff32e296103"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fc16126cc11d9f507130bf84ab137ee0938c900e"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64477.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-64477"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.8.0",
  "summary": "x86,fs/resctrl: Prevent out-of-bounds access while offlining CPU when SNC enabled"
}