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: <2024122734-CVE-2024-56634-f6d5@gregkh>
Date: Fri, 27 Dec 2024 16:02:35 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-56634: gpio: grgpio: Add NULL check in grgpio_probe

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

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

gpio: grgpio: Add NULL check in grgpio_probe

devm_kasprintf() can return a NULL pointer on failure,but this
returned value in grgpio_probe is not checked.
Add NULL check in grgpio_probe, to handle kernel NULL
pointer dereference error.

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


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

	Issue introduced in 4.14 with commit 7eb6ce2f272336ff8337f40fa8668fa04dc2d684 and fixed in 5.4.287 with commit 53ff0caa6ad57372d426b4f48fc0f66df43a731f
	Issue introduced in 4.14 with commit 7eb6ce2f272336ff8337f40fa8668fa04dc2d684 and fixed in 5.10.231 with commit 4733f68e59bb7b9e3d395699abb18366954b9ba7
	Issue introduced in 4.14 with commit 7eb6ce2f272336ff8337f40fa8668fa04dc2d684 and fixed in 5.15.174 with commit ad4dfa7ea7f5f7e9a3c78627cfc749bc7005ca7a
	Issue introduced in 4.14 with commit 7eb6ce2f272336ff8337f40fa8668fa04dc2d684 and fixed in 6.1.120 with commit 09adf8792b61c09ae543972a1ece1884ef773848
	Issue introduced in 4.14 with commit 7eb6ce2f272336ff8337f40fa8668fa04dc2d684 and fixed in 6.6.66 with commit 8d2ca6ac3711a4f4015d26b7cc84f325ac608edb
	Issue introduced in 4.14 with commit 7eb6ce2f272336ff8337f40fa8668fa04dc2d684 and fixed in 6.12.5 with commit db2fc255fcf41f536ac8666409849e11659af88d
	Issue introduced in 4.14 with commit 7eb6ce2f272336ff8337f40fa8668fa04dc2d684 and fixed in 6.13-rc1 with commit 050b23d081da0f29474de043e9538c1f7a351b3b

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-56634
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/gpio/gpio-grgpio.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/53ff0caa6ad57372d426b4f48fc0f66df43a731f
	https://git.kernel.org/stable/c/4733f68e59bb7b9e3d395699abb18366954b9ba7
	https://git.kernel.org/stable/c/ad4dfa7ea7f5f7e9a3c78627cfc749bc7005ca7a
	https://git.kernel.org/stable/c/09adf8792b61c09ae543972a1ece1884ef773848
	https://git.kernel.org/stable/c/8d2ca6ac3711a4f4015d26b7cc84f325ac608edb
	https://git.kernel.org/stable/c/db2fc255fcf41f536ac8666409849e11659af88d
	https://git.kernel.org/stable/c/050b23d081da0f29474de043e9538c1f7a351b3b

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ