CVE-2025-38204

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

State
Published
Severity
7.8 High
Published
Jul 4, 2025
Updated
Oct 30, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 81af4b34fd72d390d7f237c6a545cc6d09707956Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before bfa4655d28f338e68d345aed80d19be7999bbce2Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 44618bee303bed151ef3a525ff79fbd7689593b5Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 5730e2da0655336fed6aa3c25892e69e2ba5cb76Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before c8733634978086b41255695d993cec3017a23a27Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 2ec34dc7094b14149ce091c77aff43a45d255518Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before c8399564a58fb6ea2ff21a6fd278417943cb51a5Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 5dff41a86377563f7a2b968aae00d25b4ceb37c9Affected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 5.4.295 through 5.4.*Not affected
  • 5.10.239 through 5.10.*Not affected
  • 5.15.186 through 5.15.*Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.113 through 6.12.*Not affected
  • 6.15.4 through 6.15.*Not affected
  • 6.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.