CVE-2026-31782
JSON

7.8high

perf/x86: Fix potential bad container_of in intel_pmu_hw_config

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.13% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 6.16.1 before 6.18.22, from 6.19 before 6.19.12, 6.16, 7.0NVD

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: perf/x86: Corregir un potencial ’container_of’ incorrecto en ’intel_pmu_hw_config’ La recarga automática del contador puede tener un grupo de eventos con eventos de software presentes en él. La PMU de eventos de software no es la ’x86_hybrid_pmu’ y una operación ’container_of’ en ’intel_pmu_set_acr_caused_constr’ (a través del asistente híbrido) podría causar lecturas de memoria fuera de límites. Evitar esto protegiendo la llamada a ’intel_pmu_set_acr_caused_constr’ con una verificación ’is_x86_event’.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31782 changed 2026-08-05CVE Terms of Use
NVDCVE-2026-31782 changed 2026-11-11Public domain