usb: phy: phy-tahvo: fix memory leak in tahvo_usb_probe()
CVE-2023-53379
Currently unrated
What is CVE-2023-53379?
In the Linux kernel, the following vulnerability has been resolved:
usb: phy: phy-tahvo: fix memory leak in tahvo_usb_probe()
Smatch reports: drivers/usb/phy/phy-tahvo.c: tahvo_usb_probe() warn: missing unwind goto?
After geting irq, if ret < 0, it will return without error handling to free memory. Just add error handling to fix this problem.
Affected Version(s)
Linux 3f06415418f37ac602e71a61ee83ea43553e6bbd < 3e5a7bebf832b1482efe27bcc15a88c5b28a30d0
Linux 5e2d2f05204f7ab9c645a1fb9f10a3f6393dd2fa < 4da9edeccf77d7b4c6dbcb34d5908acdaa5bd7e3
Linux 606668e24a0d7fd262e2326d76bb60b965fe713f