# x86/cpu/hygon: Add missing resctrl_cpu_detect() in bsp_init helper

CVE record · `CVE-2025-39681`

- **Identifiers:** `CVE-2025-39681`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 5 Sept 2025
- **Updated:** 10 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 5 Sept 2025, 17:20 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9 to before 62f12cde10118253348a7540e85606869bd69432` (git)
  - affected: `923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9 to before 873f32201df8876bdb2563e3187e79149427cab4` (git)
  - affected: `923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9 to before fb81222c1559f89bfe3aa1010f6d112531d55353` (git)
  - affected: `923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9 to before 7207923d8453ebfb35667c1736169f2dd796772e` (git)
  - affected: `923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9 to before a9e5924daa954c9f585c1ca00358afe71d6781c4` (git)
  - affected: `923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9 to before d23264c257a70dbe021b43b3bc2ee16134cd2c69` (git)
  - affected: `923f3a2b48bdccb6a1d1f0dd48de03de7ad936d9 to before d8df126349dad855cdfedd6bbf315bad2e901c2f` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.8`
  - unaffected: `before 5.8` (semver)
  - unaffected: `5.10.242 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.190 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.149 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.103 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.44 to 6.12.*, inclusive` (semver)
  - unaffected: `6.16.4 to 6.16.*, inclusive` (semver)
  - unaffected: `6.17 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel is affected from 5.8 on Hygon x86 systems because the Hygon boot initialization omits a resctrl_cpu_detect() call. This can cause a division-by-zero fault during early boot on machines with CQM features, and the source gives few other details. Upgrade to a kernel with the fix, such as 5.10.242, 5.15.190, 6.1.149, or 6.6.103 or later in those series.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0018, the 8th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 5 Sept 2025, 17:20 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-39681)
- 5 Sept 2025, 18:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-39681)

## Sources

- [CVE List: CVE-2025-39681](https://www.cve.org/CVERecord?id=CVE-2025-39681)
- [NVD: CVE-2025-39681](https://nvd.nist.gov/vuln/detail/CVE-2025-39681)

### References from the CNA

- <https://git.kernel.org/stable/c/62f12cde10118253348a7540e85606869bd69432>
- <https://git.kernel.org/stable/c/873f32201df8876bdb2563e3187e79149427cab4>
- <https://git.kernel.org/stable/c/fb81222c1559f89bfe3aa1010f6d112531d55353>
- <https://git.kernel.org/stable/c/7207923d8453ebfb35667c1736169f2dd796772e>
- <https://git.kernel.org/stable/c/a9e5924daa954c9f585c1ca00358afe71d6781c4>
- <https://git.kernel.org/stable/c/d23264c257a70dbe021b43b3bc2ee16134cd2c69>
- <https://git.kernel.org/stable/c/d8df126349dad855cdfedd6bbf315bad2e901c2f>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-39681>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-39681/>. Everything for agents: <https://agentprime.io/llms.txt>.
