CVE-2025-38697
jfs: upper bound check of tree index in dbAllocAG
Description
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.
INFO
Published Date :
Sept. 4, 2025, 4:15 p.m.
Last Modified :
Jan. 26, 2026, 10:01 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update the Linux kernel to the latest version.
- Apply the specific patch for the jfs module.
- Verify filesystem integrity after updating.
- Reboot the system to apply kernel changes.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-38697.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-38697 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-38697
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-38697 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-38697 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jan. 26, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-129 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:2.6.12:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:2.6.12:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:2.6.12:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:2.6.12:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:2.6.12:-:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.103 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.43 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.190 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.241 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.15.11 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.16 up to (excluding) 6.16.2 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.149 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 2.6.12.1 up to (excluding) 5.4.297 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Added Reference Type kernel.org: https://git.kernel.org/stable/c/1467a75819e41341cd5ebd16faa2af1ca3c8f4fe Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/173cfd741ad7073640bfb7e2344c2a0ee005e769 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/2dd05f09cc323018136a7ecdb3d1007be9ede27f Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/30e19a884c0b11f33821aacda7e72e914bec26ef Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/49ea46d9025aa1914b24ea957636cbe4367a7311 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/5bdb9553fb134fd52ec208a8b378120670f6e784 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/a4f199203f79ca9cd7355799ccb26800174ff093 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c214006856ff52a8ff17ed8da52d50601d54f9ce Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c8ca21a2836993d7cb816668458e05e598574e55 Types: Patch Added Reference Type CVE: https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html Types: Third Party Advisory Added Reference Type CVE: https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html Types: Third Party Advisory -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 03, 2025
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html Added Reference https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Sep. 04, 2025
Action Type Old Value New Value Added Description 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. Added Reference https://git.kernel.org/stable/c/1467a75819e41341cd5ebd16faa2af1ca3c8f4fe Added Reference https://git.kernel.org/stable/c/173cfd741ad7073640bfb7e2344c2a0ee005e769 Added Reference https://git.kernel.org/stable/c/2dd05f09cc323018136a7ecdb3d1007be9ede27f Added Reference https://git.kernel.org/stable/c/30e19a884c0b11f33821aacda7e72e914bec26ef Added Reference https://git.kernel.org/stable/c/49ea46d9025aa1914b24ea957636cbe4367a7311 Added Reference https://git.kernel.org/stable/c/5bdb9553fb134fd52ec208a8b378120670f6e784 Added Reference https://git.kernel.org/stable/c/a4f199203f79ca9cd7355799ccb26800174ff093 Added Reference https://git.kernel.org/stable/c/c214006856ff52a8ff17ed8da52d50601d54f9ce Added Reference https://git.kernel.org/stable/c/c8ca21a2836993d7cb816668458e05e598574e55