Kernel memory corruption via unchecked allocation type
Published Feb 26, 2025 · Updated Aug 12, 2026
Improper array-index validation in Linux F2FS allows local users to corrupt kernel memory by operating on a crafted filesystem image. F2FS copies an unchecked checkpoint alloc_type byte into curseg_info, then uses it to increment an entry beyond the two-element sbi->block_count array. After the image is mounted, ordinary write, sync, or unmount operations can repeat the invalid increment, exposing kernel data, corrupting state, or crashing the host.
Summary
What happened
Improper array-index validation in Linux F2FS allows local users to corrupt kernel memory by operating on a crafted filesystem image. F2FS copies an unchecked checkpoint alloc_type byte into curseg_info, then uses it to increment an entry beyond the two-element sbi->block_count array. After the image is mounted, ordinary write, sync, or unmount operations can repeat the invalid increment, exposing kernel data, corrupting state, or crashing the host.
The record
- CVE
- CVE-2022-49170
- Published
- Feb 26, 2025
- Updated
- Aug 12, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-129, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 26, 2025CVE publishedPublication date reported by the CVE source.
- Aug 12, 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=351df4b201157351c7d26bf12c3eeb9dbce98854 <0748a0f7dcb9d9dddc80302d73ebcecef6782ef0
- Affected versionversion=351df4b201157351c7d26bf12c3eeb9dbce98854 <498b7088db71f9707359448cd6800bbb1882f4c3
- Affected versionversion=351df4b201157351c7d26bf12c3eeb9dbce98854 <c12765e3f129b144421c80d3383df885f85ee290
- Affected versionversion=351df4b201157351c7d26bf12c3eeb9dbce98854 <f41ee8b91c00770d718be2ff4852a80017ae9ab3
- Affected versionversion=351df4b201157351c7d26bf12c3eeb9dbce98854 <f68caedf264a95c0b02dfd0d9f92ac2637d5848a
- Affected versionversion=3.8
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