{
  "id": "CVE-2026-64036",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64036",
  "published_at": "2026-07-19T15:39:24.783Z",
  "title": "cgroup/rstat: validate cpu before css_rstat_cpu() access",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/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\ncgroup/rstat: validate cpu before css_rstat_cpu() access\n\ncss_rstat_updated() is exposed as a BPF kfunc and accepts a\ncaller-provided cpu argument. The function uses cpu for per-cpu rstat\nlookups without checking whether it refers to a valid possible CPU.\n\nA BPF iter/cgroup program with CAP_BPF and CAP_PERFMON can pass an\ninvalid cpu value. On an unfixed UBSCAN_BOUNDS test kernel, cpu ==\n0x7fffffff triggers:\n\n  UBSAN: array-index-out-of-bounds in kernel/cgroup/rstat.c:31:9\n  index 2147483647 is out of range for type 'long unsigned int [64]'\n  Call Trace:\n    css_rstat_updated\n    bpf_iter_run_prog\n    cgroup_iter_seq_show\n    bpf_seq_read\n\nAdd cpu validation to the BPF-facing css_rstat_updated() kfunc and\nmove the common implementation to __css_rstat_updated() for in-kernel\ncallers.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= a319185be9f5ad13c2a296d448ac52ffe45d194c, \u003c ee5afb74688aa6f1f16d8c7e7b6bfaf803fb62fc",
          "\u003e= a319185be9f5ad13c2a296d448ac52ffe45d194c, \u003c b28b862b07257219755d0b0a7fbe5d23b7c9ea91",
          "\u003e= a319185be9f5ad13c2a296d448ac52ffe45d194c, \u003c 3d595affbe00a2e8bf43b9f2947a8efcdc1c059e",
          "\u003e= a319185be9f5ad13c2a296d448ac52ffe45d194c, \u003c 6a01413a4e8fcb0263d7bef5075c5f8f4eb3a8b6",
          "\u003e= a319185be9f5ad13c2a296d448ac52ffe45d194c, \u003c fd2bd9fa7700ddf28296486b2598cff2f80cc819",
          "\u003e= a319185be9f5ad13c2a296d448ac52ffe45d194c, \u003c 8817005efbdfdf5d4e4814cb5dc52b53d12917d7"
        ],
        "fixed_in": [
          "ee5afb74688aa6f1f16d8c7e7b6bfaf803fb62fc",
          "b28b862b07257219755d0b0a7fbe5d23b7c9ea91",
          "3d595affbe00a2e8bf43b9f2947a8efcdc1c059e",
          "6a01413a4e8fcb0263d7bef5075c5f8f4eb3a8b6",
          "fd2bd9fa7700ddf28296486b2598cff2f80cc819",
          "8817005efbdfdf5d4e4814cb5dc52b53d12917d7"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.1"
        ],
        "fixed_in": [
          "0",
          "6.1.191",
          "6.6.160",
          "6.12.114",
          "6.18.34",
          "7.0.11",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to ee5afb74688aa6f1f16d8c7e7b6bfaf803fb62fc or b28b862b07257219755d0b0a7fbe5d23b7c9ea91 or 3d595affbe00a2e8bf43b9f2947a8efcdc1c059e or 6a01413a4e8fcb0263d7bef5075c5f8f4eb3a8b6 or fd2bd9fa7700ddf28296486b2598cff2f80cc819 or 8817005efbdfdf5d4e4814cb5dc52b53d12917d7 or later.",
      "Upgrade Linux to 0 or 6.1.191 or 6.6.160 or 6.12.114 or 6.18.34 or 7.0.11 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
