CVE-2025-21778
kernel: tracing: Do not allow mmap() of persistent ring buffer
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 27, 2025
Updated · October 21, 2026
Description
A flaw was found in the Linux kernel tracing subsystem. mmap() is allowed on a persistent ring buffer that is not backed by struct page memory, so inserting those pages faults in kernel mode. A local user who can mmap that trace buffer can crash the kernel.
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.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-241 · Improper Handling of Unexpected Data Type