Kernel memory corruption via failed inode-array reallocation
Published Jun 20, 2024 · Updated May 11, 2026
Out-of-bounds write in Linux kernel ext4 fast-commit replay allows local users to corrupt kernel memory after an allocation failure. The ext4_fc_record_modified_inode() function enlarges fc_modified_inodes_size before krealloc() succeeds; after failure, later replay can skip reallocation and write through invalid array state. Low-privileged local access, ext4 fast-commit replay, and a failed allocation are required; the result is silent corruption or a kernel fault.
Summary
What happened
Out-of-bounds write in Linux kernel ext4 fast-commit replay allows local users to corrupt kernel memory after an allocation failure. The ext4_fc_record_modified_inode() function enlarges fc_modified_inodes_size before krealloc() succeeds; after failure, later replay can skip reallocation and write through invalid array state. Low-privileged local access, ext4 fast-commit replay, and a failed allocation are required; the result is silent corruption or a kernel fault.
The record
- CVE
- CVE-2022-48712
- Published
- Jun 20, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-787, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 20, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 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.10
- Affected versionversion=8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 <14aa3f49c7fc6424763f4323bfbc3a807b0727dc
- Affected versionversion=8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 <1b6762ecdf3cf12113772427c904aa3c420a1802
- Affected versionversion=8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 <62e46e0ffc02daa8fcfc02f7a932cc8a19601b19
- Affected versionversion=8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 <cdce59a1549190b66f8e3fe465c2b2f714b98a94
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