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().

Affected products

VendorProductVersions
LinuxLinux24843404efe47eab1ee88d7475a0be0f2f6fd9db to <bf7fefbc26e292c08cfe7b6496b879109ef1475a; 24843404efe47eab1ee88d7475a0be0f2f6fd9db to <935f6e837a83b86b073a7601f699dc2c00e01322; 24843404efe47eab1ee88d7475a0be0f2f6fd9db to <49c9b71b45081e5e5eeb507a2d6edb80d332dc59
LinuxLinux6.11; 0 to <6.11; 6.18.52 to <=6.18.*; 7.2.6 to <=7.2.*; 7.3-rc1 to <=*

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 25 Sep 2026 07:05 UTC.