# CVE-2025-38204: jfs: fix array-index-out-of-bounds read in add\_missing\_indices

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-07-04 · Modified: 2026-10-30
- Aliases: UBUNTU-CVE-2025-38204, DEBIAN-CVE-2025-38204, CGA-24c2-9hcc-h82m, CGA-2543-p765-9r8g, CGA-25rf-c7ph-xjm9, CGA-2645-fc65-hx6m, CGA-2g79-rwj6-5mmh, CGA-2j89-2vw7-qqg5, CGA-2w2p-94mv-9hfr, CGA-2w9r-49j2-3rj8, CGA-32f9-q5hf-9rg5, CGA-354h-hrgh-55mq, CGA-358q-gqjj-jhgh, CGA-366h-2vq6-jhpv, CGA-3c26-f6f8-2wrc, CGA-3qw2-xf5g-5vg9, CGA-3rfm-x65w-f8x4, CGA-3w95-26h5-37wv, CGA-5345-cx2x-4vfm, CGA-55w3-q894-m579, CGA-595r-66hp-qv58, CGA-5g74-rvfm-4xmf, CGA-5hx7-2v7x-fpvm, CGA-5mxp-34mx-jchx, CGA-5pxq-qrr8-2xrf, CGA-678j-fx7m-267q, CGA-6993-r3xj-cr92, CGA-6hf2-px92-9gx5, CGA-6j2v-766q-6wj8, CGA-6m2c-v676-w65m, CGA-6mf9-pf99-352x, CGA-6mh8-j63r-3hq7, CGA-6p2j-pwj6-wp75, CGA-734x-wqjg-g42h, CGA-75p9-5jj7-xf2h, CGA-76rv-9j23-qpjg, CGA-7qhx-f3x9-gvj2, CGA-7qvc-68g4-pgjq, CGA-7rq7-hmxr-p978, CGA-7v97-3cmw-qwxc, CGA-7wwr-mq88-9pvh, CGA-87gv-x278-fjhg, CGA-88q7-vv7m-v23x, CGA-8gfh-fqmp-j2c7, CGA-8h7j-p357-8w6x, CGA-8jm2-9rfw-9pgc, CGA-8v9x-mgpg-ww3v, CGA-9g8g-3q86-jvmh, CGA-9gvj-v87v-v344, CGA-9j9q-pcc8-crrp, CGA-9r9v-fhw9-8rwj, CGA-c23r-w5m6-fh54, CGA-c6jr-9grm-5r46, CGA-c99q-9v84-jvvr, CGA-cgmf-pm7m-8r9g, CGA-cxm8-cghj-93rv, CGA-fcf3-g69f-hw4v, CGA-fpcx-7wxm-gx95, CGA-frc8-7wfc-hx4r, CGA-g4p4-gwgf-h27r, CGA-g6mm-2g2g-frfw, CGA-gh25-mjx6-6j3j, CGA-gx49-xcj9-pf83, CGA-hhmr-ww28-9xf3, CGA-hmvh-m92x-4hph, CGA-hv76-vxcv-787q, CGA-hx6g-9vjw-6mv3, CGA-m3jh-89pw-cgr3, CGA-mfg5-47w2-jw5j, CGA-mfm5-fgmj-j2q7, CGA-mw25-fr53-4vwq, CGA-p3cx-qjx3-4r4m, CGA-p767-gwp6-725p, CGA-p8m5-m5wx-h465, CGA-p8q7-3r3r-5q6x, CGA-p9x3-44w5-77m6, CGA-pph3-2hw3-m72p, CGA-prfq-rm59-4rrr, CGA-q637-5887-3wcg, CGA-q65p-rqmw-v3m2, CGA-qhrg-gw3r-r93r, CGA-qhww-8gxj-gg6m, CGA-qpcx-w23j-p6g5, CGA-r3fr-6xc7-7qr8, CGA-r3pg-6r9f-vqr8, CGA-r48g-3jr9-93w9, CGA-r694-7v68-jjj9, CGA-rm99-c8cq-j5jr, CGA-rwh9-jmp4-q7gj, CGA-v5fc-m9fv-337q, CGA-v5jf-q5j6-jq37, CGA-vj3h-w88p-wrcr, CGA-vjmv-r7cf-vw6f, CGA-vp9j-5x85-g4r4, CGA-vx55-cp22-pxmq, CGA-w36v-5wcw-77x8, CGA-wxpf-96jm-f6xh, CGA-xp58-8cr6-cc3m, CGA-xr3p-v3m5-wjj8
- Record: https://cvemate.com/vulnerability/CVE-2025-38204 · JSON: https://cvemate.com/vulnerability/CVE-2025-38204/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.25%, percentile 17.488%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 158)

- chainguard linux-aws-6.12 (Chainguard): \< 6.12.78-r0 \| \< 6.12.77-r2 \| \< 6.12.65-r2 \| \< 6.12.68-r1 \| \< 6.12.77-r1 \| \< 6.12.77-r0 \| \< 6.12.66-r0 \| \< 6.12.72-r1 \| \< 6.12.74-r0 \| \< 6.12.65-r1 \| \< 6.12.68-r0 \| \< 6.12.65-r0 \| \< 6.12.71-r0 \| \< 6.12.70-r0 \| \< 6.12.76-r0 \| \< 6.12.69-r0 \| \< 6.12.67-r0 \| \< 6.12.80-r0 \| \< 6.12.74-r1 \| \< 6.12.72-r0
- chainguard linux-azure-6.12 (Chainguard): \< 6.12.77-r2 \| \< 6.12.68-r0 \| \< 6.12.70-r0 \| \< 6.12.72-r0 \| \< 6.12.74-r1 \| \< 6.12.65-r2 \| \< 6.12.65-r1 \| \< 6.12.80-r0 \| \< 6.12.65-r4 \| \< 6.12.78-r0 \| \< 6.12.77-r0 \| \< 6.12.77-r1 \| \< 6.12.71-r0 \| \< 6.12.76-r0 \| \< 6.12.69-r0 \| \< 6.12.67-r0 \| \< 6.12.66-r0 \| \< 6.12.65-r3 \| \< 6.12.74-r0
- chainguard linux-gcp-6.12 (Chainguard): \< 6.12.67-r0 \| \< 6.12.65-r2 \| \< 6.12.65-r1 \| \< 6.12.68-r1 \| \< 6.12.74-r1 \| \< 6.12.77-r0 \| \< 6.12.74-r0 \| \< 6.12.68-r0 \| \< 6.12.69-r0 \| \< 6.12.77-r1 \| \< 6.12.76-r0 \| \< 6.12.66-r0 \| \< 6.12.80-r0 \| \< 6.12.78-r0 \| \< 6.12.72-r0 \| \< 6.12.70-r0 \| \< 6.12.77-r2 \| \< 6.12.71-r0
- chainguard linux-qemu-6.12 (Chainguard): \< 6.12.77-r0 \| \< 6.12.74-r0 \| \< 6.12.69-r0 \| \< 6.12.71-r0 \| \< 6.12.72-r0 \| \< 6.12.74-r1 \| \< 6.12.77-r2 \| \< 6.12.65-r2 \| \< 6.12.77-r1 \| \< 6.12.65-r1 \| \< 6.12.78-r0 \| \< 6.12.80-r0 \| \< 6.12.66-r0 \| \< 6.12.70-r0 \| \< 6.12.76-r0 \| \< 6.12.67-r0 \| \< 6.12.68-r0
- chainguard linux-vmware-6.12 (Chainguard): \< 6.12.77-r2 \| \< 6.12.69-r0 \| \< 6.12.77-r1 \| \< 6.12.72-r0 \| \< 6.12.70-r0 \| \< 6.12.78-r0 \| \< 6.12.66-r0 \| \< 6.12.74-r1 \| \< 6.12.71-r0 \| \< 6.12.68-r1 \| \< 6.12.74-r0 \| \< 6.12.68-r0 \| \< 6.12.65-r2 \| \< 6.12.65-r1 \| \< 6.12.76-r0 \| \< 6.12.77-r0 \| \< 6.12.67-r0 \| \< 6.12.80-r0
- debian linux (Debian): All versions (No fix recorded) \| \< 6.1.192-1 \| \< 6.12.113-1 \| \< 6.16.3-1
- debian linux-6.12 (Debian): \< 6.12.113-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-156.166 \| \< 6.8.0-149.149
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1092.99 \| \< 6.8.0-1069.74
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1092.99~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): \< 6.14.0-1015.15~24.04.1
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 42)

- <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>
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>
- <https://ubuntu.com/security/CVE-2025-38204>
- <https://www.cve.org/CVERecord?id=CVE-2025-38204>
- <https://git.kernel.org/linus/5dff41a86377563f7a2b968aae00d25b4ceb37c9>
- <https://ubuntu.com/security/notices/USN-7774-1>
- <https://ubuntu.com/security/notices/USN-7774-2>
- <https://ubuntu.com/security/notices/USN-7774-3>
- <https://ubuntu.com/security/notices/USN-7775-1>
- <https://ubuntu.com/security/notices/USN-7776-1>
- <https://ubuntu.com/security/notices/USN-7775-2>
- <https://ubuntu.com/security/notices/USN-7775-3>
- <https://ubuntu.com/security/notices/USN-7774-4>
- <https://ubuntu.com/security/notices/USN-7774-5>
- <https://ubuntu.com/security/notices/USN-7833-1>
- <https://ubuntu.com/security/notices/USN-7834-1>

---

Data as of 2026-12-05T03:20:55.856Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
