CVE-2025-38204
JSON

7.8high

jfs: fix array-index-out-of-bounds read in add_missing_indices

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 81af4b34fd72d390d7f237c6a545cc6d09707956, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before bfa4655d28f338e68d345aed80d19be7999bbce2, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 44618bee303bed151ef3a525ff79fbd7689593b5, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5730e2da0655336fed6aa3c25892e69e2ba5cb76, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before c8733634978086b41255695d993cec3017a23a27, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2ec34dc7094b14149ce091c77aff43a45d255518, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before c8399564a58fb6ea2ff21a6fd278417943cb51a5, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5dff41a86377563f7a2b968aae00d25b4ceb37c9 and 1 more
Not affected: before 2.6.12, from 5.4.295 up to 5.4.*, from 5.10.239 up to 5.10.*, from 5.15.186 up to 5.15.*, from 6.1.191 up to 6.1.*, from 6.6.160 up to 6.6.*
CVE List
linux linux_kernelbefore 5.4.295, from 5.5 before 5.10.239, from 5.11 before 5.15.186, from 5.16 before 6.15.4NVD
debian debian_linux11.0NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: jfs: se corrige la lectura de array-index-out-of-bounds en add_missing_indices. El stbl es s8, pero debe contener desplazamientos en la ranura, que pueden ir de 0 a 127. Se añadió una comprobación de límite para ese error y se devuelve -EIO si la comprobación falla. También se hace que jfs_readdir devuelva un error si add_missing_indices devuelve un error.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-38204 changed 2026-10-30CVE Terms of Use
NVDCVE-2025-38204 changed 2026-10-30Public domain