{"id":"CVE-2026-72004","summary":"wifi: mac80211: fix memory leak in ieee80211_register_hw()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mac80211: fix memory leak in ieee80211_register_hw()\n\nIf kmemdup() fails while copying supported band structures, the error\npath jumps to fail_rate. This skips rate_control_deinitialize() and\nleaks the initialized local-\u003erate_ctrl.\n\nFix this by adding a fail_band label that shares the rate-control cleanup\npath before falling through to the remaining teardown.\n\nThe bug was first flagged by an experimental analysis tool we are\ndeveloping for kernel memory-management bugs while analyzing\nv6.13-rc1. The tool is still under development and is not yet publicly\navailable. Manual inspection confirms that the bug is still present in\nv7.1-rc7.\n\nAn x86_64 allyesconfig build showed no new warnings. As we do not have a\nsuitable mac80211 device/driver combination to test with, no runtime\ntesting was able to be performed.","modified":"2026-08-18T03:31:05.824920438Z","published":"2026-08-15T05:51:35.363Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72004.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/08b71bd92317f99642b842cfc0d30200868162fc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3d8b9b290421c3cd505fcd2f551f143f8142786a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/45e9ac538cdff7bce656d731114a64eda85af0d7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/95fc02722edde02946d0d475221f2b2054d3d8ba"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a02b52fe54f7b5107aefa1ce28c2f69749c57616"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a7584f261e64fe14e45bdf70f343e16c1ee3a037"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bdc0b8bfdc142439d6708b072e8159eb515ee7b0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f01eec75fd372961550b928902f3a2c11fca1daf"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72004.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72004"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"09b4a4faf9d037990ac4f8110dd944b27b42d5df"},{"fixed":"f01eec75fd372961550b928902f3a2c11fca1daf"},{"fixed":"3d8b9b290421c3cd505fcd2f551f143f8142786a"},{"fixed":"08b71bd92317f99642b842cfc0d30200868162fc"},{"fixed":"a02b52fe54f7b5107aefa1ce28c2f69749c57616"},{"fixed":"45e9ac538cdff7bce656d731114a64eda85af0d7"},{"fixed":"bdc0b8bfdc142439d6708b072e8159eb515ee7b0"},{"fixed":"a7584f261e64fe14e45bdf70f343e16c1ee3a037"},{"fixed":"95fc02722edde02946d0d475221f2b2054d3d8ba"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72004.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.10.261"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.212"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.178"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.145"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.97"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.40"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72004.json"}}],"schema_version":"1.9.0"}