CVE-2024-26693 wifi: iwlwifi: mvm: fix a crash when we run out of stations
A remote attacker can crash the Linux kernel Wi-Fi driver by sending excessive authentication frames, causing a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-26693?
CVE-2024-26693 is a medium-severity vulnerability in Linux kernel, published on 3 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
wifi: iwlwifi: mvm: fix a crash when we run out of stations
A DoS tool that injects loads of authentication frames made our AP crash. The iwl_mvm_is_dup() function couldn't find the per-queue dup_data which was not allocated.
The root cause for that is that we ran out of stations in the firmware and we didn't really add the station to the firmware, yet we didn't return an error to mac80211. Mac80211 was thinking that we have the station and because of that, sta_info::uploaded was set to 1. This allowed ieee80211_find_sta_by_ifaddr() to return a valid station object, but that ieee80211_sta didn't have any iwl_mvm_sta object initialized and that caused the crash mentioned earlier when we got Rx on that station.
Which versions are affected by CVE-2024-26693?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-26693?
Apply the vendor's patch.
Is CVE-2024-26693 being exploited?
There is no known exploitation of CVE-2024-26693 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-26693, DEBIAN-CVE-2024-26693, GHSA-3w39-v724-v74w, UBUNTU-CVE-2024-26693.