In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: release rejected nontransmitted BSS reference Repeated MBSSID reports without an SSID can leak BSS entries outside the scan cache, where the BSS entry limit cannot account for them. __cfg80211_bss_update() returns a referenced BSS. If adding it to the transmitting BSS list fails, unlinking drops the cache reference, but the caller reference is lost when res is cleared. Release the caller reference before discarding the unlinked BSS. LLM assistance was used to find the bug and review.
https://git.kernel.org/stable/c/f3c45d5b741a7d7586e639c2f55d2557029f2e1a
https://git.kernel.org/stable/c/d9f0057321727bd43d1c2778b2aa769e019da9ac
https://git.kernel.org/stable/c/92270d2baaa6f9dac253c4ba0866103a99c7a683
https://git.kernel.org/stable/c/4d3bd838a5c1ea4d62d0ad43af2eea56b9814dfd
https://git.kernel.org/stable/c/342e2daafbdad3016e730ed1979c000a66138635
https://git.kernel.org/stable/c/13cde871322fdb73ed8973c80d0b1e5191c65866