Menu

Star on GitHub · 3.4k

CVE-2026-97587

In the Linux kernel, the following vulnerability has been resolved: perf: RISC-V: store available counter mask as bitmap The available-counter mask was a single unsigned long, but iteration uses…

Published Sep 25, 2026EPSS 0.21%

Overview

CVE-2026-97587 is a known-severity vulnerability. It was published on September 25, 2026.

Technical description

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

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

The available-counter mask was a single unsigned long, but iteration

uses RISCV_MAX_COUNTERS, which is 64. On RV32 that reads past the object.

Filling with an unsigned-long bit at index 32 and above is also wrong.

Use DECLARE_BITMAP and set_bit/bitmap helpers. Walk each bitmap word

into CFG_MATCH when checking events, when allocating an index, and when

stopping all counters. Set the counter base to i times BITS_PER_LONG.

Share the CFG_MATCH ecall through a small helper so the 32-bit argument

split is not duplicated. On qemu-system-riscv32 the probe bitmap has bits

above XLEN set, so the first word alone is not enough.

[[email protected]: updated to apply; fixed checkpatch.pl issues]

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2026-97587?

CVE-2026-97587 is a known-severity vulnerability. It was published on September 25, 2026.

How severe is CVE-2026-97587?

CVSS score information is not yet available for this vulnerability. Check back as the CVE record is updated by NVD analysts.

How do I fix or remediate CVE-2026-97587?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-97587?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2026-97587 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

CyberStrike v2 is here — more intelligence, greater reach