CVE-2025-39681: x86/cpu/hygon: Add missing resctrl_cpu_detect() in bsp_init helper

Published Sep 5, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

x86/cpu/hygon: Add missing resctrlcpudetect() in bspinit helper

Since

923f3a2b48bd ("x86/resctrl: Query LLC monitoring properties once during boot")

resctrlcpudetect() 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 X86FEATURECQM supported, where getrdtmonresources() tries to calculate monl3config with uninitialized bootcpudata.x86cacheoccscale.

Add the missing resctrlcpudetect() in the Hygon BSP init helper.

[ bp: Massage commit message. ]

Affected Software

13 affected componentsFixes available
Linux Linux kernel
Microsoft azl3 kernel 6.6.96.2-1
Microsoft azl3 kernel 6.6.96.2-2
Linux Linux kernel>=5.8<5.10.242
Linux Linux kernel>=5.11<5.15.190
Linux Linux kernel>=5.16<6.1.149
Linux Linux kernel>=6.2<6.6.103
Linux Linux kernel>=6.7<6.12.44
Linux Linux kernel>=6.13<6.16.4
Linux Linux kernel=6.17-rc1
Linux Linux kernel=6.17-rc2
Debian Debian Linux=11.0
Microsoft cbl2 kernel 5.15.186.1-1

Event History

Sep 5, 2025
CVE Published
via MITRE·05:20 PM
Data Sourced
via MITRE·05:20 PM
Description
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityAffected Software
Sep 7, 2025
Data Sourced
via Microsoft·01:15 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·01:15 AM
SeverityAffected Software
Updated
via Microsoft·08:15 AM
DescriptionSeverity
Updated
via Microsoft·08:15 AM
SeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-39681?

CVE-2025-39681 has not been assigned a severity rating, but it is related to a critical component of the Linux kernel.

2

How do I fix CVE-2025-39681?

To fix CVE-2025-39681, update your Linux kernel to the latest stable version that includes the patch addressing this vulnerability.

3

Who is affected by CVE-2025-39681?

CVE-2025-39681 affects users running versions of the Linux kernel that do not include the patch for the resctrl_cpu_detect() function.

4

What is the main issue addressed in CVE-2025-39681?

CVE-2025-39681 addresses a missed initialization in the resctrl_cpu_detect() function within the Linux kernel's x86 architecture.

5

Is there a workaround for CVE-2025-39681?

Currently, the best approach for CVE-2025-39681 is to apply the kernel update rather than relying on a workaround.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203