CVE-2026-46109

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

MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.12 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Undergoing Analysis

Description

In 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.

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 2f70ba9dae13a190673cc3f9b4aad52179738f60 < 0c2c0c6820fe96fa4be0a0499f8d3f3321b9af6c ; affected ee248e6e941e4f2e634df2bd43e5f1ef810ab6df < f1b855c00988a9cb41134cab7cf9faedba775dd9 ; affected 272a9b26c336a295e4e209157fed809706c1b1f7 < 7bd61ed0bf9f4f1f2673d489b3bda1555b48d054 ; affected aaeae6533d77e6ed4def85baec01e2815ebbef61 < b0c0d44adb55c66663886cb6e30ee92cbb0f5385 ; affected 8763f8317bb389aded32a32b08f6751cfff657d2 < be2c1d825f54277472c87019e82013ac534ddc4c ; affected 38c28fe25611099230f0965c925499bfcf46a795 < 2a71e01b2cf9b4329ff67102c1bea7448c2a2d2d
Linux · Linuxaffected 7.0 ; unaffected 0 < 7.0 ; unaffected 5.10.258 ≤ 5.10.* ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.140 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD