Bug 2464457 (CVE-2026-31759) - CVE-2026-31759 kernel: usb: ulpi: fix double free in ulpi_register_interface() error path
Summary: CVE-2026-31759 kernel: usb: ulpi: fix double free in ulpi_register_interface(...
Keywords:
Status: NEW
Alias: CVE-2026-31759
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-01 15:07 UTC by OSIDB Bzimport
Modified: 2026-05-01 22:35 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-01 15:07:52 UTC
In the Linux kernel, the following vulnerability has been resolved:

usb: ulpi: fix double free in ulpi_register_interface() error path

When device_register() fails, ulpi_register() calls put_device() on
ulpi->dev.

The device release callback ulpi_dev_release() drops the OF node
reference and frees ulpi, but the current error path in
ulpi_register_interface() then calls kfree(ulpi) again, causing a
double free.

Let put_device() handle the cleanup through ulpi_dev_release() and
avoid freeing ulpi again in ulpi_register_interface().


Note You need to log in before you can comment on or make changes to this bug.