CVE-2023-53073

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

State
Published
Severity
Not scored
Published
May 2, 2025
Updated
May 11, 2026
Reserved
May 2, 2025

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7685665c390dc68c2d9a74e8445f41494cc8f6cf to before ab33a8f7649b0324639a336e1081aaea51a4523eAffected
  • 7685665c390dc68c2d9a74e8445f41494cc8f6cf to before 9d4c7b1f12e101d6d6253092588b127416ddfb6cAffected
  • 7685665c390dc68c2d9a74e8445f41494cc8f6cf to before 263f5ecaf7080513efc248ec739b6d9e00f4129fAffected
LinuxLinux
  • 5.19Affected
  • before 5.19Not affected
  • 6.1.22 through 6.1.*Not affected
  • 6.2.9 through 6.2.*Not affected
  • 6.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.