Skip to contentSkip to conversation

CVE-2026-93276: phy: renesas: phy-rcar-gen3-usb2: Fix devm action registration for disabled VBUS regulator

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 24

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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

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

phy: renesas: phy-rcar-gen3-usb2: Fix devm action registration for disabled VBUS regulator

devm_regulator_get_exclusive() initialises the regulator with enable_count = 1, requiring the consumer to disable it before release.

The devm disable action was previously only registered when the caller explicitly requested enable, so when the regulator was left in its initial enabled state without an explicit enable call, the cleanup path skipped decrementing enable_count, triggering a WARN_ON during regulator release on device removal.

Fix this by always registering the devm disable action based on the actual enabled state via regulator_is_enabled(), regardless of whether the caller requested an explicit enable. This covers both the explicitly enabled case and the initial state set by devm_regulator_get_exclusive().

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

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

	Issue introduced in 6.11 with commit 24843404efe47eab1ee88d7475a0be0f2f6fd9db and fixed in 6.18.52 with commit bf7fefbc26e292c08cfe7b6496b879109ef1475a
	Issue introduced in 6.11 with commit 24843404efe47eab1ee88d7475a0be0f2f6fd9db and fixed in 7.2.6 with commit 935f6e837a83b86b073a7601f699dc2c00e01322
	Issue introduced in 6.11 with commit 24843404efe47eab1ee88d7475a0be0f2f6fd9db and fixed in 7.3-rc1 with commit 49c9b71b45081e5e5eeb507a2d6edb80d332dc59

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-93276

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/phy/renesas/phy-rcar-gen3-usb2.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/bf7fefbc26e292c08cfe7b6496b879109ef1475a
	https://git.kernel.org/stable/c/935f6e837a83b86b073a7601f699dc2c00e01322
	https://git.kernel.org/stable/c/49c9b71b45081e5e5eeb507a2d6edb80d332dc59