CVE-2023-53073

perf/x86/amd/core: Always clear status for idx

published May 2, 2025

CVSS
—
EPSS
0%
Percentile
9.2
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

perf/x86/amd/core: Always clear status for idx

The variable 'status' (which contains the unhandled overflow bits) is

not being properly masked in some cases, displaying the following

warning:

WARNING: CPU: 156 PID: 475601 at arch/x86/events/amd/core.c:972 amd_pmu_v2_handle_irq+0x216/0x270

This seems to be happening because the loop is being continued before

the status bit being unset, in case x86_perf_event_set_period()

returns 0. This is also causing an inconsistency because the "handled"

counter is incremented, but the status bit is not cleaned.

Move the bit cleaning together above, together when the "handled"

counter is incremented.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00199 · 9.2th percentile
Published
2025-05-02T15:55Z
EPSS history
Timeline
  • 02 MAY 15:55Z
    perf/x86/amd/core: Always clear status for idx
    cvelistv5