PT-2025-8890 · Linux+1 · Linux Kernel+1
Published
2025-02-15
·
Updated
2025-02-28
·
CVE-2025-21778
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to the fixed version
Description
A vulnerability in the Linux kernel has been resolved. The issue occurs when trying to mmap a trace instance buffer that is attached to reserve mem, causing a crash. The reason for the crash is that the code that maps the ring buffer pages to user space uses virt to page(), which does not work with vmap()'d memory. As a result, mmap() of instances that have their ring buffer from the reserve mem option is disabled, and attempting to perform an mmap() on a persistent buffer will return -ENODEV.
Recommendations
For Linux kernel versions prior to the fixed version, consider disabling the mmap() of trace instance buffers that are attached to reserve mem as a temporary workaround until a patch is available.
Exploit
Fix
Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linux Kernel