{"id":"CVE-2026-80940","aliases":["CVE-2026-80940"],"related":[],"kind":"vulnerability","state":"published","title":"wifi: rtw88: pci: fix resource leak on failed NAPI setup","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: rtw88: pci: fix resource leak on failed NAPI setup\n\nrtw_pci_probe() allocates PCI resources through\nrtw_pci_setup_resource() before it sets up NAPI. If\nrtw_pci_napi_init() fails, the error path jumps straight to\nerr_pci_declaim and skips rtw_pci_destroy(), leaving the PCI\nresources allocated by rtw_pci_setup_resource() behind.\n\nAdd a dedicated cleanup label for the NAPI setup failure path so probe\ndestroys the PCI resources.\n\nThe bug was first flagged by an experimental analysis tool we are\ndeveloping for kernel memory-management bugs while analyzing current\nmainline kernels. The tool is still under development and is not yet\npublicly available. Manual inspection confirms that the bug is still\npresent in v7.1-rc7.\n\nAn x86_64 allyesconfig build showed no new warnings. As we do not have a\nsuitable rtw88 PCI board to test with, no runtime testing was able to be\nperformed.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: rtw88: pci: fix resource leak on failed NAPI setup\n\nrtw_pci_probe() allocates PCI resources through\nrtw_pci_setup_resource() before it sets up NAPI. If\nrtw_pci_napi_init() fails, the error path jumps straight to\nerr_pci_declaim and skips rtw_pci_destroy(), leaving the PCI\nresources allocated by rtw_pci_setup_resource() behind.\n\nAdd a dedicated cleanup label for the NAPI setup failure path so probe\ndestroys the PCI resources.\n\nThe bug was first flagged by an experimental analysis tool we are\ndeveloping for kernel memory-management bugs while analyzing current\nmainline kernels. The tool is still under development and is not yet\npublicly available. Manual inspection confirms that the bug is still\npresent in v7.1-rc7.\n\nAn x86_64 allyesconfig build showed no new warnings. As we do not have a\nsuitable rtw88 PCI board to test with, no runtime testing was able to be\nperformed.","source":"cvelist"}],"published":"2026-09-11T19:42:13.084Z","modified":"2026-10-19T09:17:25.230Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d0bcb10e7b94861c714ab1e62c98bf8abaa37527","fixed":"481fff9bda01720c70b19fb260808145a3f21594","status":"affected"},{"type":"git","introduced":"d0bcb10e7b94861c714ab1e62c98bf8abaa37527","fixed":"34a505071d1ffc5ebf3dc3cd16d2a12b044bcc84","status":"affected"},{"type":"git","introduced":"d0bcb10e7b94861c714ab1e62c98bf8abaa37527","fixed":"b1596e212ab1739930b25b9d3daf6b5cd307b537","status":"affected"},{"type":"git","introduced":"d0bcb10e7b94861c714ab1e62c98bf8abaa37527","fixed":"e779df4806cd29cbcca5c9dc0a1073662c76b889","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.11","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/481fff9bda01720c70b19fb260808145a3f21594","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/34a505071d1ffc5ebf3dc3cd16d2a12b044bcc84","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b1596e212ab1739930b25b9d3daf6b5cd307b537","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e779df4806cd29cbcca5c9dc0a1073662c76b889","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80940","url":"https://www.cve.org/CVERecord?id=CVE-2026-80940","licence":"CVE Terms of Use","modified":"2026-10-19T08:45:24.150Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80940","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80940","licence":"Public domain","modified":"2026-10-19T09:17:25.230Z"}],"updatedAt":"2026-11-25T22:59:37.987Z","epss":{"score":0.00168,"percentile":0.06356,"date":"2026-12-02T12:00:21.000Z"}}