CVE-2025-38204
jfs: fix array-index-out-of-bounds read in add_missing_indices
Mitigation
- Upgrade Linux to 5dff41a86377563f7a2b968aae00d25b4ceb37c9 or later.
Who should check
- Anyone running Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 81af4b34fd72d390d7f237c6a545cc6d09707956; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < bfa4655d28f338e68d345aed80d19be7999bbce2; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 44618bee303bed151ef3a525ff79fbd7689593b5; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5730e2da0655336fed6aa3c25892e69e2ba5cb76; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c8733634978086b41255695d993cec3017a23a27; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2ec34dc7094b14149ce091c77aff43a45d255518; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c8399564a58fb6ea2ff21a6fd278417943cb51a5; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5dff41a86377563f7a2b968aae00d25b4ceb37c9
- Anyone running Linux 2.6.12
Vulnerability facts
- Affected
- Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 81af4b34fd72d390d7f237c6a545cc6d09707956; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < bfa4655d28f338e68d345aed80d19be7999bbce2; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 44618bee303bed151ef3a525ff79fbd7689593b5; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5730e2da0655336fed6aa3c25892e69e2ba5cb76; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c8733634978086b41255695d993cec3017a23a27; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2ec34dc7094b14149ce091c77aff43a45d255518; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c8399564a58fb6ea2ff21a6fd278417943cb51a5; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5dff41a86377563f7a2b968aae00d25b4ceb37c9; Linux 2.6.12
- Fixed in
- Linux 81af4b34fd72d390d7f237c6a545cc6d09707956, Linux 44618bee303bed151ef3a525ff79fbd7689593b5, Linux 5730e2da0655336fed6aa3c25892e69e2ba5cb76, Linux 2ec34dc7094b14149ce091c77aff43a45d255518, Linux 5dff41a86377563f7a2b968aae00d25b4ceb37c9
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- CWE
- CWE-125
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 81af4b34fd72d390d7f237c6a545cc6d09707956; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < bfa4655d28f338e68d345aed80d19be7999bbce2; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 44618bee303bed151ef3a525ff79fbd7689593b5; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5730e2da0655336fed6aa3c25892e69e2ba5cb76; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c8733634978086b41255695d993cec3017a23a27; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2ec34dc7094b14149ce091c77aff43a45d255518; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c8399564a58fb6ea2ff21a6fd278417943cb51a5; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5dff41a86377563f7a2b968aae00d25b4ceb37c9 | — | cvelist |
| Linux | 2.6.12 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-38204. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38204.md Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 81af4b34fd72d390d7f237c6a545cc6d09707956; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < bfa4655d28f338e68d345aed80d19be7999bbce2; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 44618bee303bed151ef3a525ff79fbd7689593b5; >= 1da177e4c3f41524e886b7f… Fixed in: Linux 81af4b34fd72d390d7f237c6a545cc6d09707956, Linux 44618bee303bed151ef3a525ff79fbd7689593b5, Linux 5730e2da0655336fed6aa3c25892e69e2ba5cb76, Linux 2ec34dc7094b14149ce091c77aff43a45d255518, Linux 5dff41a86377563f7a2b968aae00d25b4ceb37c9 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/81af4b34fd72d390d7f237c6a545cc6d09707956
- https://git.kernel.org/stable/c/bfa4655d28f338e68d345aed80d19be7999bbce2
- https://git.kernel.org/stable/c/44618bee303bed151ef3a525ff79fbd7689593b5
- https://git.kernel.org/stable/c/c8399564a58fb6ea2ff21a6fd278417943cb51a5
- https://git.kernel.org/stable/c/5dff41a86377563f7a2b968aae00d25b4ceb37c9
FAQ
Is CVE-2025-38204 being exploited?
There is no confirmed exploitation: CVE-2025-38204 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38204?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2025-38204?
Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 81af4b34fd72d390d7f237c6a545cc6d09707956; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < bfa4655d28f338e68d345aed80d19be7999bbce2; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 44618bee303bed151ef3a525ff79fbd7689593b5; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5730e2da0655336fed6aa3c25892e69e2ba5cb76; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c8733634978086b41255695d993cec3017a23a27; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2ec34dc7094b14149ce091c77aff43a45d255518; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c8399564a58fb6ea2ff21a6fd278417943cb51a5; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5dff41a86377563f7a2b968aae00d25b4ceb37c9; Linux 2.6.12.
Is there a fix for CVE-2025-38204?
Yes. Fixed in Linux 81af4b34fd72d390d7f237c6a545cc6d09707956, Linux 44618bee303bed151ef3a525ff79fbd7689593b5, Linux 5730e2da0655336fed6aa3c25892e69e2ba5cb76, Linux 2ec34dc7094b14149ce091c77aff43a45d255518, Linux 5dff41a86377563f7a2b968aae00d25b4ceb37c9. Upgrade Linux to 5dff41a86377563f7a2b968aae00d25b4ceb37c9 or later.
How do I check if I'm affected by CVE-2025-38204?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.