wifi: rtw88: fix device leak on probe failure (Linux Linux)

CVE-2026-31604
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: rtw88: fix device leak on probe failure Driver core holds a reference to the USB interface and its parent USB device while the interface is bound to a driver and there is no need to take additional references unless the structures are needed after disconnect. This driver takes a reference to the USB device during probe but does not to release it on all probe errors (e.g. when descriptor parsing fails). Drop the redundant device reference to fix the leak, reduce cargo culting, make it easier to spot drivers where an extra reference is needed, and reduce the risk of further memory leaks.

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 a82dfd33d1237f6c0fb8a7077022189d1fc7ec98 < f632987306bce9242cdfcf911ee0b2c9455e05a3 ; affected a82dfd33d1237f6c0fb8a7077022189d1fc7ec98 < a4f4371d194dfa5473cc961f86194084b1b13a69 ; affected a82dfd33d1237f6c0fb8a7077022189d1fc7ec98 < 89a9c1bc7d797120bcc290864e0cb10a440a677f ; affected a82dfd33d1237f6c0fb8a7077022189d1fc7ec98 < af7307e96dad00bcc2675dac650d8558a52f2c6f ; affected a82dfd33d1237f6c0fb8a7077022189d1fc7ec98 < 25a827b7e1d5747a255bdc757f1d3e9e1e8a4e2a ; affected a82dfd33d1237f6c0fb8a7077022189d1fc7ec98 < bbb15e71156cd9f5e1869eee7207a06ea8e96c39
Linux · Linuxaffected 6.2 ; unaffected 0 < 6.2 ; unaffected 6.6.136 ≤ 6.6.* ; unaffected 6.12.83 ≤ 6.12.* ; unaffected 6.18.24 ≤ 6.18.* ; unaffected 6.19.14 ≤ 6.19.*

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