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.
Published: 2026-05-28
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel contains a memory‑leak flaw in ULPI registration. When ulpi_of_register() or ulpi_read_id() fail before device_register() runs, the allocated ULPI structure is never freed, causing kernel memory to leak. If an attacker can repeatedly trigger these failure paths, the kernel can run out of memory, leading to a system stall or reboot. This is a classic memory‑leak weakness and also represents resource exhaustion (CWE‑772).

Affected Systems

All Linux kernel releases that include the ULPI code path and have not applied the patch from commit 01af5423 are affected. The fix removes the double‑free and adds a kfree on error paths. System administrators should verify whether their kernel version includes this commit or equivalent changes.

Risk and Exploitability

The EPSS score of < 1% indicates a very low chance of exploitation. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that exploitation would require triggering the ULPI error paths, which typically requires privileged kernel access or direct interaction with the USB subsystem. Therefore, the likely attack vector is a local privileged attacker. Remote exploitation is unlikely, whereas a local privileged attacker or a misconfigured kernel driver could lead to kernel memory exhaustion and a denial of service.

Generated by OpenCVE AI on May 29, 2026 at 05:30 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that incorporates commit 01af5423 or later, or apply the patch manually to the kernel source and rebuild.
  • If an upgrade or patch is not immediately feasible, disable ULPI drivers or stop loading USB devices that engage the vulnerable code path until the fix can be applied.
  • Regularly monitor kernel logs for ulpi_of_register or ulpi_read_id error messages and track kernel memory usage; if memory consumption rises or frequent errors occur, reboot the system or apply the patch as soon as possible.

Generated by OpenCVE AI on May 29, 2026 at 05:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 29 May 2026 04:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Fri, 29 May 2026 00:15:00 +0000


Thu, 28 May 2026 13:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Thu, 28 May 2026 10:15:00 +0000

Type Values Removed Values Added
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.
Title usb: ulpi: fix memory leak on ulpi_register() error paths
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-28T09:35:16.409Z

Reserved: 2026-05-13T15:03:33.098Z

Link: CVE-2026-46109

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-28T10:16:26.307

Modified: 2026-05-28T13:44:01.663

Link: CVE-2026-46109

cve-icon Redhat

Severity :

Publid Date: 2026-05-28T00:00:00Z

Links: CVE-2026-46109 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-29T05:30:36Z

Weaknesses