CVE Database›Document archive›CVE-2025-21889

CVE-2025-21889

kernel: perf/core: Add RCU read lock protection to perf_iterate_ctx()

Loading…

Severity

Low

Red Hat Product Security

3.3

CVSS 3.1

Review impact separately from score.

Published · March 27, 2025

Updated · September 13, 2026

Description

A flaw was found in the Linux kernel's perf/core component. The perf_iterate_ctx() function, responsible for traversing RCU (Read-Copy-Update) lists, lacks necessary RCU read lock protection. This oversight can lead to race conditions, potentially causing system instability or a denial of service when specific perf operations, such as perf probe with unshare(1), are executed by a local attacker with low privileges.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

CVSS / CWE

CVSS 3.1 · 3.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

CWE-413 · Improper Resource Locking