In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: bound pending OCB station allocations Delaying the OCB station worker while frames arrive from new peers can retain an unbounded number of station allocations. The receive-side limit counts installed stations, while new allocations wait on incomplete_stations until process context inserts them. The list lock does not cover the interval between allocation and list insertion. Reserve one of 128 pending slots per interface before allocation. Release the reservation on allocation failure, after the worker inserts or frees the station, and when leave frees the pending list. LLM assistance was used to find the bug and review.
https://git.kernel.org/stable/c/ee1a5e92dba0a98cabe476c780e3af4f0ab88b27
https://git.kernel.org/stable/c/d564176858a7d2103450a5a48e88f43e1d3e42ff
https://git.kernel.org/stable/c/ad32dc49cc9676b654d3bb31b9002c3914f3cc6e
https://git.kernel.org/stable/c/94a21d4811f8a4b0f8f3eb8db22c2d9ef54db9a5
https://git.kernel.org/stable/c/4a5df49b2f82d40afe997925267da208776a809a
https://git.kernel.org/stable/c/1d5375761797194867b60d065a9a1220d8ffb7de