phy: fsl-imx8mq-usb: fix typec switch leak on probe error path
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.18.50, 7.2.4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From b58f0f86fd6156d7b084257f5c91ceaf7d760927 · fixed in f1b7b2c7ffa9711d1298f52790b377fe02efc1db; From b58f0f86fd6156d7b084257f5c91ceaf7d760927 · fixed in 84646f5b945a370f6999eed59a334387b0abc282; From b58f0f86fd6156d7b084257f5c91ceaf7d760927 · fixed in 87a1805b1c346b092c34f96f3806f207792910e1
- Linux Linux
6.15
- KernelLinux
From 6.15.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4