{"id":"CVE-2025-38204","aliases":["CVE-2025-38204"],"related":[],"kind":"vulnerability","state":"published","title":"jfs: fix array-index-out-of-bounds read in add_missing_indices","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\njfs: fix array-index-out-of-bounds read in add_missing_indices\n\nstbl is s8 but it must contain offsets into slot which can go from 0 to\n127.\n\nAdded a bound check for that error and return -EIO if the check fails.\nAlso make jfs_readdir return with error if add_missing_indices returns\nwith an error.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\njfs: fix array-index-out-of-bounds read in add_missing_indices\n\nstbl is s8 but it must contain offsets into slot which can go from 0 to\n127.\n\nAdded a bound check for that error and return -EIO if the check fails.\nAlso make jfs_readdir return with error if add_missing_indices returns\nwith an error.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-07-04T13:37:24.606Z","modified":"2026-10-30T13:18:01.620Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"81af4b34fd72d390d7f237c6a545cc6d09707956","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"bfa4655d28f338e68d345aed80d19be7999bbce2","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"44618bee303bed151ef3a525ff79fbd7689593b5","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"5730e2da0655336fed6aa3c25892e69e2ba5cb76","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"c8733634978086b41255695d993cec3017a23a27","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"2ec34dc7094b14149ce091c77aff43a45d255518","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"c8399564a58fb6ea2ff21a6fd278417943cb51a5","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"5dff41a86377563f7a2b968aae00d25b4ceb37c9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.12","status":"unaffected"},{"type":"semver","introduced":"5.4.295","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.239","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.186","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.113","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.15.4","lastAffected":"6.15.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.16","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.4.295"},{"status":"affected","introduced":"5.5","fixed":"5.10.239"},{"status":"affected","introduced":"5.11","fixed":"5.15.186"},{"status":"affected","introduced":"5.16","fixed":"6.15.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/81af4b34fd72d390d7f237c6a545cc6d09707956","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bfa4655d28f338e68d345aed80d19be7999bbce2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/44618bee303bed151ef3a525ff79fbd7689593b5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5730e2da0655336fed6aa3c25892e69e2ba5cb76","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c8733634978086b41255695d993cec3017a23a27","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2ec34dc7094b14149ce091c77aff43a45d255518","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c8399564a58fb6ea2ff21a6fd278417943cb51a5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5dff41a86377563f7a2b968aae00d25b4ceb37c9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38204","url":"https://www.cve.org/CVERecord?id=CVE-2025-38204","licence":"CVE Terms of Use","modified":"2026-10-30T12:21:46.783Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38204","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38204","licence":"Public domain","modified":"2026-10-30T13:18:01.620Z"}],"updatedAt":"2026-11-25T22:59:00.641Z","epss":{"score":0.0025,"percentile":0.17527,"date":"2026-12-01T12:00:22.000Z"}}