[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025082238-CVE-2025-38655-7456@gregkh>
Date: Fri, 22 Aug 2025 18:01:03 +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-38655: pinctrl: canaan: k230: add NULL check in DT parse
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
pinctrl: canaan: k230: add NULL check in DT parse
Add a NULL check for the return value of of_get_property() when
retrieving the "pinmux" property in the group parser. This avoids
a potential NULL pointer dereference if the property is missing
from the device tree node.
Also fix a typo ("sintenel") in the device ID match table comment,
correcting it to "sentinel".
The Linux kernel CVE team has assigned CVE-2025-38655 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.13 with commit 545887eab6f6776a7477fe7e83860eab57138b03 and fixed in 6.15.10 with commit b5ae84aeff60b8819e8568ff0c57590caed9e6d3
Issue introduced in 6.13 with commit 545887eab6f6776a7477fe7e83860eab57138b03 and fixed in 6.16.1 with commit 5d324b262c0ff256b8d603596574d66267b6394f
Issue introduced in 6.13 with commit 545887eab6f6776a7477fe7e83860eab57138b03 and fixed in 6.17-rc1 with commit 65bd0be486390fc12a84eafaad78758c5e5a55e6
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-38655
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/pinctrl-k230.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/b5ae84aeff60b8819e8568ff0c57590caed9e6d3
https://git.kernel.org/stable/c/5d324b262c0ff256b8d603596574d66267b6394f
https://git.kernel.org/stable/c/65bd0be486390fc12a84eafaad78758c5e5a55e6
Powered by blists - more mailing lists