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.
Published: 2026-07-19
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

Generated by OpenCVE AI on July 30, 2026 at 22:38 UTC.

Remediation

No vendor fix or workaround currently provided.

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 July 30, 2026 at 22:38 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
History

Tue, 21 Jul 2026 00:15:00 +0000

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


Sun, 19 Jul 2026 09:15:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-19T09:10:30.990Z

Reserved: 2026-06-09T07:44:35.401Z

Link: CVE-2026-53370

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Low

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-53370 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T22:45:04Z

Weaknesses
  • CWE-184

    Incomplete List of Disallowed Inputs