CVE-2025-38697 jfs: upper bound check of tree index in dbAllocAG
A missing bounds check in the JFS filesystem allows attackers to cause a denial of service via corrupted metadata.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-38697?
CVE-2025-38697 is a high-severity vulnerability in Debian Debian Linux, published on 4 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-129
Which versions are affected by CVE-2025-38697?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2025-38697?
Apply the vendor's patch.
Is CVE-2025-38697 being exploited?
There is no known exploitation of CVE-2025-38697 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as BELL-CVE-2025-38697, DEBIAN-CVE-2025-38697, GHSA-323x-vj5p-jwh3, ROOT-OS-DEBIAN-11-CVE-2025-38697, ROOT-OS-DEBIAN-12-CVE-2025-38697, ROOT-OS-UBUNTU-2204-CVE-2025-38697 and 2 more.