Skip to content
Heist/ feed
Unrated

wifi: rtw88: pci: fix resource leak on failed NAPI setup

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: wifi: rtw88: pci: fix resource leak on failed NAPI setup rtw_pci_probe() allocates PCI resources through rtw_pci_setup_resource() before it sets up NAPI. If rtw_pci_napi_init() fails, the error path jumps straight to err_pci_declaim and skips rtw_pci_destroy(), leaving the PCI resources allocated by rtw_pci_setup_resource() behind. Add a dedicated cleanup label for the NAPI setup failure path so probe destroys the PCI resources. The bug was first flagged by an experimental analysis tool we are developing for kernel memory-management bugs while analyzing current mainline kernels. The tool is still under development and is not yet publicly available. Manual inspection confirms that the bug is still present in v7.1-rc7. An x86_64 allyesconfig build showed no new warnings. As we do not have a suitable rtw88 PCI board to test with, no runtime testing was able to be performed.

Announced Source revision 1
Original source ↗

CVE-2026-80940

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-80940

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "d0bcb10e7b94861c714ab1e62c98bf8abaa37527",
        "lessThan": "481fff9bda01720c70b19fb260808145a3f21594",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d0bcb10e7b94861c714ab1e62c98bf8abaa37527",
        "lessThan": "34a505071d1ffc5ebf3dc3cd16d2a12b044bcc84",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d0bcb10e7b94861c714ab1e62c98bf8abaa37527",
        "lessThan": "b1596e212ab1739930b25b9d3daf6b5cd307b537",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d0bcb10e7b94861c714ab1e62c98bf8abaa37527",
        "lessThan": "e779df4806cd29cbcca5c9dc0a1073662c76b889",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/net/wireless/realtek/rtw88/pci.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.11"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.11",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.12.109",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.50",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.4",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/net/wireless/realtek/rtw88/pci.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-80940

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#34901 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement