CVE-2026-64301: regulator: scmi: fix of_node refcount leak in scmi_regulator_probe()

Greg Kroah-Hartman <[email protected]> Sat, 25 Jul 2026 10:48:38 +0200
Newsgroups org.kernel.vger.linux-cve-announce
Message-ID <2026072506-CVE-2026-64301-65bc@gregkh>
From: Greg Kroah-Hartman <[email protected]>

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

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

regulator: scmi: fix of_node refcount leak in scmi_regulator_probe()

scmi_regulator_probe() calls of_find_node_by_name() which takes a
reference on the returned device node. On the error path where
process_scmi_regulator_of_node() fails, the function returns without
calling of_node_put() on the child node, leaking the reference.

Add of_node_put(np) on the error path to properly release the
reference.

The Linux kernel CVE team has assigned CVE-2026-64301 to this issue.


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

	Issue introduced in 5.11 with commit 0fbeae70ee7ce98e18a47337cd1f205dd88589e9 and fixed in 5.15.212 with commit 1e446e8f8c763be3de7d0362e024cdf46194ffef
	Issue introduced in 5.11 with commit 0fbeae70ee7ce98e18a47337cd1f205dd88589e9 and fixed in 6.1.178 with commit 637c11e3d8d43a7ee654591cda8d17c55a9234fa
	Issue introduced in 5.11 with commit 0fbeae70ee7ce98e18a47337cd1f205dd88589e9 and fixed in 6.6.145 with commit e2baf8ea13fb4b10bec2c4751aea05c00dabcd0f
	Issue introduced in 5.11 with commit 0fbeae70ee7ce98e18a47337cd1f205dd88589e9 and fixed in 6.12.96 with commit 3e1441a4d06d35a314961e40057bd1f0106bbc14
	Issue introduced in 5.11 with commit 0fbeae70ee7ce98e18a47337cd1f205dd88589e9 and fixed in 6.18.39 with commit 22cb337370e6539b0418832c6040e9b00c1b74ca
	Issue introduced in 5.11 with commit 0fbeae70ee7ce98e18a47337cd1f205dd88589e9 and fixed in 7.1.4 with commit a935b64548fcfe1d5b4dbdd31dddfb0d7019367f
	Issue introduced in 5.11 with commit 0fbeae70ee7ce98e18a47337cd1f205dd88589e9 and fixed in 7.2-rc1 with commit fa11039d6cdff84584a3ef8cc1f5e1b56e045da2

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-2026-64301
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/regulator/scmi-regulator.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/1e446e8f8c763be3de7d0362e024cdf46194ffef
	https://git.kernel.org/stable/c/637c11e3d8d43a7ee654591cda8d17c55a9234fa
	https://git.kernel.org/stable/c/e2baf8ea13fb4b10bec2c4751aea05c00dabcd0f
	https://git.kernel.org/stable/c/3e1441a4d06d35a314961e40057bd1f0106bbc14
	https://git.kernel.org/stable/c/22cb337370e6539b0418832c6040e9b00c1b74ca
	https://git.kernel.org/stable/c/a935b64548fcfe1d5b4dbdd31dddfb0d7019367f
	https://git.kernel.org/stable/c/fa11039d6cdff84584a3ef8cc1f5e1b56e045da2