Kernel memory corruption via oversized tail copy
Published Feb 26, 2025 · Updated Aug 5, 2026
Use-after-free in Linux EROFS 5.17 through 5.17.13 and 5.18 through 5.18.2 allows local users to corrupt kernel memory via crafted images. In z_erofs_shifted_transform, the decompressor uses pageofs_out instead of the left-half length for an incomplete uncompressed tail pcluster, causing an oversized memcpy or memmove across page boundaries. An unprivileged local user can trigger the fault by reading an already mounted image with ztailpacking and a shifted tail, exposing adjacent kernel memory, corrupting kernel state, or panicking the host.
Summary
What happened
Use-after-free in Linux EROFS 5.17 through 5.17.13 and 5.18 through 5.18.2 allows local users to corrupt kernel memory via crafted images. In z_erofs_shifted_transform, the decompressor uses pageofs_out instead of the left-half length for an incomplete uncompressed tail pcluster, causing an oversized memcpy or memmove across page boundaries. An unprivileged local user can trigger the fault by reading an already mounted image with ztailpacking and a shifted tail, exposing adjacent kernel memory, corrupting kernel state, or panicking the host.
The record
- CVE
- CVE-2022-49464
- Published
- Feb 26, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 26, 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=5.17
- Affected versionversion=ab749badf9f41f32509cd103391b81ea7e684b76 <4d53a625f29074e7b8236c2c0e0922edb7608df9
- Affected versionversion=ab749badf9f41f32509cd103391b81ea7e684b76 <6b59e1907f58cf877c563dcf013159eb9f994b64
- Affected versionversion=ab749badf9f41f32509cd103391b81ea7e684b76 <dcbe6803fffd387f72b48c2373b5f5ed12a5804b
What conditions does exploitation require?
What is affected?
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.
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