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: <2025050139-CVE-2025-37758-32dd@gregkh>
Date: Thu,  1 May 2025 14:57:04 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-37758: ata: pata_pxa: Fix potential NULL pointer dereference in pxa_ata_probe()

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

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

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

ata: pata_pxa: Fix potential NULL pointer dereference in pxa_ata_probe()

devm_ioremap() returns NULL on error. Currently, pxa_ata_probe() does
not check for this case, which can result in a NULL pointer dereference.

Add NULL check after devm_ioremap() to prevent this issue.

The Linux kernel CVE team has assigned CVE-2025-37758 to this issue.


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

	Issue introduced in 2.6.36 with commit 2dc6c6f15da97cb3e810963c80e981f19d42cd7d and fixed in 6.1.135 with commit 2dc53c7a0c1f57b082931facafa804a7ca32a9a6
	Issue introduced in 2.6.36 with commit 2dc6c6f15da97cb3e810963c80e981f19d42cd7d and fixed in 6.6.88 with commit 5b09bf6243b0bc0ae58bd9efdf6f0de5546f8d06
	Issue introduced in 2.6.36 with commit 2dc6c6f15da97cb3e810963c80e981f19d42cd7d and fixed in 6.12.24 with commit ee2b0301d6bfe16b35d57947687c664ecb815775
	Issue introduced in 2.6.36 with commit 2dc6c6f15da97cb3e810963c80e981f19d42cd7d and fixed in 6.13.12 with commit c022287f6e599422511aa227dc6da37b58d9ceac
	Issue introduced in 2.6.36 with commit 2dc6c6f15da97cb3e810963c80e981f19d42cd7d and fixed in 6.14.3 with commit 2ba9e4c69207777bb0775c7c091800ecd69de144
	Issue introduced in 2.6.36 with commit 2dc6c6f15da97cb3e810963c80e981f19d42cd7d and fixed in 6.15-rc2 with commit ad320e408a8c95a282ab9c05cdf0c9b95e317985

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-37758
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/ata/pata_pxa.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/2dc53c7a0c1f57b082931facafa804a7ca32a9a6
	https://git.kernel.org/stable/c/5b09bf6243b0bc0ae58bd9efdf6f0de5546f8d06
	https://git.kernel.org/stable/c/ee2b0301d6bfe16b35d57947687c664ecb815775
	https://git.kernel.org/stable/c/c022287f6e599422511aa227dc6da37b58d9ceac
	https://git.kernel.org/stable/c/2ba9e4c69207777bb0775c7c091800ecd69de144
	https://git.kernel.org/stable/c/ad320e408a8c95a282ab9c05cdf0c9b95e317985

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ