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: <2025040148-CVE-2025-21982-8ddf@gregkh>
Date: Tue,  1 Apr 2025 16:46:07 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2025-21982: pinctrl: nuvoton: npcm8xx: Add NULL check in npcm8xx_gpio_fw

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

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

pinctrl: nuvoton: npcm8xx: Add NULL check in npcm8xx_gpio_fw

devm_kasprintf() calls can return null pointers on failure.
But the return values were not checked in npcm8xx_gpio_fw().
Add NULL check in npcm8xx_gpio_fw(), to handle kernel NULL
pointer dereference error.

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


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

	Issue introduced in 6.7 with commit acf4884a571709cad99f98aabe08b7cacd62dc80 and fixed in 6.12.20 with commit a585f6ea42ec259a9a57e3e2580fa527c92187d0
	Issue introduced in 6.7 with commit acf4884a571709cad99f98aabe08b7cacd62dc80 and fixed in 6.13.8 with commit 6a08a86e5aff8e65368ccd463348fdda26100821
	Issue introduced in 6.7 with commit acf4884a571709cad99f98aabe08b7cacd62dc80 and fixed in 6.14 with commit acf40ab42799e4ae1397ee6f5c5941092d66f999

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-21982
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/pinctrl/nuvoton/pinctrl-npcm8xx.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/a585f6ea42ec259a9a57e3e2580fa527c92187d0
	https://git.kernel.org/stable/c/6a08a86e5aff8e65368ccd463348fdda26100821
	https://git.kernel.org/stable/c/acf40ab42799e4ae1397ee6f5c5941092d66f999

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ