CVE-2026-31782
published high CVSS 3.1 · 7.8perf/x86: Fix potential bad container_of in intel_pmu_hw_config
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxec980e4facef8110f6fce27e5b6344660117f01f to < e435a30ca6fe14c9611b1fc731c98a6d28410247 · ec980e4facef8110f6fce27e5b6344660117f01f to < bfee04838f636d064bc92075c65c95f739003804 · ec980e4facef8110f6fce27e5b6344660117f01f to < dbde07f06226438cd2cf1179745fa1bec5d8914a · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.16 (affected) · 0 to < 6.16 (unaffected · semver) · 6.18.22 through 6.18.* (unaffected · semver) · 6.19.12 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1746 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | kernel6.18aarch64 | Listed in advisory | Not stated | ALAS2023-2026-1746 |
| Amazon Linux | AL2023 | kernel6.18src | Listed in advisory | Not stated | ALAS2023-2026-1746 |
| Amazon Linux | AL2023 | kernel6.18x86_64 | Listed in advisory | Not stated | ALAS2023-2026-1746 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable path is reached through the local perf_event_open() syscall by creating a crafted perf hardware event group containing a software event. AC:L - An attacker controls the event group layout and acr_mask/config2 values needed to hit the bad sibling handling; no race or victim-controlled timing is required. PR:L - A basic local user can reach per-task perf events, especially with user-only sampling attributes such as exclude_kernel set; system-wide or kernel profiling privileges are not required for the vulnerable initialization path. UI:N - No victim action is needed beyond the attacker issuing perf_event_open() calls. S:U - The bug is in the kernel perf/x86 subsystem and impacts the same kernel security authority, with no VM, IOMMU, or sandbox boundary change. C:H - The bug performs an out-of-bounds kernel memory read by treating a software PMU as an x86_hybrid_pmu through container_of; under the required conservative scoring, this kernel OOB read is high confidentiality impact. I:H - The bad container_of is a kernel type-confusion-style memory safety flaw in perf event group configuration; conservatively, such corruption of kernel object interpretation is scored as potentially allowing high integrity impact. A:H - The crafted event group can repeatedly trigger the invalid kernel memory access from an unprivileged local context, which can produce a kernel fault/oops or panic on affected builds.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | ec980e4facef8110f6fce27e5b6344660117f01f to < e435a30ca6fe14c9611b1fc731c98a6d28410247 (affected · git)ec980e4facef8110f6fce27e5b6344660117f01f to < bfee04838f636d064bc92075c65c95f739003804 (affected · git)ec980e4facef8110f6fce27e5b6344660117f01f to < dbde07f06226438cd2cf1179745fa1bec5d8914a (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.16 (affected)0 to < 6.16 (unaffected · semver)6.18.22 through 6.18.* (unaffected · semver)6.19.12 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
perf/x86: Fix potential bad container_of in intel_pmu_hw_config
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 05bc099bab74ae7f4736a38de120dee484cca0aedcc76e71738eb17f5268c6d8
- Ingested
- 23 Sep 2026, 09:09:43 UTC
- Source record
- Official CVE record