wifi: mac80211: fix memory leak in ieee80211_register_hw()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f01eec75fd372961550b928902f3a2c11fca1daf, Kernel 08b71bd92317f99642b842cfc0d30200868162fc, Kernel 3d8b9b290421c3cd505fcd2f551f143f8142786a and 12 more.
In 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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=09b4a4faf9d037990ac4f8110dd944b27b42d5df <f01eec75fd372961550b928902f3a2c11fca1daf, >=09b4a4faf9d037990ac4f8110dd944b27b42d5df <08b71bd92317f99642b842cfc0d30200868162fc, >=09b4a4faf9d037990ac4f8110dd944b27b42d5df <3d8b9b290421c3cd505fcd2f551f143f8142786a, >=09b4a4faf9d037990ac4f8110dd944b27b42d5df <45e9ac538cdff7bce656d731114a64eda85af0d7, >=09b4a4faf9d037990ac4f8110dd944b27b42d5df <95fc02722edde02946d0d475221f2b2054d3d8ba, >=09b4a4faf9d037990ac4f8110dd944b27b42d5df <a02b52fe54f7b5107aefa1ce28c2f69749c57616, >=09b4a4faf9d037990ac4f8110dd944b27b42d5df <a7584f261e64fe14e45bdf70f343e16c1ee3a037, >=09b4a4faf9d037990ac4f8110dd944b27b42d5df <bdc0b8bfdc142439d6708b072e8159eb515ee7b0, =4.20 | f01eec75fd372961550b928902f3a2c11fca1daf, 08b71bd92317f99642b842cfc0d30200868162fc, 3d8b9b290421c3cd505fcd2f551f143f8142786a, 45e9ac538cdff7bce656d731114a64eda85af0d7, 95fc02722edde02946d0d475221f2b2054d3d8ba, a02b52fe54f7b5107aefa1ce28c2f69749c57616, a7584f261e64fe14e45bdf70f343e16c1ee3a037, bdc0b8bfdc142439d6708b072e8159eb515ee7b0 |
| linux-kernel: Kernel | >=5.11.0 <5.15.212, >=5.16.0 <6.1.178, >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97, >=4.20.0 <5.10.261 | 5.15.212, 6.1.178, 6.18.40, 7.1.5, 6.6.145, 6.12.97, 5.10.261 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket