CVE-2026-31759
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-modules-extra | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
| kernel-livepatch-6.1.168-202.320 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.25-52.107.amzn2023 |
| kernel-tools-devel | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f |
| Linux | Linux | 4.2, 0, 5.10.253 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-livepatch-6.1.168-202.320 | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| linux | linux_kernel | 4.2, 4.2, 4.2 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| Linux | Linux | 7.0, 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, 4.2 |
| amazon:2023 | bpftool6.18 | 0 |
…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