usb: ulpi: fix memory leak on ulpi_register() error paths

Summary

CVECVE-2026-46109
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-05-28 10:16:26 UTC
Updated2026-06-24 18:31:16 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: usb: ulpi: fix memory leak on ulpi_register() error paths Commit 01af542392b5 ("usb: ulpi: fix double free in ulpi_register_interface() error path") removed kfree(ulpi) from ulpi_register_interface() to fix a double-free when device_register() fails. But when ulpi_of_register() or ulpi_read_id() fail before device_register() is called, the ulpi allocation is leaked. Add kfree(ulpi) on both error paths to properly clean up the allocation.

Risk And Classification

Primary CVSS: v3.1 5.5 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

EPSS: 0.000320000 probability, percentile 0.097350000 (date 2026-06-04)

Problem Types: CWE-401

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 2f70ba9dae13a190673cc3f9b4aad52179738f60 0c2c0c6820fe96fa4be0a0499f8d3f3321b9af6c git Not specified
CNA Linux Linux affected ee248e6e941e4f2e634df2bd43e5f1ef810ab6df f1b855c00988a9cb41134cab7cf9faedba775dd9 git Not specified
CNA Linux Linux affected 272a9b26c336a295e4e209157fed809706c1b1f7 7bd61ed0bf9f4f1f2673d489b3bda1555b48d054 git Not specified
CNA Linux Linux affected aaeae6533d77e6ed4def85baec01e2815ebbef61 b0c0d44adb55c66663886cb6e30ee92cbb0f5385 git Not specified
CNA Linux Linux affected 8763f8317bb389aded32a32b08f6751cfff657d2 be2c1d825f54277472c87019e82013ac534ddc4c git Not specified
CNA Linux Linux affected 38c28fe25611099230f0965c925499bfcf46a795 2a71e01b2cf9b4329ff67102c1bea7448c2a2d2d git Not specified
CNA Linux Linux affected 01af542392b5d41fd659d487015a71f627accce3 f30ccfc2985590b33a23a3d8bed7ca16c0af551b git Not specified
CNA Linux Linux affected 01af542392b5d41fd659d487015a71f627accce3 0b9fcab1b8608d429e5f239afb197de928d4de7d git Not specified
CNA Linux Linux affected a6e5461f076c2ef63159f18e5cdbd30b50f0bc15 git Not specified
CNA Linux Linux affected 5.10.253 5.10.258 semver Not specified
CNA Linux Linux affected 5.15.203 5.15.209 semver Not specified
CNA Linux Linux affected 6.1.168 6.1.175 semver Not specified
CNA Linux Linux affected 6.6.134 6.6.140 semver Not specified
CNA Linux Linux affected 6.12.81 6.12.88 semver Not specified
CNA Linux Linux affected 6.18.22 6.18.30 semver Not specified
CNA Linux Linux affected 6.19.12 6.20 semver Not specified
CNA Linux Linux affected 7.0 Not specified
CNA Linux Linux unaffected 7.0 semver Not specified
CNA Linux Linux unaffected 5.10.258 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.209 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.175 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.140 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.88 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.30 6.18.* semver Not specified
CNA Linux Linux unaffected 7.0.7 7.0.* semver Not specified
CNA Linux Linux unaffected 7.1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/f1b855c00988a9cb41134cab7cf9faedba775dd9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/7bd61ed0bf9f4f1f2673d489b3bda1555b48d054 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/b0c0d44adb55c66663886cb6e30ee92cbb0f5385 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/2a71e01b2cf9b4329ff67102c1bea7448c2a2d2d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/0c2c0c6820fe96fa4be0a0499f8d3f3321b9af6c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/0b9fcab1b8608d429e5f239afb197de928d4de7d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/f30ccfc2985590b33a23a3d8bed7ca16c0af551b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/be2c1d825f54277472c87019e82013ac534ddc4c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report