# CVE-2026-31759: usb: ulpi: fix double free in ulpi_register_interface() error path

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-05-01T14:14:51.895Z
- Modified: 2026-11-11T21:10:00.200Z
- Weaknesses: CWE-415
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

(As written by CVE List.)

## Affected

- Linux Linux: from 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f before 2f70ba9dae13a190673cc3f9b4aad52179738f60; from 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f before ee248e6e941e4f2e634df2bd43e5f1ef810ab6df; from 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f before 272a9b26c336a295e4e209157fed809706c1b1f7; from 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f before aaeae6533d77e6ed4def85baec01e2815ebbef61; from 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f before 8763f8317bb389aded32a32b08f6751cfff657d2; from 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f before 38c28fe25611099230f0965c925499bfcf46a795; from 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f before a6e5461f076c2ef63159f18e5cdbd30b50f0bc15; from 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f before 01af542392b5d41fd659d487015a71f627accce3; 4.2 (not affected: before 4.2; from 5.10.253 up to 5.10.*; from 5.15.203 up to 5.15.*; from 6.1.168 up to 6.1.*; from 6.6.134 up to 6.6.*; from 6.12.81 up to 6.12.*; from 6.18.22 up to 6.18.*; from 6.19.12 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 4.2 before 5.10.253; from 5.11 before 5.15.203; from 5.16 before 6.1.168; from 6.2 before 6.6.134; from 6.7 before 6.12.81; from 6.13 before 6.18.22; from 6.19 before 6.19.12; 7.0

## References

- <https://git.kernel.org/stable/c/2f70ba9dae13a190673cc3f9b4aad52179738f60> (patch)
- <https://git.kernel.org/stable/c/ee248e6e941e4f2e634df2bd43e5f1ef810ab6df> (patch)
- <https://git.kernel.org/stable/c/272a9b26c336a295e4e209157fed809706c1b1f7> (patch)
- <https://git.kernel.org/stable/c/aaeae6533d77e6ed4def85baec01e2815ebbef61> (patch)
- <https://git.kernel.org/stable/c/8763f8317bb389aded32a32b08f6751cfff657d2> (patch)
- <https://git.kernel.org/stable/c/38c28fe25611099230f0965c925499bfcf46a795> (patch)
- <https://git.kernel.org/stable/c/a6e5461f076c2ef63159f18e5cdbd30b50f0bc15> (patch)
- <https://git.kernel.org/stable/c/01af542392b5d41fd659d487015a71f627accce3> (patch)

## Sources

- CVE List: [CVE-2026-31759](https://www.cve.org/CVERecord?id=CVE-2026-31759), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-31759](https://nvd.nist.gov/vuln/detail/CVE-2026-31759), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-31759 · Whole record: https://cve.day/CVE-2026-31759.json · Rebuilt by cve.day 2026-11-25T22:59:20.373Z
