From mboxrd@z Thu Jan 1 00:00:00 1970 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 AA9EB14A91 for ; Mon, 8 Dec 2025 00:48:12 +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=1765154892; cv=none; b=HFONLE8lCZhk4/dgtv+JPo5987hW2eOkbcKixLzLdSz1dMO29FTSrJwPzOunDPzl8wbFmdvurlHDplASyrp0oavJsdFXdR0NyzOzJcflRHfmyNLYuBu8FQgBuGPQUQZq4jQ8MKmzb8olmruZj8Byd1OZ7BYDsrT94tSi8Oz4gsw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765154892; c=relaxed/simple; bh=NDgnvAzZ+Wo110CWI5ZIZRyc2JctJsb2UjU9n9tJHyI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dP+zxE8NU59gkUvwj+NHJcxsIlwqC77vn6nXYihP5Rwn1R4S+QFKJUNwLBUBjS5C4j3p7CK60xBy4W87ioLr3FqkB4Y7FwYVa9jvxmwxHfhWNWQXdYKyUnSprVAFMQ36grkAD0gdEqlNCgR6XgpieS85vDX89UinU/ZSYDJ2ksk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=aDexQLco; 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="aDexQLco" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9B717C16AAE; Mon, 8 Dec 2025 00:48:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765154892; bh=NDgnvAzZ+Wo110CWI5ZIZRyc2JctJsb2UjU9n9tJHyI=; h=From:To:Cc:Subject:Date:Reply-To:From; b=aDexQLcoJu3C5SBl+/B5AH2gegWsA7LFsN9s+hoAkU9Ev+ZZQS07H5hIkmtxQUxJM VuKzPjdLxHOiBCz8dpYFzVhJDdeA7no0q+2ke/UhHz4SZNH9aC6jo4CONZT5okX0EV zyrPxXBYb5YlBqo8Tu5+nTPp5G6NaWJFCmVs9OPQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-40313: ntfs3: pretend $Extend records as regular files Date: Mon, 8 Dec 2025 09:47:37 +0900 Message-ID: <2025120822-CVE-2025-40313-d68b@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2368; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=iNF5LBb1JcfhVqIW9QljqnoQdZoTKuAB0cTTy89vbTo=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlmClLZe1W6r9gUKeQsUOq/1sVr37Zkyfafzd5ZBWYrV er+hd/qiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIlw9jPMs/l68FPo21PshtZC u5hfr2TLWXv+H8OCves3GDfHbFnRwy3iseqo4I9l/5oXAgA= 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: ntfs3: pretend $Extend records as regular files Since commit af153bb63a33 ("vfs: catch invalid modes in may_open()") requires any inode be one of S_IFDIR/S_IFLNK/S_IFREG/S_IFCHR/S_IFBLK/ S_IFIFO/S_IFSOCK type, use S_IFREG for $Extend records. The Linux kernel CVE team has assigned CVE-2025-40313 to this issue. Affected and fixed versions =========================== Fixed in 5.15.197 with commit 63eb6730ce0604d3eacf036c2f68ea70b068317c Fixed in 6.1.159 with commit 78d46f5276ed3589aaaa435580068c5b62efc921 Fixed in 6.6.117 with commit 17249b2a65274f73ed68bcd1604e08a60fd8a278 Fixed in 6.12.58 with commit 37f65e68ba9852dc51c78dbb54a9881c3f0fe4f7 Fixed in 6.17.8 with commit 57534db1bbc4ca772393bb7d92e69d5e7b9051cf Fixed in 6.18 with commit 4e8011ffec79717e5fdac43a7e79faf811a384b7 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-40313 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/inode.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/63eb6730ce0604d3eacf036c2f68ea70b068317c https://git.kernel.org/stable/c/78d46f5276ed3589aaaa435580068c5b62efc921 https://git.kernel.org/stable/c/17249b2a65274f73ed68bcd1604e08a60fd8a278 https://git.kernel.org/stable/c/37f65e68ba9852dc51c78dbb54a9881c3f0fe4f7 https://git.kernel.org/stable/c/57534db1bbc4ca772393bb7d92e69d5e7b9051cf https://git.kernel.org/stable/c/4e8011ffec79717e5fdac43a7e79faf811a384b7