{
  "id": "CVE-2026-31782",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31782",
  "published_at": "2026-05-01T14:15:08.586Z",
  "title": "perf/x86: Fix potential bad container_of in intel_pmu_hw_config",
  "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\nperf/x86: Fix potential bad container_of in intel_pmu_hw_config\n\nAuto counter reload may have a group of events with software events\npresent within it. The software event PMU isn't the x86_hybrid_pmu and\na container_of operation in intel_pmu_set_acr_caused_constr (via the\nhybrid helper) could cause out of bound memory reads. Avoid this by\nguarding the call to intel_pmu_set_acr_caused_constr with an\nis_x86_event check.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= ec980e4facef8110f6fce27e5b6344660117f01f, \u003c e435a30ca6fe14c9611b1fc731c98a6d28410247",
          "\u003e= ec980e4facef8110f6fce27e5b6344660117f01f, \u003c bfee04838f636d064bc92075c65c95f739003804",
          "\u003e= ec980e4facef8110f6fce27e5b6344660117f01f, \u003c dbde07f06226438cd2cf1179745fa1bec5d8914a"
        ],
        "fixed_in": [
          "e435a30ca6fe14c9611b1fc731c98a6d28410247",
          "bfee04838f636d064bc92075c65c95f739003804",
          "dbde07f06226438cd2cf1179745fa1bec5d8914a"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.16"
        ],
        "fixed_in": [
          "0",
          "6.18.22",
          "6.19.12",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to e435a30ca6fe14c9611b1fc731c98a6d28410247 or bfee04838f636d064bc92075c65c95f739003804 or dbde07f06226438cd2cf1179745fa1bec5d8914a or later.",
      "Upgrade Linux to 0 or 6.18.22 or 6.19.12 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
