Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-31782

published high CVSS 3.1 · 7.8

perf/x86: Fix potential bad container_of in intel_pmu_hw_config

Published
01 May 2026, 14:15:08 UTC
Updated
05 Aug 2026, 12:25:09 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

1

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.

Affected vendor and product assertions
VendorProductVersion statusSource
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

0

No weakness assertions.

References

3

Provider assertions

1

Linux · 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

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected