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] [day] [month] [year] [list]
Message-ID: <2025091903-CVE-2025-39846-0d36@gregkh>
Date: Fri, 19 Sep 2025 17:28:10 +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-39846: pcmcia: Fix a NULL pointer dereference in __iodyn_find_io_region()

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

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

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

pcmcia: Fix a NULL pointer dereference in __iodyn_find_io_region()

In __iodyn_find_io_region(), pcmcia_make_resource() is assigned to
res and used in pci_bus_alloc_resource(). There is a dereference of res
in pci_bus_alloc_resource(), which could lead to a NULL pointer
dereference on failure of pcmcia_make_resource().

Fix this bug by adding a check of res.

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


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

	Issue introduced in 2.6.35 with commit 49b1153adfe18a3cce7e70aa26c690f275917cd0 and fixed in 5.4.299 with commit b990c8c6ff50649ad3352507398e443b1e3527b2
	Issue introduced in 2.6.35 with commit 49b1153adfe18a3cce7e70aa26c690f275917cd0 and fixed in 5.10.243 with commit 5ff2826c998370bf7f9ae26fe802140d220e3510
	Issue introduced in 2.6.35 with commit 49b1153adfe18a3cce7e70aa26c690f275917cd0 and fixed in 5.15.192 with commit 4bd570f494124608a0696da070f00236a96fb610
	Issue introduced in 2.6.35 with commit 49b1153adfe18a3cce7e70aa26c690f275917cd0 and fixed in 6.1.151 with commit ce3b7766276894d2fbb07e2047a171f9deb965de
	Issue introduced in 2.6.35 with commit 49b1153adfe18a3cce7e70aa26c690f275917cd0 and fixed in 6.6.105 with commit 2ee32c4c4f636e474cd8ab7c19a68cf36072ea93
	Issue introduced in 2.6.35 with commit 49b1153adfe18a3cce7e70aa26c690f275917cd0 and fixed in 6.12.46 with commit fafa7450075f41d232bc785a4ebcbf16374f2076
	Issue introduced in 2.6.35 with commit 49b1153adfe18a3cce7e70aa26c690f275917cd0 and fixed in 6.16.6 with commit d7286005e8fde0a430dc180a9f46c088c7d74483
	Issue introduced in 2.6.35 with commit 49b1153adfe18a3cce7e70aa26c690f275917cd0 and fixed in 6.17-rc5 with commit 44822df89e8f3386871d9cad563ece8e2fd8f0e7

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-39846
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/pcmcia/rsrc_iodyn.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/b990c8c6ff50649ad3352507398e443b1e3527b2
	https://git.kernel.org/stable/c/5ff2826c998370bf7f9ae26fe802140d220e3510
	https://git.kernel.org/stable/c/4bd570f494124608a0696da070f00236a96fb610
	https://git.kernel.org/stable/c/ce3b7766276894d2fbb07e2047a171f9deb965de
	https://git.kernel.org/stable/c/2ee32c4c4f636e474cd8ab7c19a68cf36072ea93
	https://git.kernel.org/stable/c/fafa7450075f41d232bc785a4ebcbf16374f2076
	https://git.kernel.org/stable/c/d7286005e8fde0a430dc180a9f46c088c7d74483
	https://git.kernel.org/stable/c/44822df89e8f3386871d9cad563ece8e2fd8f0e7

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ