Kernel crash via vmap-backed ring-buffer mmap
Published Feb 27, 2025 · Updated Aug 5, 2026
A kernel tracing flaw in affected Linux 6.12 and 6.13 builds and 6.14-rc1 through 6.14-rc2 allows local users to crash the kernel. The ring_buffer_map path passes vmap-backed persistent-buffer addresses through virt_to_page and then vm_insert_pages, which expects ordinary page-backed memory. Access to a reserve_mem-backed trace instance and its trace_pipe_raw file is required; invalid page handling can expose memory, corrupt kernel bookkeeping, wedge tracing, or panic the host.
Summary
What happened
A kernel tracing flaw in affected Linux 6.12 and 6.13 builds and 6.14-rc1 through 6.14-rc2 allows local users to crash the kernel. The ring_buffer_map path passes vmap-backed persistent-buffer addresses through virt_to_page and then vm_insert_pages, which expects ordinary page-backed memory. Access to a reserve_mem-backed trace instance and its trace_pipe_raw file is required; invalid page handling can expose memory, corrupt kernel bookkeeping, wedge tracing, or panic the host.
The record
- CVE
- CVE-2025-21778
- Published
- Feb 27, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 27, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=6.12
- Affected versionversion=9b7bdf6f6ece6ea888cc7d2f02c00b403b66a119 <129fe718819cc5e24ea2f489db9ccd4371f0c6f6
- Affected versionversion=9b7bdf6f6ece6ea888cc7d2f02c00b403b66a119 <cf5aa560e5c7628b57c928741d7e6a9a0f6f0e67
- Affected versionversion=9b7bdf6f6ece6ea888cc7d2f02c00b403b66a119 <e8dff5f73912513fc9b52ab992d861517c9a9975
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo