CVE-2026-31759
usb: ulpi: fix double free in ulpi_register_interface() error path
Mitigation
- Upgrade Linux to 01af542392b5d41fd659d487015a71f627accce3 or later.
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
Vulnerability facts
- Affected
- Linux >= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, < 2f70ba9dae13a190673cc3f9b4aad52179738f60; >= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, < ee248e6e941e4f2e634df2bd43e5f1ef810ab6df; >= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, < 272a9b26c336a295e4e209157fed809706c1b1f7; >= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, < aaeae6533d77e6ed4def85baec01e2815ebbef61; >= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, < 8763f8317bb389aded32a32b08f6751cfff657d2; >= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, < 38c28fe25611099230f0965c925499bfcf46a795; >= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, < a6e5461f076c2ef63159f18e5cdbd30b50f0bc15; >= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, < 01af542392b5d41fd659d487015a71f627accce3; Linux 4.2
- Fixed in
- Linux 2f70ba9dae13a190673cc3f9b4aad52179738f60, Linux 272a9b26c336a295e4e209157fed809706c1b1f7, Linux 8763f8317bb389aded32a32b08f6751cfff657d2, Linux 38c28fe25611099230f0965c925499bfcf46a795, Linux 01af542392b5d41fd659d487015a71f627accce3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.18% chance of exploitation in 30 days (percentile 4, 2026-11-26)
- CWE
- CWE-415
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, < 2f70ba9dae13a190673cc3f9b4aad52179738f60; >= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, < ee248e6e941e4f2e634df2bd43e5f1ef810ab6df; >= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, < 272a9b26c336a295e4e209157fed809706c1b1f7; >= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, < aaeae6533d77e6ed4def85baec01e2815ebbef61; >= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, < 8763f8317bb389aded32a32b08f6751cfff657d2; >= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, < 38c28fe25611099230f0965c925499bfcf46a795; >= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, < a6e5461f076c2ef63159f18e5cdbd30b50f0bc15; >= 289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f, < 01af542392b5d41fd659d487015a71f627accce3 | — | cvelist |
| Linux | 4.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Patches
- https://git.kernel.org/stable/c/2f70ba9dae13a190673cc3f9b4aad52179738f60
- https://git.kernel.org/stable/c/ee248e6e941e4f2e634df2bd43e5f1ef810ab6df
- https://git.kernel.org/stable/c/272a9b26c336a295e4e209157fed809706c1b1f7
- https://git.kernel.org/stable/c/aaeae6533d77e6ed4def85baec01e2815ebbef61
- https://git.kernel.org/stable/c/8763f8317bb389aded32a32b08f6751cfff657d2
- https://git.kernel.org/stable/c/38c28fe25611099230f0965c925499bfcf46a795
- https://git.kernel.org/stable/c/a6e5461f076c2ef63159f18e5cdbd30b50f0bc15
- https://git.kernel.org/stable/c/01af542392b5d41fd659d487015a71f627accce3
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.