Local kernel memory corruption via miscalculated folio offset
Published Dec 4, 2025 · Updated Aug 5, 2026
Memory corruption in Linux kernel 6.12 through 6.15.4 allows local users to read or write kernel memory via registered buffers. io_sqe_buffer_register masks the user virtual address by the folio size, so an unaligned pointer produces the wrong first-page offset after buffer coalescing. Unprivileged local access to io_uring fixed-buffer registration is sufficient; subsequent fixed I/O can disclose or alter memory or panic the kernel.
Summary
What happened
Memory corruption in Linux kernel 6.12 through 6.15.4 allows local users to read or write kernel memory via registered buffers. io_sqe_buffer_register masks the user virtual address by the folio size, so an unaligned pointer produces the wrong first-page offset after buffer coalescing. Unprivileged local access to io_uring fixed-buffer registration is sufficient; subsequent fixed I/O can disclose or alter memory or panic the kernel.
The record
- CVE
- CVE-2025-40216
- Published
- Dec 4, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 4, 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=a8edbb424b1391b077407c75d8f5d2ede77aa70d <3a3c6d61577dbb23c09df3e21f6f9eda1ecd634b
- Affected versionversion=a8edbb424b1391b077407c75d8f5d2ede77aa70d <50998b0ae7d9d552e96d8b7239981cf05f65eff5
- Affected versionversion=a8edbb424b1391b077407c75d8f5d2ede77aa70d <f16769241594be59387b56ab525e327f54377e60
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