Kernel crash via zero JFS allocation-group width
Published May 1, 2025 · Updated May 11, 2026
Divide-by-zero in the Linux kernel JFS allocator allows local users to crash the kernel by mounting a crafted JFS image. A zero allocation-group width read from dmapctl metadata reaches dbAllocAG, where control-page level calculation divides by that unchecked value. The trigger requires local access and the ability to cause the malformed filesystem to be mounted; the bounded consequence is a kernel crash.
Summary
What happened
Divide-by-zero in the Linux kernel JFS allocator allows local users to crash the kernel by mounting a crafted JFS image. A zero allocation-group width read from dmapctl metadata reaches dbAllocAG, where control-page level calculation divides by that unchecked value. The trigger requires local access and the ability to cause the malformed filesystem to be mounted; the bounded consequence is a kernel crash.
The record
- CVE
- CVE-2025-37740
- Published
- May 1, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-369, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 1, 2025CVE 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=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <722e72f7f9c69fcb3ab7988c2471feff7a4c8de1
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <a065cec230aa807c18828a3eee82f1c8592c2adf
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <a260bf14cd347878f01f70739ba829442a474a16
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <a741f29ac8b6374c9904be8b7ac7cdfcd7e7e4fa
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <c8c96a9e7660e5e5eea445978fe8f2e432d91c1f
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <cc0bc4cb62ce5fa0c383e3bf0765d01f46bd49ac
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <ccd97c8a4f90810f228ee40d1055148fa146dd57
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <ddf2846f22e8575d6b4b6a66f2100f168b8cd73d
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <e3f85edb03183fb06539e5b50dd2c4bb42b869f0
- Affected versionversion=2.6.12
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