CVE-2026-53370

perf/x86/intel: Improve validation and configuration of ACR masks

Published Jul 19, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

perf/x86/intel: Improve validation and configuration of ACR masks

Currently there are several issues on the user space ACR mask validation
and configuration.
- The validation for user space ACR mask (attr.config2) is incomplete,
e.g., the ACR mask could include the index which belongs to another
ACR events group, but it's not validated.
- An early return on an invalid ACR mask caused all subsequent ACR groups
to be skipped.
- The stale hardware ACR mask (hw.config1) is not cleared before setting
new hardware ACR mask.

The following changes address all of the above issues.
- Figure out the event index group of an ACR group. Any bits in the
user-space mask not present in the index group are now dropped.
- Instead of an early return on invalid bits, drop only the invalid
portions and continue iterating through all ACR events to ensure full
configuration.
- Explicitly clear the stale hardware ACR mask for each event prior to
writing the new configuration.

Besides, a non-leader event member of ACR group could be disabled in
theory. This could cause bit-shifting errors in the acr_mask of remaining
group members. But since ACR sampling requires all events to be active,
this should not be a big concern in real use case. Add a "FIXME" comment
to notice this risk.

Analysis

AI-generated

Technical impact

The Linux kernel’s perf subsystem accepts an ACR mask from user space without fully validating the mask. This flaw is classified as a CWE-184 vulnerability, which involves incorrect modification of a resource that already holds a valid value. The vulnerability allows an attacker to supply a malformed mask that contains bits belonging to other ACR event groups. The kernel previously returned early on detection of such invalid bits, which caused all subsequent ACR groups to be skipped. Additionally, the stale hardware mask was not cleared before writing a new configuration, potentially leaving legacy settings in place. These issues could lead to incorrect or missing performance counter data, disrupt workload monitoring, or in the worst case cause kernel failures or denial of service. The patch drops unsupported bits, continues processing remaining groups, and clears stale hardware masks, preventing the problematic behavior.

Affected Systems

Hosts running the Linux kernel are affected. The advisory does not list specific kernel versions; any deployment using the current kernel configuration without the fix is vulnerable.

Risk and Exploitability

The CVSS score of 5.5 places this vulnerability at moderate severity. The EPSS score of less than 1% indicates a very low probability of exploitation. The vulnerability is listed as not in the CISA KEV catalog. Based on the description, it is inferred that the likely attack vector is local; a user with permission to invoke perf_event_open can supply an invalid ACR mask, invoking the flaw. No privilege escalation or remote exploitation is required or documented. Given the low exploitation probability and moderate impact, the risk is considered low to moderate for most environments.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that incorporates the patch commit 5ad732a56be46aabf158c16aa0c095291727aaef, which corrects ACR mask validation and clears stale hardware masks.
  • If an immediate kernel upgrade is not possible, restrict use of perf_event_open by applying a seccomp filter or kernel configuration that blocks unsupported ACR mask processing for untrusted users, thereby preventing malformed masks from reaching the kernel.
  • Remove or disable any custom performance counter configurations in user applications that rely on ACR masks until the kernel is patched, to avoid accidental creation of invalid masks.

Generated by OpenCVE AI on August 12, 2026 at 09:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8663-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8664-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-184
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: perf/x86/intel: Improve validation and configuration of ACR masks Currently there are several issues on the user space ACR mask validation and configuration. - The validation for user space ACR mask (attr.config2) is incomplete, e.g., the ACR mask could include the index which belongs to another ACR events group, but it's not validated. - An early return on an invalid ACR mask caused all subsequent ACR groups to be skipped. - The stale hardware ACR mask (hw.config1) is not cleared before setting new hardware ACR mask. The following changes address all of the above issues. - Figure out the event index group of an ACR group. Any bits in the user-space mask not present in the index group are now dropped. - Instead of an early return on invalid bits, drop only the invalid portions and continue iterating through all ACR events to ensure full configuration. - Explicitly clear the stale hardware ACR mask for each event prior to writing the new configuration. Besides, a non-leader event member of ACR group could be disabled in theory. This could cause bit-shifting errors in the acr_mask of remaining group members. But since ACR sampling requires all events to be active, this should not be a big concern in real use case. Add a "FIXME" comment to notice this risk.
Title perf/x86/intel: Improve validation and configuration of ACR masks
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Jul 19, 2026, 9:10 AM
Reserved
Jun 9, 2026, 7:44 AM
Status
Analyzed
Published
Jul 19, 2026, 9:17 AM
Modified
Jul 29, 2026, 4:55 PM
Severity
Low
Public date
Jul 19, 2026, 12:00 AM