CVE-2025-38697

published 4 Sep 2025 · updated 5 Aug 2026

jfs: upper bound check of tree index in dbAllocAG

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1467a75819e41341cd5ebd16faa2af1ca3c8f4fe, Kernel 173cfd741ad7073640bfb7e2344c2a0ee005e769, Kernel 2dd05f09cc323018136a7ecdb3d1007be9ede27f and 6 more.

In the Linux kernel, the following vulnerability has been resolved: jfs: upper bound check of tree index in dbAllocAG When computing the tree index in dbAllocAG, we never check if we are out of bounds realative to the size of the stree. This could happen in a scenario where the filesystem metadata are corrupted.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=2.6.12, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <1467a75819e41341cd5ebd16faa2af1ca3c8f4fe, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <173cfd741ad7073640bfb7e2344c2a0ee005e769, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2dd05f09cc323018136a7ecdb3d1007be9ede27f, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <30e19a884c0b11f33821aacda7e72e914bec26ef, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <49ea46d9025aa1914b24ea957636cbe4367a7311, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <5bdb9553fb134fd52ec208a8b378120670f6e784, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <a4f199203f79ca9cd7355799ccb26800174ff093, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <c214006856ff52a8ff17ed8da52d50601d54f9ce, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <c8ca21a2836993d7cb816668458e05e598574e551467a75819e41341cd5ebd16faa2af1ca3c8f4fe, 173cfd741ad7073640bfb7e2344c2a0ee005e769, 2dd05f09cc323018136a7ecdb3d1007be9ede27f, 30e19a884c0b11f33821aacda7e72e914bec26ef, 49ea46d9025aa1914b24ea957636cbe4367a7311, 5bdb9553fb134fd52ec208a8b378120670f6e784, a4f199203f79ca9cd7355799ccb26800174ff093, c214006856ff52a8ff17ed8da52d50601d54f9ce, c8ca21a2836993d7cb816668458e05e598574e55

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38697 severity on Zeptric[![CVE-2025-38697](https://zeptric.io/badge/cve/CVE-2025-38697.svg)](https://zeptric.io/cve/CVE-2025-38697)