CVE-2026-90288: phy: renesas: rcar-gen2: Fix double of_node_put on phy creation failure
In the Linux kernel, the following vulnerability has been resolved:
phy: renesas: rcar-gen2: Fix double ofnodeput on phy creation failure
foreachchildofnodescoped() releases the node reference on scope exit, so the explicit ofnodeput(np) in the devmphycreate() error path drops it twice.
Drop the redundant ofnodeput() and let the scoped cleanup handle it.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/linux-hwe-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42~24.04.1 - Upgrade
Upgrade
ubuntu/linux-riscv-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1~24.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 7.0.0-42.42 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 7.0.0-1016.17 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 7.0.0-1016.18 - Upgrade
Upgrade
ubuntu/linux-ibmto a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oem-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 7.0.0-1015.16 - Upgrade
Upgrade
ubuntu/linux-riscvto a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1 - Compensating control
Remove the explicit of_node_put(np) from the devm_phy_create() error path in phy: renesas: rcar-gen2, allowing for_each_child_of_node_scoped() to release the node reference on scope exit.
Event History
Frequently Asked Questions
Under what condition is the double reference release triggered?
It is triggered when devm_phy_create() fails while the driver is iterating child device-tree nodes during PHY creation.
What is the immediate mitigation if the fix cannot be deployed?
No workaround or mitigation is provided in the available information. The referenced stable kernel changes remove the redundant of_node_put() call.