In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: recheck the IBSS station limit before insertion Frames from successive unknown IBSS 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.
https://git.kernel.org/stable/c/fa4b73f981d275cecff024b7344b67cf8cef3785
https://git.kernel.org/stable/c/f7670bcdf650b37551a9c5d084521f877d939f11
https://git.kernel.org/stable/c/b3858ee8c83c2c395cc7c179edd949c5fb6e4387
https://git.kernel.org/stable/c/5a8e6d22d2dcde73df087cc42ae037e853d8348b
https://git.kernel.org/stable/c/3701fd7077b6622197742e047f8552702a244292
https://git.kernel.org/stable/c/3207a20842767ad47d9521265fb1b2a896e85efa