[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025123022-CVE-2023-54205-966b@gregkh>
Date: Tue, 30 Dec 2025 13:13:35 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-54205: pinctrl: stm32: Fix refcount leak in stm32_pctrl_get_irq_domain
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
pinctrl: stm32: Fix refcount leak in stm32_pctrl_get_irq_domain
of_irq_find_parent() returns a node pointer with refcount incremented,
We should use of_node_put() on it when not needed anymore.
Add missing of_node_put() to avoid refcount leak.
The Linux kernel CVE team has assigned CVE-2023-54205 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.2 with commit d86f4d71e42a9fa1866f030074e54d7571d16ec1 and fixed in 5.4.235 with commit 95ab6d7905ebb52dc2ed6357c38e536753824068
Issue introduced in 5.2 with commit d86f4d71e42a9fa1866f030074e54d7571d16ec1 and fixed in 5.10.173 with commit 8ab860dd8717a7e4a143988885fea0d7e5a9412e
Issue introduced in 5.2 with commit d86f4d71e42a9fa1866f030074e54d7571d16ec1 and fixed in 5.15.99 with commit af54707c0ccab52b3d532402436ea101011a9299
Issue introduced in 5.2 with commit d86f4d71e42a9fa1866f030074e54d7571d16ec1 and fixed in 6.1.16 with commit 601be03fa8b81747a154bdef9b559411a5b921e8
Issue introduced in 5.2 with commit d86f4d71e42a9fa1866f030074e54d7571d16ec1 and fixed in 6.2.3 with commit 9ae053d1eb87875d56f95b6a123a69827225a70e
Issue introduced in 5.2 with commit d86f4d71e42a9fa1866f030074e54d7571d16ec1 and fixed in 6.3 with commit dcef18c8ac40aa85bb339f64c1dd31dd458b06fb
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-2023-54205
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/stm32/pinctrl-stm32.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/95ab6d7905ebb52dc2ed6357c38e536753824068
https://git.kernel.org/stable/c/8ab860dd8717a7e4a143988885fea0d7e5a9412e
https://git.kernel.org/stable/c/af54707c0ccab52b3d532402436ea101011a9299
https://git.kernel.org/stable/c/601be03fa8b81747a154bdef9b559411a5b921e8
https://git.kernel.org/stable/c/9ae053d1eb87875d56f95b6a123a69827225a70e
https://git.kernel.org/stable/c/dcef18c8ac40aa85bb339f64c1dd31dd458b06fb
Powered by blists - more mailing lists