← CVE Intelligence

CVE-2026-31782

perf/x86: Fix potential bad container_of in intel_pmu_hw_config PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected ec980e4facef8110f6fce27e5b6344660117f01f before e435a30ca6fe14c9611b1fc731c98a6d28410247; affected ec980e4facef8110f6fce27e5b6344660117f01f before bfee04838f636d064bc92075c65c95f739003804; affected ec980e4facef8110f6fce27e5b6344660117f01f before dbde07f06226438cd2cf1179745fa1bec5d8914a
Linux / Linuxaffected 6.16; unaffected 0 before 6.16; unaffected 6.18.22 through 6.18.*; unaffected 6.19.12 through 6.19.*; unaffected 7.0 through *

CWE

No CWE identifiers supplied.

References