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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-415
- **Published:** 2026-05-01T14:14:51.895Z
- **Modified:** 2026-11-11T21:10:00.200Z

## Who should check

- Anyone running Linux \>= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, \< 2f70ba9dae13a190673cc3f9b4aad52179738f60; \>= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, \< ee248e6e941e4f2e634df2bd43e5f1ef810ab6df; \>= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, \< 272a9b26c336a295e4e209157fed809706c1b1f7; \>= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, \< aaeae6533d77e6ed4def85baec01e2815ebbef61; \>= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, \< 8763f8317bb389aded32a32b08f6751cfff657d2; \>= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, \< 38c28fe25611099230f0965c925499bfcf46a795; \>= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, \< a6e5461f076c2ef63159f18e5cdbd30b50f0bc15; \>= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, \< 01af542392b5d41fd659d487015a71f627accce3
- Anyone running Linux 4.2

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

## Affected and fixed versions

- Linux: \>= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, \< 2f70ba9dae13a190673cc3f9b4aad52179738f60; \>= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, \< ee248e6e941e4f2e634df2bd43e5f1ef810ab6df; \>= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, \< 272a9b26c336a295e4e209157fed809706c1b1f7; \>= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, \< aaeae6533d77e6ed4def85baec01e2815ebbef61; \>= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, \< 8763f8317bb389aded32a32b08f6751cfff657d2; \>= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, \< 38c28fe25611099230f0965c925499bfcf46a795; \>= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, \< a6e5461f076c2ef63159f18e5cdbd30b50f0bc15; \>= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, \< 01af542392b5d41fd659d487015a71f627accce3 (cvelist)
- Linux: 4.2 (cvelist)

## Mitigation

- Upgrade Linux to 01af542392b5d41fd659d487015a71f627accce3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-31759. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31759.md
Affected: Linux >= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, < 2f70ba9dae13a190673cc3f9b4aad52179738f60; >= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, < ee248e6e941e4f2e634df2bd43e5f1ef810ab6df; >= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, < 272a9b26c336a295e4e209157fed809706c1b1f7; >= 289fcff4bcdb1dcc0ce8788…
Fixed in: Linux 2f70ba9dae13a190673cc3f9b4aad52179738f60, Linux 272a9b26c336a295e4e209157fed809706c1b1f7, Linux 8763f8317bb389aded32a32b08f6751cfff657d2, Linux 38c28fe25611099230f0965c925499bfcf46a795, Linux 01af542392b5d41fd659d487015a71f627accce3

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-31759 being exploited?

There is no confirmed exploitation: CVE-2026-31759 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-31759?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-31759?

Linux \>= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, \< 2f70ba9dae13a190673cc3f9b4aad52179738f60; \>= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, \< ee248e6e941e4f2e634df2bd43e5f1ef810ab6df; \>= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, \< 272a9b26c336a295e4e209157fed809706c1b1f7; \>= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, \< aaeae6533d77e6ed4def85baec01e2815ebbef61; \>= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, \< 8763f8317bb389aded32a32b08f6751cfff657d2; \>= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, \< 38c28fe25611099230f0965c925499bfcf46a795; \>= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, \< a6e5461f076c2ef63159f18e5cdbd30b50f0bc15; \>= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, \< 01af542392b5d41fd659d487015a71f627accce3; Linux 4.2.

### Is there a fix for CVE-2026-31759?

Yes. Fixed in Linux 2f70ba9dae13a190673cc3f9b4aad52179738f60, Linux 272a9b26c336a295e4e209157fed809706c1b1f7, Linux 8763f8317bb389aded32a32b08f6751cfff657d2, Linux 38c28fe25611099230f0965c925499bfcf46a795, Linux 01af542392b5d41fd659d487015a71f627accce3. Upgrade Linux to 01af542392b5d41fd659d487015a71f627accce3 or later.

### How do I check if I'm affected by CVE-2026-31759?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-31759>

HTML: <https://flawdb.com/CVE-2026-31759> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-31759>
