Menu

Star on GitHub · 3.2k

CVE-2025-39821

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: perf: Avoid undefined behavior from stopping/starting inactive events Calling pmu->start()/stop() on perf events in PERF_EVENT_…

Published Sep 16, 2025CWE-787EPSS 0.16%

Overview

CVE-2025-39821 is a high-severity vulnerability. It was published on September 16, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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

perf: Avoid undefined behavior from stopping/starting inactive events

Calling pmu->start()/stop() on perf events in PERF_EVENT_STATE_OFF can

leave event->hw.idx at -1. When PMU drivers later attempt to use this

negative index as a shift exponent in bitwise operations, it leads to UBSAN

shift-out-of-bounds reports.

The issue is a logical flaw in how event groups handle throttling when some

members are intentionally disabled. Based on the analysis and the

reproducer provided by Mark Rutland (this issue on both arm64 and x86-64).

The scenario unfolds as follows:

1. A group leader event is configured with a very aggressive sampling

period (e.g., sample_period = 1). This causes frequent interrupts and

triggers the throttling mechanism.

2. A child event in the same group is created in a disabled state

(.disabled = 1). This event remains in PERF_EVENT_STATE_OFF.

Since it hasn't been scheduled onto the P

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-2025-39821?

CVE-2025-39821 is a high-severity vulnerability. It was published on September 16, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-39821?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-39821?

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-2025-39821?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-39821 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.

Related HIGH CVEs from 2025

View all