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: <2024091110-CVE-2024-45028-34f7@gregkh>
Date: Wed, 11 Sep 2024 17:14:24 +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-45028: mmc: mmc_test: Fix NULL dereference on allocation failure

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

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

mmc: mmc_test: Fix NULL dereference on allocation failure

If the "test->highmem = alloc_pages()" allocation fails then calling
__free_pages(test->highmem) will result in a NULL dereference.  Also
change the error code to -ENOMEM instead of returning success.

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


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

	Issue introduced in 2.6.27 with commit 2661081f5ab9 and fixed in 4.19.321 with commit e97be13a9f51
	Issue introduced in 2.6.27 with commit 2661081f5ab9 and fixed in 5.4.283 with commit 2b507b03991f
	Issue introduced in 2.6.27 with commit 2661081f5ab9 and fixed in 5.10.225 with commit 9b9ba386d7bf
	Issue introduced in 2.6.27 with commit 2661081f5ab9 and fixed in 5.15.166 with commit e40515582141
	Issue introduced in 2.6.27 with commit 2661081f5ab9 and fixed in 6.1.107 with commit 3b4e76ceae5b
	Issue introduced in 2.6.27 with commit 2661081f5ab9 and fixed in 6.6.48 with commit cac2815f49d3
	Issue introduced in 2.6.27 with commit 2661081f5ab9 and fixed in 6.10.7 with commit ecb15b8ca12c
	Issue introduced in 2.6.27 with commit 2661081f5ab9 and fixed in 6.11-rc5 with commit a1e627af32ed

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-45028
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:
	drivers/mmc/core/mmc_test.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/e97be13a9f51284da450dd2a592e3fa87b49cdc9
	https://git.kernel.org/stable/c/2b507b03991f44dfb202fc2a82c9874d1b1f0c06
	https://git.kernel.org/stable/c/9b9ba386d7bfdbc38445932c90fa9444c0524bea
	https://git.kernel.org/stable/c/e40515582141a9e7c84b269be699c05236a499a6
	https://git.kernel.org/stable/c/3b4e76ceae5b5a46c968bd952f551ce173809f63
	https://git.kernel.org/stable/c/cac2815f49d343b2f0acc4973d2c14918ac3ab0c
	https://git.kernel.org/stable/c/ecb15b8ca12c0cbdab81e307e9795214d8b90890
	https://git.kernel.org/stable/c/a1e627af32ed60713941cbfc8075d44cad07f6dd

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ