{"id":"CVE-2025-39681","aliases":["CVE-2025-39681"],"related":[],"kind":"vulnerability","state":"published","title":"x86/cpu/hygon: Add missing resctrl_cpu_detect() in bsp_init helper","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nx86/cpu/hygon: Add missing resctrl_cpu_detect() in bsp_init helper\n\nSince\n\n  923f3a2b48bd (\"x86/resctrl: Query LLC monitoring properties once during boot\")\n\nresctrl_cpu_detect() has been moved from common CPU initialization code to\nthe vendor-specific BSP init helper, while Hygon didn't put that call in their\ncode.\n\nThis triggers a division by zero fault during early booting stage on our\nmachines with X86_FEATURE_CQM* supported, where get_rdt_mon_resources() tries\nto calculate mon_l3_config with uninitialized boot_cpu_data.x86_cache_occ_scale.\n\nAdd the missing resctrl_cpu_detect() in the Hygon BSP init helper.\n\n  [ bp: Massage commit message. ]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nx86/cpu/hygon: Add missing resctrl_cpu_detect() in bsp_init helper\n\nSince\n\n  923f3a2b48bd (\"x86/resctrl: Query LLC monitoring properties once during boot\")\n\nresctrl_cpu_detect() has been moved from common CPU initialization code to\nthe vendor-specific BSP init helper, while Hygon didn't put that call in their\ncode.\n\nThis triggers a division by zero fault during early booting stage on our\nmachines with X86_FEATURE_CQM* supported, where get_rdt_mon_resources() tries\nto calculate mon_l3_config with uninitialized boot_cpu_data.x86_cache_occ_scale.\n\nAdd the missing resctrl_cpu_detect() in the Hygon BSP init helper.\n\n  [ bp: Massage commit message. ]","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nx86/cpu/hygon: Añadir la función resctrl_cpu_detect() faltante en el asistente bsp_init\n\nDesde\n\n  923f3a2b48bd ('x86/resctrl: Consultar las propiedades de monitoreo de LLC una vez durante el arranque')\n\nresctrl_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.\n\nEsto 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.\n\nAñadir la función resctrl_cpu_detect() faltante en el asistente de inicialización BSP de Hygon.\n\n  [ bp: Retocar el mensaje de commit. ]","source":"nvd"}],"published":"2025-09-05T17:20:47.564Z","modified":"2026-11-10T13:17:49.037Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9","fixed":"62f12cde10118253348a7540e85606869bd69432","status":"affected"},{"type":"git","introduced":"923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9","fixed":"873f32201df8876bdb2563e3187e79149427cab4","status":"affected"},{"type":"git","introduced":"923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9","fixed":"fb81222c1559f89bfe3aa1010f6d112531d55353","status":"affected"},{"type":"git","introduced":"923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9","fixed":"7207923d8453ebfb35667c1736169f2dd796772e","status":"affected"},{"type":"git","introduced":"923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9","fixed":"a9e5924daa954c9f585c1ca00358afe71d6781c4","status":"affected"},{"type":"git","introduced":"923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9","fixed":"d23264c257a70dbe021b43b3bc2ee16134cd2c69","status":"affected"},{"type":"git","introduced":"923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9","fixed":"d8df126349dad855cdfedd6bbf315bad2e901c2f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.8","status":"unaffected"},{"type":"semver","introduced":"5.10.242","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.190","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.149","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.103","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.44","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.16.4","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.8","fixed":"5.10.242"},{"status":"affected","introduced":"5.11","fixed":"5.15.190"},{"status":"affected","introduced":"5.16","fixed":"6.1.149"},{"status":"affected","introduced":"6.2","fixed":"6.6.103"},{"status":"affected","introduced":"6.7","fixed":"6.12.44"},{"status":"affected","introduced":"6.13","fixed":"6.16.4"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/62f12cde10118253348a7540e85606869bd69432","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/873f32201df8876bdb2563e3187e79149427cab4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fb81222c1559f89bfe3aa1010f6d112531d55353","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7207923d8453ebfb35667c1736169f2dd796772e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a9e5924daa954c9f585c1ca00358afe71d6781c4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d23264c257a70dbe021b43b3bc2ee16134cd2c69","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d8df126349dad855cdfedd6bbf315bad2e901c2f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T21:08:33.739Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-39681","url":"https://www.cve.org/CVERecord?id=CVE-2025-39681","licence":"CVE Terms of Use","modified":"2026-11-10T12:36:45.681Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-39681","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39681","licence":"Public domain","modified":"2026-11-10T13:17:49.037Z"}],"updatedAt":"2026-11-25T22:59:04.259Z","epss":{"score":0.00232,"percentile":0.15025,"date":"2026-12-01T12:00:22.000Z"}}