CVE-2026-31782

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinuxec980e4facef8110f6fce27e5b6344660117f01f < e435a30ca6fe14c9611b1fc731c98a6d28410247affected
LinuxLinuxec980e4facef8110f6fce27e5b6344660117f01f < bfee04838f636d064bc92075c65c95f739003804affected
LinuxLinuxec980e4facef8110f6fce27e5b6344660117f01f < dbde07f06226438cd2cf1179745fa1bec5d8914aaffected
LinuxLinux6.16affected
LinuxLinux0 < 6.16unaffected
LinuxLinux6.18.22 <= 6.18.*unaffected
LinuxLinux6.19.12 <= 6.19.*unaffected
LinuxLinux7.0 <= *unaffected

Weaknesses

References