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: <2025102807-CVE-2025-40029-1508@gregkh>
Date: Tue, 28 Oct 2025 12:48:06 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-40029: bus: fsl-mc: Check return value of platform_get_resource()

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

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

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

bus: fsl-mc: Check return value of platform_get_resource()

platform_get_resource() returns NULL in case of failure, so check its
return value and propagate the error in order to prevent NULL pointer
dereference.

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


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

	Issue introduced in 5.9 with commit 6305166c8771c33a8d5992fb53f93cfecedc14fd and fixed in 5.15.195 with commit 8a4dd74fe413d4a278e649be1d22d028e1667116
	Issue introduced in 5.9 with commit 6305166c8771c33a8d5992fb53f93cfecedc14fd and fixed in 6.1.156 with commit e60d55692e6c8e951000343c39f3fc92cab57efc
	Issue introduced in 5.9 with commit 6305166c8771c33a8d5992fb53f93cfecedc14fd and fixed in 6.6.112 with commit 78e87b8a3cf8a59671ea25c87192d16e8d710e1c
	Issue introduced in 5.9 with commit 6305166c8771c33a8d5992fb53f93cfecedc14fd and fixed in 6.12.53 with commit 84ec0482ed9c9ed0aee553a5e7e7458ad79c021f
	Issue introduced in 5.9 with commit 6305166c8771c33a8d5992fb53f93cfecedc14fd and fixed in 6.17.3 with commit 2ead548473f58c7960b6b939b79503c4a0a2c0bd
	Issue introduced in 5.9 with commit 6305166c8771c33a8d5992fb53f93cfecedc14fd and fixed in 6.18-rc1 with commit 25f526507b8ccc6ac3a43bc094d09b1f9b0b90ae

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-40029
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/bus/fsl-mc/fsl-mc-bus.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/8a4dd74fe413d4a278e649be1d22d028e1667116
	https://git.kernel.org/stable/c/e60d55692e6c8e951000343c39f3fc92cab57efc
	https://git.kernel.org/stable/c/78e87b8a3cf8a59671ea25c87192d16e8d710e1c
	https://git.kernel.org/stable/c/84ec0482ed9c9ed0aee553a5e7e7458ad79c021f
	https://git.kernel.org/stable/c/2ead548473f58c7960b6b939b79503c4a0a2c0bd
	https://git.kernel.org/stable/c/25f526507b8ccc6ac3a43bc094d09b1f9b0b90ae

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ