CVE-2026-46109
usb: ulpi: fix memory leak on ulpi_register() error paths
- 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 5.10.258, 5.15.209, 6.1.175, 6.6.140, 6.12.88, and 2 more
- 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: 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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 5.10.253 · fixed in 5.10.258; From 5.15.203 · fixed in 5.15.209; From 6.1.168 · fixed in 6.1.175; From 6.6.134 · fixed in 6.6.140; From 6.12.81 · fixed in 6.12.88; From 6.18.22 · fixed in 6.18.30; From 6.19.12 · fixed in 6.20
- Linux Linux
7.0
References 8
git.kernel.org
- stable/c/0c2c0c6820fe96fa4be0a0499f8d3f3321b9af6c
- stable/c/f1b855c00988a9cb41134cab7cf9faedba775dd9
- stable/c/7bd61ed0bf9f4f1f2673d489b3bda1555b48d054
- stable/c/b0c0d44adb55c66663886cb6e30ee92cbb0f5385
- stable/c/be2c1d825f54277472c87019e82013ac534ddc4c
- stable/c/2a71e01b2cf9b4329ff67102c1bea7448c2a2d2d
- stable/c/f30ccfc2985590b33a23a3d8bed7ca16c0af551b
- stable/c/0b9fcab1b8608d429e5f239afb197de928d4de7d