Not scored
phy: rockchip: inno-usb2: Fix a double free bug in rockchip_usb2phy_probe()
- Severity
- Not scored
- Exploit likelihood
- 0.24% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: phy: rockchip: inno-usb2: Fix a double free bug in rockchip_usb2phy_probe() The for_each_available_child_of_node() calls of_node_put() to release child_np in each success loop. After breaking from the loop with the child_np has been released, the code will jump to the put_child label and will call the of_node_put() again if the devm_request_threaded_irq() fails. These cause a double free bug. Fix by returning directly to avoid the duplicate of_node_put().
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from ed2b5a8e6b98d042b323afbe177a5dc618921b31 before b97b2c9808c9a97e0ce30216fa12096d8b0eaa75, from ed2b5a8e6b98d042b323afbe177a5dc618921b31 before ebae26dd15140b840cf65be5e1c0daee949ba70b, from ed2b5a8e6b98d042b323afbe177a5dc618921b31 before 027d42b97e6eb827c3438ebc09bab7efaee9270d, from ed2b5a8e6b98d042b323afbe177a5dc618921b31 before efe92ee7a111fe0f4d75f3ed6b7e3f86322279d5, from ed2b5a8e6b98d042b323afbe177a5dc618921b31 before e07dea3de508cd6950c937cec42de7603190e1ca, 5.17 Not affected: before 5.17, from 6.1.162 up to 6.1.*, from 6.6.122 up to 6.6.*, from 6.12.67 up to 6.12.*, from 6.18.7 up to 6.18.*, from 6.19 up to * | CVE List |
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: phy: rockchip: inno-usb2: Fix a double free bug in rockchip_usb2phy_probe() The for_each_available_child_of_node() calls of_node_put() to release child_np in each success loop. After breaking from the loop with the child_np has been released, the code will jump to the put_child label and will call the of_node_put() again if the devm_request_threaded_irq() fails. These cause a double free bug. Fix by returning directly to avoid the duplicate of_node_put().
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: phy: rockchip: inno-usb2: Corrección de un error de doble liberación en rockchip_usb2phy_probe() La función for_each_available_child_of_node() llama a of_node_put() para liberar child_np en cada bucle exitoso. Después de salir del bucle, una vez que child_np ha sido liberado, el código saltará a la etiqueta put_child y llamará a of_node_put() de nuevo si devm_request_threaded_irq() falla. Esto causa un error de doble liberación. Se corrige regresando directamente para evitar la llamada duplicada a of_node_put().
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-23030 changed 2026-06-02 | CVE Terms of Use |
| NVD | CVE-2026-23030 changed 2026-06-17 | Public domain |