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: <2024081748-CVE-2024-42299-a588@gregkh>
Date: Sat, 17 Aug 2024 11:10:04 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-42299: fs/ntfs3: Update log->page_{mask,bits} if log->page_size changed

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

fs/ntfs3: Update log->page_{mask,bits} if log->page_size changed

If an NTFS file system is mounted to another system with different
PAGE_SIZE from the original system, log->page_size will change in
log_replay(), but log->page_{mask,bits} don't change correspondingly.
This will cause a panic because "u32 bytes = log->page_size - page_off"
will get a negative value in the later read_log_page().

The Linux kernel CVE team has assigned CVE-2024-42299 to this issue.


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

	Issue introduced in 5.15 with commit b46acd6a6a62 and fixed in 6.1.103 with commit b90ceffdc975
	Issue introduced in 5.15 with commit b46acd6a6a62 and fixed in 6.6.44 with commit 2cac0df3324b
	Issue introduced in 5.15 with commit b46acd6a6a62 and fixed in 6.10.3 with commit 0a4ae2644e2a
	Issue introduced in 5.15 with commit b46acd6a6a62 and fixed in 6.11-rc1 with commit 2fef55d8f783

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-2024-42299
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/fslog.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/b90ceffdc975502bc085ce8e79c6adeff05f9521
	https://git.kernel.org/stable/c/2cac0df3324b5e287d8020bc0708f7d2dec88a6f
	https://git.kernel.org/stable/c/0a4ae2644e2a3b3b219aad9639fb2b0691d08420
	https://git.kernel.org/stable/c/2fef55d8f78383c8e6d6d4c014b9597375132696

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ