Linux
phy: fsl-imx8mq-usb: fix typec switch leak on probe error path
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= b58f0f86fd6156d7b084257f5c91ceaf7d760927, < f1b7b2c7ffa9711d1298f52790b377fe02efc1db
- >= b58f0f86fd6156d7b084257f5c91ceaf7d760927, < 84646f5b945a370f6999eed59a334387b0abc282
- >= b58f0f86fd6156d7b084257f5c91ceaf7d760927, < 87a1805b1c346b092c34f96f3806f207792910e1
Fixed in f1b7b2c7ffa9711d1298f52790b377fe02efc1db, 84646f5b945a370f6999eed59a334387b0abc282, 87a1805b1c346b092c34f96f3806f207792910e1
- 6.15
Fixed in 0, 6.18.50, 7.2.4, 7.3
Mitigation
Upgrade Linux to f1b7b2c7ffa9711d1298f52790b377fe02efc1db or 84646f5b945a370f6999eed59a334387b0abc282 or 87a1805b1c346b092c34f96f3806f207792910e1 or later.
Upgrade Linux to 0 or 6.18.50 or 7.2.4 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.