# CVE-2026-31782: perf/x86: Fix potential bad container_of in intel_pmu_hw_config

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-01T14:15:08.586Z
- Modified: 2026-11-11T21:10:00.200Z
- Weaknesses: CWE-125
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

perf/x86: Fix potential bad container_of in intel_pmu_hw_config

Auto counter reload may have a group of events with software events
present within it. The software event PMU isn't the x86_hybrid_pmu and
a container_of operation in intel_pmu_set_acr_caused_constr (via the
hybrid helper) could cause out of bound memory reads. Avoid this by
guarding the call to intel_pmu_set_acr_caused_constr with an
is_x86_event check.

(As written by CVE List.)

## Affected

- Linux Linux: from ec980e4facef8110f6fce27e5b6344660117f01f before e435a30ca6fe14c9611b1fc731c98a6d28410247; from ec980e4facef8110f6fce27e5b6344660117f01f before bfee04838f636d064bc92075c65c95f739003804; from ec980e4facef8110f6fce27e5b6344660117f01f before dbde07f06226438cd2cf1179745fa1bec5d8914a; 6.16 (not affected: before 6.16; from 6.18.22 up to 6.18.*; from 6.19.12 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.16.1 before 6.18.22; from 6.19 before 6.19.12; 6.16; 7.0

## References

- <https://git.kernel.org/stable/c/e435a30ca6fe14c9611b1fc731c98a6d28410247> (patch)
- <https://git.kernel.org/stable/c/bfee04838f636d064bc92075c65c95f739003804> (patch)
- <https://git.kernel.org/stable/c/dbde07f06226438cd2cf1179745fa1bec5d8914a> (patch)

## Sources

- CVE List: [CVE-2026-31782](https://www.cve.org/CVERecord?id=CVE-2026-31782), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-31782](https://nvd.nist.gov/vuln/detail/CVE-2026-31782), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-31782 · Whole record: https://cve.day/CVE-2026-31782.json · Rebuilt by cve.day 2026-11-25T22:59:20.385Z
