What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.4.295, 5.10.239, 5.15.186, 6.15.4; Linux 6.16. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-38204 or the next vulnerability affects your stack