5.5medium
perf/x86/intel: Fix crash in icl_update_topdown_event()
- 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/intel: Fix crash in icl_update_topdown_event() The perf_fuzzer found a hard-lockup crash on a RaptorLake machine: Oops: general protection fault, maybe for address 0xffff89aeceab400: 0000 CPU: 23 UID: 0 PID: 0 Comm: swapper/23 Tainted: [W]=WARN Hardware name: Dell Inc. Precision 9660/0VJ762 RIP: 0010:native_read_pmc+0x7/0x40 Code: cc e8 8d a9 01 00 48 89 03 5b cd cc cc cc cc 0f 1f ... RSP: 000:fffb03100273de8 EFLAGS: 00010046 .... Call Trace: <TASK> icl_update_topdown_event+0x165/0x190 ? ktime_get+0x38/0xd0 intel_pmu_read_event+0xf9/0x210 __perf_event_read+0xf9/0x210 CPUs 16-23 are E-core CPUs that don't support the perf metrics feature. The icl_update_topdown_event() should not be invoked on these CPUs. It's a regression of commit: f9bdf1f95339 ("perf/x86/intel: Avoid disable PMU if !cpuc->enabled in sample read") The bug introduced by that commit is that the is_topdown_event() function is mistakenly used to replace the is_topdown_count() call to check if the topdown functions for the perf metrics feature should be invoked. Fix it.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 781b2db0eb7731fbde510c268b7ccc62959c3feb before 702ea6028032d6c1fe96c2d4762a3575e3654819, from e7f6922c8a5b41522a8329ea6bbf815993b2dd28 before 79e2dd573116d3338507c311460da9669095c94d, from 3a8bec6583e5239de3bd597ab382dc6c2b0c29a1 before e97c45c770f5e56c784a46c2a96ab968d26b97d9, from f9bdf1f953392c9edd69a7f884f78c0390127029 before a85cc69acdcb05f8cd226b8ea0778b8e2e887e6f, from f9bdf1f953392c9edd69a7f884f78c0390127029 before b0823d5fbacb1c551d793cbfe7af24e0d1fa45ed, 06cd7bfbb86e9db3e9013ea6636ad2c6f0a1664d, d8370aa704bd7e384918c8f466856374725c0585, from 6.1.134 before 6.1.149 and 5 more Not affected: before 6.15, from 6.1.149 up to 6.1.*, from 6.6.101 up to 6.6.*, from 6.12.49 up to 6.12.*, from 6.15.4 up to 6.15.*, from 6.16 up to * | CVE List |
| linux linux_kernel | from 6.1.134 before 6.1.149, from 6.6.87 before 6.6.101, from 6.12.23 before 6.12.49, from 6.13.11 before 6.14, from 6.14.2 before 6.15.4, 6.16 | NVD |
| debian debian_linux | 11.0 | NVD |
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: perf/x86/intel: Fix crash in icl_update_topdown_event() The perf_fuzzer found a hard-lockup crash on a RaptorLake machine: Oops: general protection fault, maybe for address 0xffff89aeceab400: 0000 CPU: 23 UID: 0 PID: 0 Comm: swapper/23 Tainted: [W]=WARN Hardware name: Dell Inc. Precision 9660/0VJ762 RIP: 0010:native_read_pmc+0x7/0x40 Code: cc e8 8d a9 01 00 48 89 03 5b cd cc cc cc cc 0f 1f ... RSP: 000:fffb03100273de8 EFLAGS: 00010046 .... Call Trace: <TASK> icl_update_topdown_event+0x165/0x190 ? ktime_get+0x38/0xd0 intel_pmu_read_event+0xf9/0x210 __perf_event_read+0xf9/0x210 CPUs 16-23 are E-core CPUs that don't support the perf metrics feature. The icl_update_topdown_event() should not be invoked on these CPUs. It's a regression of commit: f9bdf1f95339 ("perf/x86/intel: Avoid disable PMU if !cpuc->enabled in sample read") The bug introduced by that commit is that the is_topdown_event() function is mistakenly used to replace the is_topdown_count() call to check if the topdown functions for the perf metrics feature should be invoked. Fix it.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: perf/x86/intel: Se corrige un fallo en icl_update_topdown_event(). perf_fuzzer encontró un fallo de bloqueo duro en una máquina RaptorLake: Oops: fallo de protección general, tal vez para la dirección 0xffff89aeceab400: 0000 CPU: 23 UID: 0 PID: 0 Comm: swapper/23 Tainted: [W]=WARN Nombre del hardware: Dell Inc. Precision 9660/0VJ762 RIP: 0010:native_read_pmc+0x7/0x40 Código: cc e8 8d a9 01 00 48 89 03 5b cd cc cc cc cc 0f 1f ... RSP: 000:fffb03100273de8 EFLAGS: 00010046 .... Seguimiento de llamadas: icl_update_topdown_event+0x165/0x190 ? ktime_get+0x38/0xd0 intel_pmu_read_event+0xf9/0x210 __perf_event_read+0xf9/0x210 Las CPU 16-23 son CPU de núcleo E que no admiten la función de métricas de rendimiento. No se debe invocar icl_update_topdown_event() en estas CPU. Es una regresión del commit: f9bdf1f95339 ("perf/x86/intel: Evitar deshabilitar PMU si !cpuc->enabled en la lectura de muestra") El error introducido por esa confirmación es que la función is_topdown_event() se usa por error para reemplazar la llamada is_topdown_count() para verificar si se deben invocar las funciones descendentes para la característica de métricas de rendimiento. Arréglenlo.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-38322 changed 2026-11-10 | CVE Terms of Use |
| NVD | CVE-2025-38322 changed 2026-11-10 | Public domain |