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().
Product status
ed2b5a8e6b98d042b323afbe177a5dc618921b31 (git) before b97b2c9808c9a97e0ce30216fa12096d8b0eaa75
ed2b5a8e6b98d042b323afbe177a5dc618921b31 (git) before ebae26dd15140b840cf65be5e1c0daee949ba70b
ed2b5a8e6b98d042b323afbe177a5dc618921b31 (git) before 027d42b97e6eb827c3438ebc09bab7efaee9270d
ed2b5a8e6b98d042b323afbe177a5dc618921b31 (git) before efe92ee7a111fe0f4d75f3ed6b7e3f86322279d5
ed2b5a8e6b98d042b323afbe177a5dc618921b31 (git) before e07dea3de508cd6950c937cec42de7603190e1ca
5.17
Any version before 5.17
6.1.162 (semver)
6.6.122 (semver)
6.12.67 (semver)
6.18.7 (semver)
6.19 (original_commit_for_fix)
References
git.kernel.org/...c/b97b2c9808c9a97e0ce30216fa12096d8b0eaa75
git.kernel.org/...c/ebae26dd15140b840cf65be5e1c0daee949ba70b
git.kernel.org/...c/027d42b97e6eb827c3438ebc09bab7efaee9270d
git.kernel.org/...c/efe92ee7a111fe0f4d75f3ed6b7e3f86322279d5
git.kernel.org/...c/e07dea3de508cd6950c937cec42de7603190e1ca