VDB

CVE-2026-31759

CVE-2026-31759 PUBLISHED

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

Reported by linux · Published May 1, 2026

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().

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-modules-extraAmazon Linux1:6.1.168-202.320.amzn2023
kernel-livepatch-6.1.168-202.320Amazon Linux1:1.0-0.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.168-202.320.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.25-52.107.amzn2023
kernel-tools-develAmazon Linux1:6.1.168-202.320.amzn2023

Affected products

VendorProductVersions
LinuxLinux289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f
LinuxLinux4.2, 0, 5.10.253
amazon:2023kernel-modules-extra0
amazon:2023kernel-livepatch-6.1.168-202.3200
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel-tools-devel0
amazon:2023kernel0
amazon:2023perf0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.18-tools0
linuxlinux_kernel4.2, 4.2, 4.2
amazon:2023kernel-headers0
amazon:2023python3-perf0
amazon:2023bpftool0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-libbpf-static0
LinuxLinux7.0, 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, 4.2
amazon:2023bpftool6.180

…and 9 more

Timeline

  • May 1, 2026 CVE Published
  • May 8, 2026 CVE Updated
  • May 18, 2026 EPSS Score (26 in total, the first dated here)
  • Jun 2, 2026 Security Advisory (120 in total, the first dated here)
  • Jul 28, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (114 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-31759
vulnetix vdb fixes CVE-2026-31759

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-31759/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›