# perf: RISC-V: store available counter mask as bitmap

CVE record · `CVE-2026-97587`

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

Published by the CVE Program (CNA: Linux) at 25 Sept 2026, 10:22 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: `e9991434596f5373dfd75857b445eb92a9253c56 to before 433249a4de52ecda40ffa9c466cec1312e62826f` (git)
  - affected: `e9991434596f5373dfd75857b445eb92a9253c56 to before 5a1b6379eed5b13eac0228b605b0bed988e547e9` (git)
  - affected: `e9991434596f5373dfd75857b445eb92a9253c56 to before 143668c424772979a45118dc9cc9c2c13a35f41d` (git)
  - affected: `e9991434596f5373dfd75857b445eb92a9253c56 to before 9bec7beaed074bcae4181fde9ff9dfbe4e7b0957` (git)
  - affected: `e9991434596f5373dfd75857b445eb92a9253c56 to before e5481db31f4654e9a1254d5d467d9b1ff2f8b1cb` (git)
  - affected: `e9991434596f5373dfd75857b445eb92a9253c56 to before 6809da6e9c08ccc9a09cb0a48c61471679274aaa` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.18`
  - unaffected: `before 5.18` (semver)
  - unaffected: `6.1.191 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.160 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.111 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.53 to 6.18.*, inclusive` (semver)
  - unaffected: `7.2.7 to 7.2.*, inclusive` (semver)
  - unaffected: `7.3 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's RISC-V perf counter handling is affected from 5.18 until fixed in 6.1.191, 6.6.160, 6.12.111 or 6.18.53. On RV32 systems, it reads past the end of an object, but the source gives few details on attacker access or impact. Upgrade to a fixed version; no workaround is listed.

Written 12 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.0021, the 10th percentile, on 12 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 25 Sept 2026. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/433249a4de52ecda40ffa9c466cec1312e62826f>
- <https://git.kernel.org/stable/c/5a1b6379eed5b13eac0228b605b0bed988e547e9>
- <https://git.kernel.org/stable/c/143668c424772979a45118dc9cc9c2c13a35f41d>
- <https://git.kernel.org/stable/c/9bec7beaed074bcae4181fde9ff9dfbe4e7b0957>
- <https://git.kernel.org/stable/c/e5481db31f4654e9a1254d5d467d9b1ff2f8b1cb>
- <https://git.kernel.org/stable/c/6809da6e9c08ccc9a09cb0a48c61471679274aaa>

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

---

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