← CVE Intelligence

CVE-2025-38204

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

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 81af4b34fd72d390d7f237c6a545cc6d09707956; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before bfa4655d28f338e68d345aed80d19be7999bbce2; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 44618bee303bed151ef3a525ff79fbd7689593b5; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before c8733634978086b41255695d993cec3017a23a27; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2ec34dc7094b14149ce091c77aff43a45d255518; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before c8399564a58fb6ea2ff21a6fd278417943cb51a5; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5dff41a86377563f7a2b968aae00d25b4ceb37c9
Linux / Linuxaffected 2.6.12; unaffected 0 before 2.6.12; unaffected 5.4.295 through 5.4.*; unaffected 5.10.239 through 5.10.*; unaffected 5.15.186 through 5.15.*; unaffected 6.6.160 through 6.6.*; unaffected 6.12.113 through 6.12.*; unaffected 6.15.4 through 6.15.*; unaffected 6.16 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CVE

No English description supplied.