CVE-2026-46109

usb: ulpi: fix memory leak on ulpi_register() error paths

published May 28, 2026

CVSS
—
EPSS
0%
Percentile
5.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00162 · 5.1th percentile
Published
2026-05-28T09:35Z
EPSS history
Timeline
  • 28 MAY 09:35Z
    usb: ulpi: fix memory leak on ulpi_register() error paths
    cvelistv5