Description
In the Linux kernel, the following vulnerability has been resolved: phy: fsl-imx8mq-usb: fix typec switch leak on probe error path If probe fails after imx95_usb_phy_get_tca() succeeds, the typec switch leaks because the only cleanup path was in .remove(), which never runs on probe failure. Use devm_add_action_or_reset() so the switch is cleaned up on both probe failure and driver removal. The imx95_usb_phy_put_tca() is no longer needed, it will be removed in .remove() too.
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
b58f0f86fd6156d7b084257f5c91ceaf7d760927 to < f1b7b2c7ffa9711d1298f52790b377fe02efc1dbaffectedb58f0f86fd6156d7b084257f5c91ceaf7d760927 to < 84646f5b945a370f6999eed59a334387b0abc282affectedb58f0f86fd6156d7b084257f5c91ceaf7d760927 to < 87a1805b1c346b092c34f96f3806f207792910e1affected
Linux Linux
Default version status: affected
6.15affected0 to < 6.15unaffected6.18.50 to ≤ 6.18.*unaffected7.2.4 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected