wifi: mac80211: fix memory leak in ieee80211_register_hw()

Summary

CVECVE-2026-72004
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-15 06:20:58 UTC
Updated2026-08-17 06:17:57 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: fix memory leak in ieee80211_register_hw() If kmemdup() fails while copying supported band structures, the error path jumps to fail_rate. This skips rate_control_deinitialize() and leaks the initialized local->rate_ctrl. Fix this by adding a fail_band label that shares the rate-control cleanup path before falling through to the remaining teardown. The bug was first flagged by an experimental analysis tool we are developing for kernel memory-management bugs while analyzing v6.13-rc1. 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 mac80211 device/driver combination to test with, no runtime testing was able to be performed.

Risk And Classification

EPSS: 0.002100000 probability, percentile 0.115410000 (date 2026-08-17)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 09b4a4faf9d037990ac4f8110dd944b27b42d5df f01eec75fd372961550b928902f3a2c11fca1daf git Not specified
CNA Linux Linux affected 09b4a4faf9d037990ac4f8110dd944b27b42d5df 3d8b9b290421c3cd505fcd2f551f143f8142786a git Not specified
CNA Linux Linux affected 09b4a4faf9d037990ac4f8110dd944b27b42d5df 08b71bd92317f99642b842cfc0d30200868162fc git Not specified
CNA Linux Linux affected 09b4a4faf9d037990ac4f8110dd944b27b42d5df a02b52fe54f7b5107aefa1ce28c2f69749c57616 git Not specified
CNA Linux Linux affected 09b4a4faf9d037990ac4f8110dd944b27b42d5df 45e9ac538cdff7bce656d731114a64eda85af0d7 git Not specified
CNA Linux Linux affected 09b4a4faf9d037990ac4f8110dd944b27b42d5df bdc0b8bfdc142439d6708b072e8159eb515ee7b0 git Not specified
CNA Linux Linux affected 09b4a4faf9d037990ac4f8110dd944b27b42d5df a7584f261e64fe14e45bdf70f343e16c1ee3a037 git Not specified
CNA Linux Linux affected 09b4a4faf9d037990ac4f8110dd944b27b42d5df 95fc02722edde02946d0d475221f2b2054d3d8ba git Not specified
CNA Linux Linux affected 4.20 Not specified
CNA Linux Linux unaffected 4.20 semver Not specified
CNA Linux Linux unaffected 5.10.261 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.212 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.178 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.145 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.97 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.40 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.5 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/a02b52fe54f7b5107aefa1ce28c2f69749c57616 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/3d8b9b290421c3cd505fcd2f551f143f8142786a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/95fc02722edde02946d0d475221f2b2054d3d8ba 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/bdc0b8bfdc142439d6708b072e8159eb515ee7b0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f01eec75fd372961550b928902f3a2c11fca1daf 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a7584f261e64fe14e45bdf70f343e16c1ee3a037 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/45e9ac538cdff7bce656d731114a64eda85af0d7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/08b71bd92317f99642b842cfc0d30200868162fc 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report