wifi: rtw88: fix device leak on probe failure
Summary
| CVE | CVE-2026-31604 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-04-24 15:16:39 UTC |
| Updated | 2026-04-29 19:21:26 UTC |
| 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. |
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.000210000 probability, percentile 0.057430000 (date 2026-04-27)
Problem Types: CWE-401
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS: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)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected a82dfd33d1237f6c0fb8a7077022189d1fc7ec98 f632987306bce9242cdfcf911ee0b2c9455e05a3 git | Not specified |
| CNA | Linux | Linux | affected a82dfd33d1237f6c0fb8a7077022189d1fc7ec98 a4f4371d194dfa5473cc961f86194084b1b13a69 git | Not specified |
| CNA | Linux | Linux | affected a82dfd33d1237f6c0fb8a7077022189d1fc7ec98 89a9c1bc7d797120bcc290864e0cb10a440a677f git | Not specified |
| CNA | Linux | Linux | affected a82dfd33d1237f6c0fb8a7077022189d1fc7ec98 af7307e96dad00bcc2675dac650d8558a52f2c6f git | Not specified |
| CNA | Linux | Linux | affected a82dfd33d1237f6c0fb8a7077022189d1fc7ec98 25a827b7e1d5747a255bdc757f1d3e9e1e8a4e2a git | Not specified |
| CNA | Linux | Linux | affected a82dfd33d1237f6c0fb8a7077022189d1fc7ec98 bbb15e71156cd9f5e1869eee7207a06ea8e96c39 git | Not specified |
| CNA | Linux | Linux | affected 6.2 | Not specified |
| CNA | Linux | Linux | unaffected 6.2 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.136 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.83 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.24 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.19.14 6.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0.1 7.0.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1-rc1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/89a9c1bc7d797120bcc290864e0cb10a440a677f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/bbb15e71156cd9f5e1869eee7207a06ea8e96c39 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/25a827b7e1d5747a255bdc757f1d3e9e1e8a4e2a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/f632987306bce9242cdfcf911ee0b2c9455e05a3 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/a4f4371d194dfa5473cc961f86194084b1b13a69 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/af7307e96dad00bcc2675dac650d8558a52f2c6f | 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 |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.