# arch_topology: Fix incorrect error check in topology_parse_cpu_capacity()

CVE record · `CVE-2025-40346`

- **Identifiers:** `CVE-2025-40346`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 16 Dec 2025
- **Updated:** 11 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 16 Dec 2025, 13:30 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: `b8fe128dad8f97cc9af7c55a264d1fc5ab677195 to before 64da320252e43456cc9ec3055ff567f168467b37` (git)
  - affected: `b8fe128dad8f97cc9af7c55a264d1fc5ab677195 to before 02fbea0864fd4a863671f5d418129258d7159f68` (git)
  - affected: `b8fe128dad8f97cc9af7c55a264d1fc5ab677195 to before a77f8434954cb1e9c42c3854e40855fdcf5ab235` (git)
  - affected: `b8fe128dad8f97cc9af7c55a264d1fc5ab677195 to before 3373f263bb647fcc3b5237cfaef757633b9ee25e` (git)
  - affected: `b8fe128dad8f97cc9af7c55a264d1fc5ab677195 to before 45379303124487db3a81219af7565d41f498167f` (git)
  - affected: `b8fe128dad8f97cc9af7c55a264d1fc5ab677195 to before 3a01b2614e84361aa222f67bc628593987e5cdb2` (git)
  - affected: `b8fe128dad8f97cc9af7c55a264d1fc5ab677195 to before 2eead19334516c8e9927c11b448fbe512b1f18a1` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.7`
  - unaffected: `before 5.7` (semver)
  - unaffected: `5.10.246 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.196 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.158 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.115 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.56 to 6.12.*, inclusive` (semver)
  - unaffected: `6.17.6 to 6.17.*, inclusive` (semver)
  - unaffected: `6.18 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## 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.0022, the 12th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 16 Dec 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/64da320252e43456cc9ec3055ff567f168467b37>
- <https://git.kernel.org/stable/c/02fbea0864fd4a863671f5d418129258d7159f68>
- <https://git.kernel.org/stable/c/a77f8434954cb1e9c42c3854e40855fdcf5ab235>
- <https://git.kernel.org/stable/c/3373f263bb647fcc3b5237cfaef757633b9ee25e>
- <https://git.kernel.org/stable/c/45379303124487db3a81219af7565d41f498167f>
- <https://git.kernel.org/stable/c/3a01b2614e84361aa222f67bc628593987e5cdb2>
- <https://git.kernel.org/stable/c/2eead19334516c8e9927c11b448fbe512b1f18a1>

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-40346>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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