# CVE-2025-38204: jfs: fix array-index-out-of-bounds read in add_missing_indices

CVE-2025-38204 is fixed in 51 products on 1 platform, first by DEBIAN-CVE-2025-38204, released July 4, 2025. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2025-38204
- Priority: High
- CVSS: 7.1 (high)
- EPSS: 0.0024
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 4, 2025
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-38204

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | bpftool6.12 amzn 2023 | 1:6.12.40-64.114.amzn2023 | [ALAS2023-2025-1170](https://patchblox.com/security/data/fix/linux/alas2023-2025-1170.md) | Aug 26, 2025 |
| Linux | bpftool6.12-debuginfo amzn 2023 | 1:6.12.40-64.114.amzn2023 | [ALAS2023-2025-1170](https://patchblox.com/security/data/fix/linux/alas2023-2025-1170.md) | Aug 26, 2025 |
| Linux | dtb-aarch64 opensuse-leap 15.6 | 6.4.0-150600.23.65.1 | [SUSE-SU-2025:02996-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02996-1.md) | Aug 27, 2025 |
| Linux | kernel-64kb opensuse-leap 15.6 | 6.4.0-150600.23.65.1 | [SUSE-SU-2025:02996-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02996-1.md) | Aug 27, 2025 |
| Linux | kernel-64kb sles 15.6 | 6.4.0-150600.23.65.1 | [SUSE-SU-2025:02996-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02996-1.md) | Aug 27, 2025 |
| Linux | kernel-64kb sles 15.7 | 6.4.0-150700.53.11.1 | [SUSE-SU-2025:02997-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02997-1.md) | Aug 27, 2025 |
| Linux | kernel-azure opensuse-leap 15.6 | 6.4.0-150600.8.48.1 | [SUSE-SU-2025:02969-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02969-1.md) | Aug 25, 2025 |
| Linux | kernel-azure sles 15.6 | 6.4.0-150600.8.48.1 | [SUSE-SU-2025:02969-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02969-1.md) | Aug 25, 2025 |
| Linux | kernel-azure sles 15.7 | 6.4.0-150700.20.11.1 | [SUSE-SU-2025:03011-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03011-1.md) | Aug 28, 2025 |
| Linux | kernel-coco sles 15.6 | 6.4.0-15061.28.coco15sp6.1 | [SUSE-SU-2025:02923-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02923-1.md) | Aug 20, 2025 |
| Linux | kernel-coco_debug sles 15.6 | 6.4.0-15061.28.coco15sp6.1 | [SUSE-SU-2025:02923-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02923-1.md) | Aug 20, 2025 |
| Linux | kernel-debug opensuse-leap 15.6 | 6.4.0-150600.23.65.1 | [SUSE-SU-2025:02996-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02996-1.md) | Aug 27, 2025 |
| Linux | kernel-default opensuse-leap 15.6 | 6.4.0-150600.23.65.1 | [SUSE-SU-2025:02996-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02996-1.md) | Aug 27, 2025 |
| Linux | kernel-default sles 15.6 | 6.4.0-150600.23.65.1 | [SUSE-SU-2025:02996-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02996-1.md) | Aug 27, 2025 |
| Linux | kernel-default sles 15.7 | 6.4.0-150700.53.11.1 | [SUSE-SU-2025:02997-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02997-1.md) | Aug 27, 2025 |
| Linux | kernel-default-base opensuse-leap 15.6 | 6.4.0-150600.23.65.1.150600.12.28.4 | [SUSE-SU-2025:02996-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02996-1.md) | Aug 27, 2025 |
| Linux | kernel-default-base sles 15.6 | 6.4.0-150600.23.65.1.150600.12.28.4 | [SUSE-SU-2025:02996-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02996-1.md) | Aug 27, 2025 |
| Linux | kernel-default-base sles 15.7 | 6.4.0-150700.53.11.1.150700.17.9.4 | [SUSE-SU-2025:02997-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02997-1.md) | Aug 27, 2025 |
| Linux | kernel-docs opensuse-leap 15.6 | 6.4.0-150600.23.65.1 | [SUSE-SU-2025:02996-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02996-1.md) | Aug 27, 2025 |
| Linux | kernel-docs sles 15.6 | 6.4.0-150600.23.65.1 | [SUSE-SU-2025:02996-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02996-1.md) | Aug 27, 2025 |
| Linux | kernel-docs sles 15.7 | 6.4.0-150700.53.11.3 | [SUSE-SU-2025:02997-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02997-1.md) | Aug 27, 2025 |
| Linux | kernel-kvmsmall opensuse-leap 15.6 | 6.4.0-150600.23.65.1 | [SUSE-SU-2025:02996-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02996-1.md) | Aug 27, 2025 |
| Linux | kernel-livepatch-6.12.40-64.114 amzn 2023 | 1:1.0-0.amzn2023 | [ALAS2023-2025-1170](https://patchblox.com/security/data/fix/linux/alas2023-2025-1170.md) | Aug 26, 2025 |
| Linux | kernel-livepatch-SLE15-SP6-RT_Update_14 sles 15.6 | 1-150600.1.5.1 | [SUSE-SU-2025:03023-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03023-1.md) | Aug 29, 2025 |
| Linux | kernel-livepatch-SLE15-SP6_Update_14 sles 15.6 | 1-150600.13.3.4 | [SUSE-SU-2025:02996-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02996-1.md) | Aug 27, 2025 |
| Linux | kernel-livepatch-SLE15-SP7-RT_Update_3 sles 15.7 | 1-150700.1.5.1 | [SUSE-SU-2025:02853-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02853-1.md) | Aug 18, 2025 |
| Linux | kernel-livepatch-SLE15-SP7_Update_3 sles 15.7 | 1-150700.15.3.4 | [SUSE-SU-2025:02997-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02997-1.md) | Aug 27, 2025 |
| Linux | kernel-obs-build opensuse-leap 15.6 | 6.4.0-150600.23.65.1 | [SUSE-SU-2025:02996-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02996-1.md) | Aug 27, 2025 |
| Linux | kernel-obs-build sles 15.6 | 6.4.0-150600.23.65.1 | [SUSE-SU-2025:02996-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02996-1.md) | Aug 27, 2025 |
| Linux | kernel-obs-build sles 15.7 | 6.4.0-150700.53.11.1 | [SUSE-SU-2025:02997-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02997-1.md) | Aug 27, 2025 |
| Linux | kernel-obs-qa opensuse-leap 15.6 | 6.4.0-150600.23.65.1 | [SUSE-SU-2025:02996-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02996-1.md) | Aug 27, 2025 |
| Linux | kernel-rt opensuse-leap 15.6 | 6.4.0-150600.10.49.1 | [SUSE-SU-2025:03023-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03023-1.md) | Aug 29, 2025 |
| Linux | kernel-rt_debug opensuse-leap 15.6 | 6.4.0-150600.10.49.1 | [SUSE-SU-2025:03023-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03023-1.md) | Aug 29, 2025 |
| Linux | kernel-source opensuse-leap 15.6 | 6.4.0-150600.23.65.1 | [SUSE-SU-2025:02996-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02996-1.md) | Aug 27, 2025 |
| Linux | kernel-source sles 15.6 | 6.4.0-150600.23.65.1 | [SUSE-SU-2025:02996-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02996-1.md) | Aug 27, 2025 |
| Linux | kernel-source sles 15.7 | 6.4.0-150700.53.11.1 | [SUSE-SU-2025:02997-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02997-1.md) | Aug 27, 2025 |
| Linux | kernel-source-azure opensuse-leap 15.6 | 6.4.0-150600.8.48.1 | [SUSE-SU-2025:02969-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02969-1.md) | Aug 25, 2025 |
| Linux | kernel-source-azure sles 15.6 | 6.4.0-150600.8.48.1 | [SUSE-SU-2025:02969-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02969-1.md) | Aug 25, 2025 |
| Linux | kernel-source-azure sles 15.7 | 6.4.0-150700.20.11.1 | [SUSE-SU-2025:03011-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03011-1.md) | Aug 28, 2025 |
| Linux | kernel-source-coco sles 15.6 | 6.4.0-15061.28.coco15sp6.1 | [SUSE-SU-2025:02923-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02923-1.md) | Aug 20, 2025 |
| Linux | kernel-source-rt opensuse-leap 15.6 | 6.4.0-150600.10.49.1 | [SUSE-SU-2025:03023-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03023-1.md) | Aug 29, 2025 |
| Linux | kernel-syms opensuse-leap 15.6 | 6.4.0-150600.23.65.1 | [SUSE-SU-2025:02996-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02996-1.md) | Aug 27, 2025 |
| Linux | kernel-syms sles 15.6 | 6.4.0-150600.23.65.1 | [SUSE-SU-2025:02996-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02996-1.md) | Aug 27, 2025 |
| Linux | kernel-syms sles 15.7 | 6.4.0-150700.53.11.1 | [SUSE-SU-2025:02997-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02997-1.md) | Aug 27, 2025 |
| Linux | kernel-syms-azure opensuse-leap 15.6 | 6.4.0-150600.8.48.1 | [SUSE-SU-2025:02969-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02969-1.md) | Aug 25, 2025 |
| Linux | kernel-syms-azure sles 15.6 | 6.4.0-150600.8.48.1 | [SUSE-SU-2025:02969-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02969-1.md) | Aug 25, 2025 |
| Linux | kernel-syms-azure sles 15.7 | 6.4.0-150700.20.11.1 | [SUSE-SU-2025:03011-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03011-1.md) | Aug 28, 2025 |
| Linux | kernel-syms-coco sles 15.6 | 6.4.0-15061.28.coco15sp6.1 | [SUSE-SU-2025:02923-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02923-1.md) | Aug 20, 2025 |
| Linux | kernel-syms-rt opensuse-leap 15.6 | 6.4.0-150600.10.49.1 | [SUSE-SU-2025:03023-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03023-1.md) | Aug 29, 2025 |
| Linux | kernel-zfcpdump opensuse-leap 15.6 | 6.4.0-150600.23.65.1 | [SUSE-SU-2025:02996-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02996-1.md) | Aug 27, 2025 |
| Linux | kernel-zfcpdump sles 15.6 | 6.4.0-150600.23.65.1 | [SUSE-SU-2025:02996-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02996-1.md) | Aug 27, 2025 |
| Linux | kernel-zfcpdump sles 15.7 | 6.4.0-150700.53.11.1 | [SUSE-SU-2025:02997-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02997-1.md) | Aug 27, 2025 |
| Linux | kernel6.12 amzn 2023 | 1:6.12.40-64.114.amzn2023 | [ALAS2023-2025-1170](https://patchblox.com/security/data/fix/linux/alas2023-2025-1170.md) | Aug 26, 2025 |
| Linux | kernel6.12-debuginfo amzn 2023 | 1:6.12.40-64.114.amzn2023 | [ALAS2023-2025-1170](https://patchblox.com/security/data/fix/linux/alas2023-2025-1170.md) | Aug 26, 2025 |
| Linux | kernel6.12-debuginfo-common-aarch64 amzn 2023 | 1:6.12.40-64.114.amzn2023 | [ALAS2023-2025-1170](https://patchblox.com/security/data/fix/linux/alas2023-2025-1170.md) | Aug 26, 2025 |
| Linux | kernel6.12-debuginfo-common-x86_64 amzn 2023 | 1:6.12.40-64.114.amzn2023 | [ALAS2023-2025-1170](https://patchblox.com/security/data/fix/linux/alas2023-2025-1170.md) | Aug 26, 2025 |
| Linux | kernel6.12-devel amzn 2023 | 1:6.12.40-64.114.amzn2023 | [ALAS2023-2025-1170](https://patchblox.com/security/data/fix/linux/alas2023-2025-1170.md) | Aug 26, 2025 |
| Linux | kernel6.12-headers amzn 2023 | 1:6.12.40-64.114.amzn2023 | [ALAS2023-2025-1170](https://patchblox.com/security/data/fix/linux/alas2023-2025-1170.md) | Aug 26, 2025 |
| Linux | kernel6.12-libbpf amzn 2023 | 1:6.12.40-64.114.amzn2023 | [ALAS2023-2025-1170](https://patchblox.com/security/data/fix/linux/alas2023-2025-1170.md) | Aug 26, 2025 |
| Linux | kernel6.12-libbpf-debuginfo amzn 2023 | 1:6.12.40-64.114.amzn2023 | [ALAS2023-2025-1170](https://patchblox.com/security/data/fix/linux/alas2023-2025-1170.md) | Aug 26, 2025 |
| Linux | kernel6.12-libbpf-devel amzn 2023 | 1:6.12.40-64.114.amzn2023 | [ALAS2023-2025-1170](https://patchblox.com/security/data/fix/linux/alas2023-2025-1170.md) | Aug 26, 2025 |
| Linux | kernel6.12-libbpf-static amzn 2023 | 1:6.12.40-64.114.amzn2023 | [ALAS2023-2025-1170](https://patchblox.com/security/data/fix/linux/alas2023-2025-1170.md) | Aug 26, 2025 |
| Linux | kernel6.12-modules-extra amzn 2023 | 1:6.12.40-64.114.amzn2023 | [ALAS2023-2025-1170](https://patchblox.com/security/data/fix/linux/alas2023-2025-1170.md) | Aug 26, 2025 |
| Linux | kernel6.12-modules-extra-common amzn 2023 | 1:6.12.40-64.114.amzn2023 | [ALAS2023-2025-1170](https://patchblox.com/security/data/fix/linux/alas2023-2025-1170.md) | Aug 26, 2025 |
| Linux | kernel6.12-tools amzn 2023 | 1:6.12.40-64.114.amzn2023 | [ALAS2023-2025-1170](https://patchblox.com/security/data/fix/linux/alas2023-2025-1170.md) | Aug 26, 2025 |
| Linux | kernel6.12-tools-debuginfo amzn 2023 | 1:6.12.40-64.114.amzn2023 | [ALAS2023-2025-1170](https://patchblox.com/security/data/fix/linux/alas2023-2025-1170.md) | Aug 26, 2025 |
| Linux | kernel6.12-tools-devel amzn 2023 | 1:6.12.40-64.114.amzn2023 | [ALAS2023-2025-1170](https://patchblox.com/security/data/fix/linux/alas2023-2025-1170.md) | Aug 26, 2025 |
| Linux | linux Debian 13.5 (trixie) | 6.12.113-1 | [DEBIAN-CVE-2025-38204](https://patchblox.com/security/data/fix/linux/debian-cve-2025-38204.md) | Jul 4, 2025 |
| Linux | linux Debian 14 | 6.16.3-1 | [DEBIAN-CVE-2025-38204](https://patchblox.com/security/data/fix/linux/debian-cve-2025-38204.md) | Jul 4, 2025 |
| Linux | linux-6.12 Debian 12.15 (bookworm) | 6.12.113-1~deb12u1 | [DEBIAN-CVE-2025-38204](https://patchblox.com/security/data/fix/linux/debian-cve-2025-38204.md) | Jul 4, 2025 |
| Linux | perf6.12 amzn 2023 | 1:6.12.40-64.114.amzn2023 | [ALAS2023-2025-1170](https://patchblox.com/security/data/fix/linux/alas2023-2025-1170.md) | Aug 26, 2025 |
| Linux | perf6.12-debuginfo amzn 2023 | 1:6.12.40-64.114.amzn2023 | [ALAS2023-2025-1170](https://patchblox.com/security/data/fix/linux/alas2023-2025-1170.md) | Aug 26, 2025 |
| Linux | python3-perf6.12 amzn 2023 | 1:6.12.40-64.114.amzn2023 | [ALAS2023-2025-1170](https://patchblox.com/security/data/fix/linux/alas2023-2025-1170.md) | Aug 26, 2025 |
| Linux | python3-perf6.12-debuginfo amzn 2023 | 1:6.12.40-64.114.amzn2023 | [ALAS2023-2025-1170](https://patchblox.com/security/data/fix/linux/alas2023-2025-1170.md) | Aug 26, 2025 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
