Kernel compromise via unchecked JFS tree index
Published Sep 4, 2025 · Updated Aug 5, 2026
Improper input validation in Linux JFS allows local users to read or corrupt kernel memory and panic the system via a crafted filesystem. The dbAllocAG function derives ti from allocation-group metadata and uses it to index the dmapctl stree without checking ti against the tree's nleafs bound. Reachability requires a crafted JFS image to be mounted and a block-allocation operation to traverse the corrupted metadata; consequences include kernel-memory disclosure, filesystem corruption, and a kernel panic.
Summary
What happened
Improper input validation in Linux JFS allows local users to read or corrupt kernel memory and panic the system via a crafted filesystem. The dbAllocAG function derives ti from allocation-group metadata and uses it to index the dmapctl stree without checking ti against the tree's nleafs bound. Reachability requires a crafted JFS image to be mounted and a block-allocation operation to traverse the corrupted metadata; consequences include kernel-memory disclosure, filesystem corruption, and a kernel panic.
The record
- CVE
- CVE-2025-38697
- Published
- Sep 4, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-20, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 4, 2025CVE 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 <1467a75819e41341cd5ebd16faa2af1ca3c8f4fe
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <173cfd741ad7073640bfb7e2344c2a0ee005e769
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2dd05f09cc323018136a7ecdb3d1007be9ede27f
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <30e19a884c0b11f33821aacda7e72e914bec26ef
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <49ea46d9025aa1914b24ea957636cbe4367a7311
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <5bdb9553fb134fd52ec208a8b378120670f6e784
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <a4f199203f79ca9cd7355799ccb26800174ff093
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <c214006856ff52a8ff17ed8da52d50601d54f9ce
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <c8ca21a2836993d7cb816668458e05e598574e55
- 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