5.5medium
perf/x86/amd/core: Always clear status for idx
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 7685665c390dc68c2d9a74e8445f41494cc8f6cf before ab33a8f7649b0324639a336e1081aaea51a4523e, from 7685665c390dc68c2d9a74e8445f41494cc8f6cf before 9d4c7b1f12e101d6d6253092588b127416ddfb6c, from 7685665c390dc68c2d9a74e8445f41494cc8f6cf before 263f5ecaf7080513efc248ec739b6d9e00f4129f, 5.19 Not affected: before 5.19, from 6.1.22 up to 6.1.*, from 6.2.9 up to 6.2.*, from 6.3 up to * | CVE List |
| linux linux_kernel | from 5.19 before 6.1.22, from 6.2 before 6.2.9, 6.3 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: perf/x86/amd/core: Siempre borrar el estado de idx. La variable 'status' (que contiene los bits de desbordamiento no controlados) no se enmascara correctamente en algunos casos, mostrando la siguiente advertencia: ADVERTENCIA: CPU: 156 PID: 475601 en arch/x86/events/amd/core.c:972 amd_pmu_v2_handle_irq+0x216/0x270. Esto parece estar sucediendo porque el bucle continúa antes de que se desactive el bit de estado, en caso de que x86_perf_event_set_period() devuelva 0. Esto también causa una inconsistencia porque el contador "controlado" se incrementa, pero el bit de estado no se limpia. Mueva la limpieza de bits junto arriba, junto cuando se incrementa el contador "controlado".
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-53073 changed 2026-11-05 | CVE Terms of Use |
| NVD | CVE-2023-53073 changed 2026-11-05 | Public domain |