5.5medium
x86/cpu/hygon: Add missing resctrl_cpu_detect() in bsp_init helper
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.23% (higher than 15% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: x86/cpu/hygon: Add missing resctrl_cpu_detect() in bsp_init helper Since 923f3a2b48bd ("x86/resctrl: Query LLC monitoring properties once during boot") resctrl_cpu_detect() has been moved from common CPU initialization code to the vendor-specific BSP init helper, while Hygon didn't put that call in their code. This triggers a division by zero fault during early booting stage on our machines with X86_FEATURE_CQM* supported, where get_rdt_mon_resources() tries to calculate mon_l3_config with uninitialized boot_cpu_data.x86_cache_occ_scale. Add the missing resctrl_cpu_detect() in the Hygon BSP init helper. [ bp: Massage commit message. ]
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9 before 62f12cde10118253348a7540e85606869bd69432, from 923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9 before 873f32201df8876bdb2563e3187e79149427cab4, from 923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9 before fb81222c1559f89bfe3aa1010f6d112531d55353, from 923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9 before 7207923d8453ebfb35667c1736169f2dd796772e, from 923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9 before a9e5924daa954c9f585c1ca00358afe71d6781c4, from 923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9 before d23264c257a70dbe021b43b3bc2ee16134cd2c69, from 923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9 before d8df126349dad855cdfedd6bbf315bad2e901c2f, 5.8 Not affected: before 5.8, from 5.10.242 up to 5.10.*, from 5.15.190 up to 5.15.*, from 6.1.149 up to 6.1.*, from 6.6.103 up to 6.6.*, from 6.12.44 up to 6.12.* | CVE List |
| linux linux_kernel | from 5.8 before 5.10.242, from 5.11 before 5.15.190, from 5.16 before 6.1.149, from 6.2 before 6.6.103, from 6.7 before 6.12.44, from 6.13 before 6.16.4, 6.17 | NVD |
| debian debian_linux | 11.0 | 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: x86/cpu/hygon: Add missing resctrl_cpu_detect() in bsp_init helper Since 923f3a2b48bd ("x86/resctrl: Query LLC monitoring properties once during boot") resctrl_cpu_detect() has been moved from common CPU initialization code to the vendor-specific BSP init helper, while Hygon didn't put that call in their code. This triggers a division by zero fault during early booting stage on our machines with X86_FEATURE_CQM* supported, where get_rdt_mon_resources() tries to calculate mon_l3_config with uninitialized boot_cpu_data.x86_cache_occ_scale. Add the missing resctrl_cpu_detect() in the Hygon BSP init helper. [ bp: Massage commit message. ]
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: x86/cpu/hygon: Añadir la función resctrl_cpu_detect() faltante en el asistente bsp_init Desde 923f3a2b48bd ('x86/resctrl: Consultar las propiedades de monitoreo de LLC una vez durante el arranque') resctrl_cpu_detect() ha sido movida del código de inicialización común de la CPU al asistente de inicialización BSP específico del proveedor, mientras que Hygon no incluyó esa llamada en su código. Esto provoca un fallo de división por cero durante la etapa temprana de arranque en nuestras máquinas con soporte para X86_FEATURE_CQM*, donde get_rdt_mon_resources() intenta calcular mon_l3_config con boot_cpu_data.x86_cache_occ_scale sin inicializar. Añadir la función resctrl_cpu_detect() faltante en el asistente de inicialización BSP de Hygon. [ bp: Retocar el mensaje de commit. ]
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-39681 changed 2026-11-10 | CVE Terms of Use |
| NVD | CVE-2025-39681 changed 2026-11-10 | Public domain |