CVE-2026-53370: perf/x86/intel: Improve validation and configuration of ACR masks
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 acrmask 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.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-53370?
The severity of CVE-2026-53370 is rated at risk 27.
How do I fix CVE-2026-53370?
To fix CVE-2026-53370, users should update to the latest patched version of the Linux kernel.
What are the impacts of CVE-2026-53370?
CVE-2026-53370 can lead to incomplete validation of user space ACR masks, potentially causing misconfigurations.
Which software is affected by CVE-2026-53370?
CVE-2026-53370 affects the Linux kernel.
When was CVE-2026-53370 published?
CVE-2026-53370 was published on July 19, 2026.