Kernel memory corruption via unchecked JFS index
Published May 21, 2024 · Updated Aug 5, 2026
Out-of-bounds access in Linux JFS allows local users to corrupt kernel memory by mounting a crafted filesystem image. The diAlloc path trusts the allocation-group number derived from on-disk IAG metadata and uses it to index db_active, im_aglock, and im_agctl without validating the array bound. A local session and a mounted malicious JFS image are required; subsequent file creation can cause kernel reads and writes outside the arrays, a kernel oops, or filesystem failure.
Summary
What happened
Out-of-bounds access in Linux JFS allows local users to corrupt kernel memory by mounting a crafted filesystem image. The diAlloc path trusts the allocation-group number derived from on-disk IAG metadata and uses it to index db_active, im_aglock, and im_agctl without validating the array bound. A local session and a mounted malicious JFS image are required; subsequent file creation can cause kernel reads and writes outside the arrays, a kernel oops, or filesystem failure.
The record
- CVE
- CVE-2023-52805
- Published
- May 21, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-129, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 21, 2024CVE 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=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <05d9ea1ceb62a55af6727a69269a4fd310edf483
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <1708d0a9917fea579cc9da3d87b154285abd2cd8
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <1ba7df5457dc1c1071c5f92ac11323533a6430e1
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2308d0fb0dc32446b4e6ca37cd09c30374bb64e9
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <64f062baf202b82f54987a3f614a6c8f3e466641
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <665b44e55c2767a4f899c3b18f49e9e1c9983777
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <7467ca10a5ff09b0e87edf6c4d2a4bfdee69cf2c
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <8c68af2af697ba2ba3b138be0c6d72e2ce3a3d6d
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <cf7e3e84df36a9953796c737f080712f631d7083
- Affected versionversion=2.6.12
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