Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B288E26CE05 for ; Thu, 4 Sep 2025 15:34:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757000065; cv=none; b=BB0uwcmxDDJ4cQAcUnqGIAGaGaLWeFvH/7pfMEa2ptjF1XbjxqRk72OWo0vKs1boDoQ+8avcA5ARV/HWISs7kQE0HSEkrxyNed0aocPleJSb6EP+yzm4t7+cfB+mtjfpkdjUoz//CkXliBxlusHa4HDWKxpbCE0CiFl0/6sJpt4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757000065; c=relaxed/simple; bh=yPzYjj7tv3Ow5jojdHHSC5sU5DhXh2tTzn8PL2ELiy4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EtRjmWEfYyT1MP+qqwZS+oDHGW32rhcflzdZF/57+Oc4I0+0N4RF5C1VrU1XDwek/Uvs1nWhcMCVIzy+Pe79ya4jLjWKd9DRumx8VDTQwwGUAmp6xlvBc7M1Zq81BWwNMPvglWIE9z5t/osLzG+e+1xQslAKye3pUbD5RadvsE0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2YTbL94s; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="2YTbL94s" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 366B3C4CEF0; Thu, 4 Sep 2025 15:34:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757000065; bh=yPzYjj7tv3Ow5jojdHHSC5sU5DhXh2tTzn8PL2ELiy4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=2YTbL94s616AX+iVnaL2KKk+HRCs4+CLZNrdeErE8eBVKoDfPqn0FADOLG+NNzBox QtcogHvCDZ/KpEp8MPtXQqEF6bFI5hYJwK2ig+TspwvZhEOW7a5hnuVC1QzAMC9kih Pm+Ntje2BeM4t4mczYGgaB6qnJNPkCZFhRLzA/Ec= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38707: fs/ntfs3: Add sanity check for file name Date: Thu, 4 Sep 2025 17:33:12 +0200 Message-ID: <2025090455-CVE-2025-38707-5808@gregkh> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2390; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=qQiQRm5RvI2fKbt+/Wh5MOnj+FOlX23buT9BK2/f2g0=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk7N6ob8huv/v/oZrvQ3aatz7/O3md/dsHtX3Ns1cOW/ jqQ88njd0csC4MgE4OsmCLLl208R/dXHFL0MrQ9DTOHlQlkCAMXpwBMpJuZYZ7mPNULXNcqbv2V 0W1r/nP/SZkA3xaGBZczHpR5itcJ+eb8Eel4oZ8o+KgrDAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Add sanity check for file name The length of the file name should be smaller than the directory entry size. The Linux kernel CVE team has assigned CVE-2025-38707 to this issue. Affected and fixed versions =========================== Fixed in 5.15.190 with commit bde58c1539f3ffddffc94d64007de16964e6b8eb Fixed in 6.1.149 with commit f99eb9a641f4ef927d8724f4966dcfd1f0e9f835 Fixed in 6.6.103 with commit 3572737a768dadea904ebc4eb34b6ed575bb72d9 Fixed in 6.12.43 with commit 2ac47f738ddfc1957a33be163bc97ee8f78e85a6 Fixed in 6.15.11 with commit b51642fc52d1c7243a9361555d5c4b24d7569d7e Fixed in 6.16.2 with commit 27ee9a42b245efe6529e28b03453291a775cb3e4 Fixed in 6.17-rc1 with commit e841ecb139339602bc1853f5f09daa5d1ea920a2 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-38707 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/ntfs3/dir.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/bde58c1539f3ffddffc94d64007de16964e6b8eb https://git.kernel.org/stable/c/f99eb9a641f4ef927d8724f4966dcfd1f0e9f835 https://git.kernel.org/stable/c/3572737a768dadea904ebc4eb34b6ed575bb72d9 https://git.kernel.org/stable/c/2ac47f738ddfc1957a33be163bc97ee8f78e85a6 https://git.kernel.org/stable/c/b51642fc52d1c7243a9361555d5c4b24d7569d7e https://git.kernel.org/stable/c/27ee9a42b245efe6529e28b03453291a775cb3e4 https://git.kernel.org/stable/c/e841ecb139339602bc1853f5f09daa5d1ea920a2