Skip to content
Heist/ feed
Back to feed
UnratedFix available

wifi: rtw88: fix device leak on probe failure

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.83, 6.18.24, 6.19.14, 6.6.136, 7.0.1
CVEs
CVE-2026-31604
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 00:44 UTC · Revision 1

Source evidence

wifi: rtw88: fix device leak on probe failure

core-osv · Original source

Published 24 Apr 2026, 14:42 UTC

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.

osv:CVE-2026-31604

Kernel

Fixed versions: 6.6.136, 6.12.83, 6.18.24, 6.19.14, 7.0.1

Complete source record
{
  "id": "3db49354d1ed89af2c335baf3b1f7861bbdbcb953a8a3c09b3a147c789657639",
  "url": "https://osv.dev/vulnerability/CVE-2026-31604",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "wifi: rtw88: fix device leak on probe failure",
    "summary": "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.",
    "evidence": "osv:CVE-2026-31604",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.6.136",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.83",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.24",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.19.14",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.0.1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-31604",
      "aliases": [
        "CVE-2026-31604"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a82dfd33d1237f6c0fb8a7077022189d1fc7ec98"
                },
                {
                  "fixed": "f632987306bce9242cdfcf911ee0b2c9455e05a3"
                },
                {
                  "fixed": "a4f4371d194dfa5473cc961f86194084b1b13a69"
                },
                {
                  "fixed": "89a9c1bc7d797120bcc290864e0cb10a440a677f"
                },
                {
                  "fixed": "af7307e96dad00bcc2675dac650d8558a52f2c6f"
                },
                {
                  "fixed": "25a827b7e1d5747a255bdc757f1d3e9e1e8a4e2a"
                },
                {
                  "fixed": "bbb15e71156cd9f5e1869eee7207a06ea8e96c39"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31604.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.136"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.83"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.24"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "6.19.14"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.20.0"
                },
                {
                  "fixed": "7.0.1"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31604.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:45.599652621Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/25a827b7e1d5747a255bdc757f1d3e9e1e8a4e2a",
        "https://git.kernel.org/stable/c/89a9c1bc7d797120bcc290864e0cb10a440a677f",
        "https://git.kernel.org/stable/c/a4f4371d194dfa5473cc961f86194084b1b13a69",
        "https://git.kernel.org/stable/c/af7307e96dad00bcc2675dac650d8558a52f2c6f",
        "https://git.kernel.org/stable/c/bbb15e71156cd9f5e1869eee7207a06ea8e96c39",
        "https://git.kernel.org/stable/c/f632987306bce9242cdfcf911ee0b2c9455e05a3",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31604.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-31604",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31604.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-31604",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 513588,
  "published_at": "2026-04-24T14:42:27.342+00:00"
}