CVE-2025-39681
x86/cpu/hygon: Add missing resctrl_cpu_detect() in bsp_init helper
Check your servers for CVE-2025-39681
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-39681 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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. ]
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9, before 62f12cde10118253348a7540e85606869bd69432 affected from 923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9, before 873f32201df8876bdb2563e3187e79149427cab4 affected from 923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9, before fb81222c1559f89bfe3aa1010f6d112531d55353 affected from 923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9, before 7207923d8453ebfb35667c1736169f2dd796772e affected from 923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9, before a9e5924daa954c9f585c1ca00358afe71d6781c4 affected from 923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9, before d23264c257a70dbe021b43b3bc2ee16134cd2c69 affected from 923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9, before d8df126349dad855cdfedd6bbf315bad2e901c2f
Other versions: unaffected
|
| Linux |
affected 5.8 unaffected before 5.8 unaffected from 5.10.242 up to and including 5.10.* unaffected from 5.15.190 up to and including 5.15.* unaffected from 6.1.149 up to and including 6.1.* unaffected from 6.6.103 up to and including 6.6.* unaffected from 6.12.44 up to and including 6.12.* unaffected from 6.16.4 up to and including 6.16.* unaffected 6.17 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-39681 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-39681
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-39681
trivy image --scanners vuln IMAGE | grep CVE-2025-39681
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/62f12cde10118253348a7540e85606869bd69432 git.kernel.org
- https://git.kernel.org/stable/c/873f32201df8876bdb2563e3187e79149427cab4 git.kernel.org
- https://git.kernel.org/stable/c/fb81222c1559f89bfe3aa1010f6d112531d55353 git.kernel.org
- https://git.kernel.org/stable/c/7207923d8453ebfb35667c1736169f2dd796772e git.kernel.org
- https://git.kernel.org/stable/c/a9e5924daa954c9f585c1ca00358afe71d6781c4 git.kernel.org
- https://git.kernel.org/stable/c/d23264c257a70dbe021b43b3bc2ee16134cd2c69 git.kernel.org
- https://git.kernel.org/stable/c/d8df126349dad855cdfedd6bbf315bad2e901c2f git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html cert-portal.siemens.com
Source: the record CVE-2025-39681 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse