CVE-2025-38204
jfs: fix array-index-out-of-bounds read in add_missing_indices
Check your servers for CVE-2025-38204
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38204 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.5% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 81af4b34fd72d390d7f237c6a545cc6d09707956 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before bfa4655d28f338e68d345aed80d19be7999bbce2 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 44618bee303bed151ef3a525ff79fbd7689593b5 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 5730e2da0655336fed6aa3c25892e69e2ba5cb76 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before c8733634978086b41255695d993cec3017a23a27 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 2ec34dc7094b14149ce091c77aff43a45d255518 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before c8399564a58fb6ea2ff21a6fd278417943cb51a5 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 5dff41a86377563f7a2b968aae00d25b4ceb37c9
Other versions: unaffected
|
| Linux |
affected 2.6.12 unaffected before 2.6.12 unaffected from 5.4.295 up to and including 5.4.* unaffected from 5.10.239 up to and including 5.10.* unaffected from 5.15.186 up to and including 5.15.* unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.113 up to and including 6.12.* unaffected from 6.15.4 up to and including 6.15.* unaffected 6.16 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38204 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38204
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-38204
trivy image --scanners vuln IMAGE | grep CVE-2025-38204
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/81af4b34fd72d390d7f237c6a545cc6d09707956 git.kernel.org
- https://git.kernel.org/stable/c/bfa4655d28f338e68d345aed80d19be7999bbce2 git.kernel.org
- https://git.kernel.org/stable/c/44618bee303bed151ef3a525ff79fbd7689593b5 git.kernel.org
- https://git.kernel.org/stable/c/5730e2da0655336fed6aa3c25892e69e2ba5cb76 git.kernel.org
- https://git.kernel.org/stable/c/c8733634978086b41255695d993cec3017a23a27 git.kernel.org
- https://git.kernel.org/stable/c/2ec34dc7094b14149ce091c77aff43a45d255518 git.kernel.org
- https://git.kernel.org/stable/c/c8399564a58fb6ea2ff21a6fd278417943cb51a5 git.kernel.org
- https://git.kernel.org/stable/c/5dff41a86377563f7a2b968aae00d25b4ceb37c9 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html lists.debian.org
Source: the record CVE-2025-38204 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse