Description
In the Linux kernel, the following vulnerability has been resolved: usb: ulpi: fix memory leak on ulpi_register() error paths Commit 01af542392b5 (-usb: ulpi: fix double free in ulpi_register_interface() error path-) removed kfree(ulpi) from ulpi_register_interface() to fix a double-free when device_register() fails. But when ulpi_of_register() or ulpi_read_id() fail before device_register() is called, the ulpi allocation is leaked. Add kfree(ulpi) on both error paths to properly clean up the allocation.
CVSS 5.5EPSS 0.123%Risque 0.56
Voir la source- Publication
- 2026-05-28 10:16:26
- Versions concernées
- unknown
- Type
- Core software
- Vecteur
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Systèmes d’exploitation
- Linux