lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025070419-CVE-2025-38204-c216@gregkh>
Date: Fri,  4 Jul 2025 15:37:33 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-38204: jfs: fix array-index-out-of-bounds read in add_missing_indices

From: Greg Kroah-Hartman <gregkh@...nel.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.

The Linux kernel CVE team has assigned CVE-2025-38204 to this issue.


Affected and fixed versions
===========================

	Fixed in 5.4.295 with commit 81af4b34fd72d390d7f237c6a545cc6d09707956
	Fixed in 5.10.239 with commit bfa4655d28f338e68d345aed80d19be7999bbce2
	Fixed in 5.15.186 with commit 44618bee303bed151ef3a525ff79fbd7689593b5
	Fixed in 6.15.4 with commit c8399564a58fb6ea2ff21a6fd278417943cb51a5
	Fixed in 6.16-rc1 with commit 5dff41a86377563f7a2b968aae00d25b4ceb37c9

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2025-38204
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	fs/jfs/jfs_dtree.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/81af4b34fd72d390d7f237c6a545cc6d09707956
	https://git.kernel.org/stable/c/bfa4655d28f338e68d345aed80d19be7999bbce2
	https://git.kernel.org/stable/c/44618bee303bed151ef3a525ff79fbd7689593b5
	https://git.kernel.org/stable/c/c8399564a58fb6ea2ff21a6fd278417943cb51a5
	https://git.kernel.org/stable/c/5dff41a86377563f7a2b968aae00d25b4ceb37c9

Powered by blists - more mailing lists