Kernel memory disclosure via malformed EROFS data
Published Feb 26, 2025 · Updated Aug 5, 2026
Out-of-bounds read in Linux kernel 4.20 and later affected branches allows local users to expose kernel memory via a crafted EROFS image. LZ4_decompress_safe_partial fails to stop before reading a following match offset when partial decoding has reached the input boundary. The crafted EROFS image must already be mounted; reading its compressed file can disclose adjacent memory, corrupt kernel state, or crash the host.
Summary
What happened
Out-of-bounds read in Linux kernel 4.20 and later affected branches allows local users to expose kernel memory via a crafted EROFS image. LZ4_decompress_safe_partial fails to stop before reading a following match offset when partial decoding has reached the input boundary. The crafted EROFS image must already be mounted; reading its compressed file can disclose adjacent memory, corrupt kernel state, or crash the host.
The record
- CVE
- CVE-2022-49078
- Published
- Feb 26, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416
- 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=2209fda323e2fd2a2d0885595fd5097717f8d2aa <467d5e200ab4486b744fe1776154a43d1aa22d4b
- Affected versionversion=2209fda323e2fd2a2d0885595fd5097717f8d2aa <6adc01a7aa37445dafe8846faa0610a86029b253
- Affected versionversion=2209fda323e2fd2a2d0885595fd5097717f8d2aa <73953dfa9d50e5c9fe98ee13fd1d3427aa12a0a3
- Affected versionversion=2209fda323e2fd2a2d0885595fd5097717f8d2aa <9fb8bc6cfc58773ce95414e11c9ccc8fc6ac4927
- Affected versionversion=2209fda323e2fd2a2d0885595fd5097717f8d2aa <e64dbe97c05c769525cbca099ddbd22485630235
- Affected versionversion=2209fda323e2fd2a2d0885595fd5097717f8d2aa <eafc0a02391b7b36617b36c97c4b5d6832cf5e24
- Affected versionversion=4.20
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