CVE Database›Document archive›CVE-2026-23248

CVE-2026-23248

kernel: perf/core: Fix refcount bug and potential UAF in perf_mmap

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · March 18, 2026

Updated · July 3, 2026

Description

A use-after-free vulnerability was found in the Linux kernel's perf subsystem. A race condition exists in perf_mmap() between a failing mmap() setup and concurrent mmap() operations on dependent events. When map_range() fails, the cleanup path runs while the mmap_mutex is released, allowing another thread to observe and access a ring buffer whose reference count has already reached zero. This can result in use-after-free or refcount corruption.

Statement

This flaw was discovered by syzkaller and affects the perf event subsystem used for performance monitoring. The race requires concurrent mmap operations on related perf events (via inheritance or output redirection), making exploitation timing-sensitive but achievable. Successful exploitation could lead to kernel memory corruption or information disclosure through the freed ring buffer.

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

No mitigation is specified in collected source.

CVSS / CWE

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

CWE-911 · Improper Update of Reference Count