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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
ed2b5a8e6b98d042b323afbe177a5dc618921b31 to < b97b2c9808c9a97e0ce30216fa12096d8b0eaa75affecteded2b5a8e6b98d042b323afbe177a5dc618921b31 to < ebae26dd15140b840cf65be5e1c0daee949ba70baffecteded2b5a8e6b98d042b323afbe177a5dc618921b31 to < 027d42b97e6eb827c3438ebc09bab7efaee9270daffecteded2b5a8e6b98d042b323afbe177a5dc618921b31 to < efe92ee7a111fe0f4d75f3ed6b7e3f86322279d5affecteded2b5a8e6b98d042b323afbe177a5dc618921b31 to < e07dea3de508cd6950c937cec42de7603190e1caaffected
Linux Linux
Default version status: affected
5.17affected0 to < 5.17unaffected6.1.162 to ≤ 6.1.*unaffected6.6.122 to ≤ 6.6.*unaffected6.12.67 to ≤ 6.12.*unaffected6.18.7 to ≤ 6.18.*unaffected6.19 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/b97b2c9808c9a97e0ce30216fa12096d8b0eaa75 ↗
- https://git.kernel.org/stable/c/ebae26dd15140b840cf65be5e1c0daee949ba70b ↗
- https://git.kernel.org/stable/c/027d42b97e6eb827c3438ebc09bab7efaee9270d ↗
- https://git.kernel.org/stable/c/efe92ee7a111fe0f4d75f3ed6b7e3f86322279d5 ↗
- https://git.kernel.org/stable/c/e07dea3de508cd6950c937cec42de7603190e1ca ↗
- https://cert-portal.siemens.com/productcert/html/ssa-253495.html ↗