Kernel memory disclosure and crash via oversized extent
Published Dec 24, 2025 · Updated Dec 24, 2025
Use-after-free in Linux EROFS allows attackers to read kernel memory or crash the host via a crafted filesystem image. The EROFS mapping path accepts an uncompressed pcluster whose logical extent exceeds its physical length, so z_erofs_transform_plain copies more page data than the source provides. Triggering the flaw requires the host to mount the image and open, read, or map its contents; the resulting out-of-bounds use-after-free can expose freed kernel data, corrupt memory, or panic the kernel.
Summary
What happened
Use-after-free in Linux EROFS allows attackers to read kernel memory or crash the host via a crafted filesystem image. The EROFS mapping path accepts an uncompressed pcluster whose logical extent exceeds its physical length, so z_erofs_transform_plain copies more page data than the source provides. Triggering the flaw requires the host to mount the image and open, read, or map its contents; the resulting out-of-bounds use-after-free can expose freed kernel data, corrupt memory, or panic the kernel.
The record
- CVE
- CVE-2022-50746
- Published
- Dec 24, 2025
- Updated
- Dec 24, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1203
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Dec 24, 2025CVE publishedPublication date reported by the CVE source.
- Dec 24, 2025Record 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=02827e1796b33f1794966f5c3101f8da2dfa9c1d <40c73b2ea9611b5388807be406f30f5e4e1162da
- Affected versionversion=02827e1796b33f1794966f5c3101f8da2dfa9c1d <c505feba4c0d76084e56ec498ce819f02a7043ae
- Affected versionversion=02827e1796b33f1794966f5c3101f8da2dfa9c1d <dc8b6bd587b13b85aff6e9d36cdfcd3f955cac9e
- Affected versionversion=4.19
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
- syzkaller EROFS use-after-free reproducerproof of concept · demonstrated
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