What’s Vulnerable › Vulnerabilities
CVE-2026-31782: perf/x86: Fix potential bad container_of in intel_pmu_hw_config
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-01 · updated 2026-06-17
- Weakness: CWE-125
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.
Affected products
- Linux kernel: from 6.16.1 before 6.18.22; from 6.19 before 6.19.12; 6.16, 7.0-rc1, 7.0-rc2, 7.0-rc3, 7.0-rc4, 7.0-rc5 (+1) — fixed in 6.18.22, 6.19.12
How to fix
Upgrade to a fixed version: Linux kernel 6.18.22, 6.19.12. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/bfee04838f636d064bc92075c65c95f739003804
- https://git.kernel.org/stable/c/dbde07f06226438cd2cf1179745fa1bec5d8914a
- https://git.kernel.org/stable/c/e435a30ca6fe14c9611b1fc731c98a6d28410247
Get alerted when CVE-2026-31782 or the next vulnerability affects your stack