CVE-2026-31782: perf/x86: Fix potential bad container_of in intel_pmu_hw_config
In the Linux kernel, the following vulnerability has been resolved:
perf/x86: Fix potential bad containerof in intelpmuhwconfig
Auto counter reload may have a group of events with software events present within it. The software event PMU isn't the x86hybridpmu and a containerof operation in intelpmusetacrcausedconstr (via the hybrid helper) could cause out of bound memory reads. Avoid this by guarding the call to intelpmusetacrcausedconstr with an isx86event check.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-31782?
CVE-2026-31782 has been assessed to have moderate severity.
How do I fix CVE-2026-31782?
To fix CVE-2026-31782, update your Linux kernel to the latest stable version that addresses this vulnerability.
What are the potential impacts of CVE-2026-31782?
The potential impacts of CVE-2026-31782 include stability issues due to improper handling of software events in hardware performance counters.
Which versions of the Linux kernel are affected by CVE-2026-31782?
CVE-2026-31782 affects specific versions of the Linux kernel that utilize the Intel PMU for performance monitoring.
Is CVE-2026-31782 under active exploitation?
As of now, there is no known active exploitation of CVE-2026-31782 reported.