jfs: fix array-index-out-of-bounds read in add_missing_indices
CVE-2025-38204 · published 4 Jul 2025
How serious is it
- Severity: high, CVSS score 7.8 out of 10.
- No exploit prediction (EPSS) score yet.
- Not on the CISA list of exploited vulnerabilities.
- No public exploit in Exploit-DB.
Is your app affected by CVE-2025-38204?
Paste this prompt into Claude Code, Cursor or any AI coding tool: it runs a free Shippable scan of your project and fixes what it finds. Built with Lovable, Bolt or v0? Scan your live app. Or upload your package file.
Who is affected
- Linux Linux: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 81af4b34fd72d390d7f237c6a545cc6d09707956, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < bfa4655d28f338e68d345aed80d19be7999bbce2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 44618bee303bed151ef3a525ff79fbd7689593b5, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < c8733634978086b41255695d993cec3017a23a27
- Linux Linux: 2.6.12
How to check
- Find out whether you run the affected product and which version, then compare it with the versions above.
How to fix
Copies a prompt for Claude Code, Cursor or Codex that asks it to check whether you run this product.
- Apply the vendor's update or mitigation from the references below. If there is none yet, limit exposure of the affected service until there is.
- If a vulnerable version was live, check your logs and rotate the secrets that server could read.
The advisory
In the Linux kernel, the following vulnerability has been resolved:
jfs: fix array-index-out-of-bounds read in add_missing_indices
stbl is s8 but it must contain offsets into slot which can go from 0 to
127.
Added a bound check for that error and return -EIO if the check fails.
Also make jfs_readdir return with error if add_missing_indices returns
with an error.
Check your whole app
Dependencies are only half of it. Free and read-only: before you push, run npx shippable-dev scan localhost:3000 in your project folder, no account needed. For your live app, you prove it's yours with a one-line tag first.
References
- git.kernel.org/stable/c/81af4b34fd72d390d7f237c6a545cc6d09707956
- git.kernel.org/stable/c/bfa4655d28f338e68d345aed80d19be7999bbce2
- git.kernel.org/stable/c/44618bee303bed151ef3a525ff79fbd7689593b5
- git.kernel.org/stable/c/c8733634978086b41255695d993cec3017a23a27
- git.kernel.org/stable/c/2ec34dc7094b14149ce091c77aff43a45d255518
- git.kernel.org/stable/c/c8399564a58fb6ea2ff21a6fd278417943cb51a5
- git.kernel.org/stable/c/5dff41a86377563f7a2b968aae00d25b4ceb37c9
Merged from CVE List. Last updated 25 Oct 2026. All vulnerabilities · RSS · JSON