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: <2025120822-CVE-2025-40313-d68b@gregkh>
Date: Mon,  8 Dec 2025 09:47:37 +0900
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-40313: ntfs3: pretend $Extend records as regular files

From: Greg Kroah-Hartman <gregkh@...nel.org>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ