Description
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: recheck the OCB station limit before insertion Frames from successive unknown OCB peers can make the deferred worker install more than 128 stations. The receive path checks local->num_sta before allocating each station, but pending stations are not included in that count. Several allocations can therefore pass before the worker inserts any of them, and the worker then drains the list without rechecking the limit. Recheck the installed-station limit in the worker under the wiphy mutex and free entries that no longer fit. LLM assistance was used to find the bug and review.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
239281f803e2efdb77d906ef296086b6917e5d71 to < 314ac0131acc96b71ea1c1f99c56a1325e5bf088affected239281f803e2efdb77d906ef296086b6917e5d71 to < d9a5f6cf0ad00570308bd5e623c25d5fb3d43d05affected239281f803e2efdb77d906ef296086b6917e5d71 to < 60271b6a8dfead07437fe3484b8f58e744b7e78baffected239281f803e2efdb77d906ef296086b6917e5d71 to < ad4461c5290e948b2f7f07393aebb964b865ff9faffected239281f803e2efdb77d906ef296086b6917e5d71 to < a78435626a427b46f2f88daeeef8e6fcf97bd896affected239281f803e2efdb77d906ef296086b6917e5d71 to < 27e29a077b4887d0e0a813337f8b7e06bd020c81affected
Linux Linux
Default version status: affected
3.19affected0 to < 3.19unaffected5.10.276 to ≤ 5.10.*unaffected5.15.227 to ≤ 5.15.*unaffected6.12.120 to ≤ 6.12.*unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/314ac0131acc96b71ea1c1f99c56a1325e5bf088 ↗
- https://git.kernel.org/stable/c/d9a5f6cf0ad00570308bd5e623c25d5fb3d43d05 ↗
- https://git.kernel.org/stable/c/60271b6a8dfead07437fe3484b8f58e744b7e78b ↗
- https://git.kernel.org/stable/c/ad4461c5290e948b2f7f07393aebb964b865ff9f ↗
- https://git.kernel.org/stable/c/a78435626a427b46f2f88daeeef8e6fcf97bd896 ↗
- https://git.kernel.org/stable/c/27e29a077b4887d0e0a813337f8b7e06bd020c81 ↗