Kernel memory corruption via unchecked JFS geometry
Published Sep 15, 2025 · Updated Sep 15, 2025
Out-of-bounds memory access in the Linux kernel JFS driver allows local users to corrupt memory via a crafted JFS image. The dbMount path trusts attacker-controlled mapsize and agl2size values from the block-map descriptor, permitting an allocation-group index beyond the db_agfree array and an invalid shift in dbDiscardAG. A victim or automount service must mount the image; subsequent FITRIM or allocation causes kernel heap corruption or a host panic.
Summary
What happened
Out-of-bounds memory access in the Linux kernel JFS driver allows local users to corrupt memory via a crafted JFS image. The dbMount path trusts attacker-controlled mapsize and agl2size values from the block-map descriptor, permitting an allocation-group index beyond the db_agfree array and an invalid shift in dbDiscardAG. A victim or automount service must mount the image; subsequent FITRIM or allocation causes kernel heap corruption or a host panic.
The record
- CVE
- CVE-2022-50333
- Published
- Sep 15, 2025
- Updated
- Sep 15, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1200
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 15, 2025CVE publishedPublication date reported by the CVE source.
- Sep 15, 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=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <0183c8f46ab5bcd0740f41c87f5141c6ca2bf1bb
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <10b87da8fae79c7daf5eda6a9e4f1d31b85b4d92
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <25e70c6162f207828dd405b432d8f2a98dbf7082
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <3d340b684dcec5e34efc470227cd1c7d2df121ad
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <50163a115831ef4e6402db5a7ef487d1989d7249
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <624843f1bac448150f6859999c72c4841c14a2e3
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <911999b193735cd378517b6cd5fe585ee345d49c
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <ab5cd3d62c2493eca3337e7d0178cc7bd819ca64
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <f8d4d0bac603616e2fa4a3907e81ed13f8f3c380
What conditions does exploitation require?
What is affected?
Published CVSS scores
No CVSS assessment is available in this record.
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