CVE-2024-53055 wifi: iwlwifi: mvm: fix 6 GHz scan construction
An integer overflow in the iwlwifi driver causes an infinite loop when scanning many 6 GHz access points, leading to 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-53055?
CVE-2024-53055 is a medium-severity vulnerability in Linux kernel, published on 19 Nov 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 6 GHz scan construction
If more than 255 colocated APs exist for the set of all APs found during 2.4/5 GHz scanning, then the 6 GHz scan construction will loop forever since the loop variable has type u8, which can never reach the number found when that's bigger than 255, and is stored in a u32 variable. Also move it into the loops to have a smaller scope.
Using a u32 there is fine, we limit the number of APs in the scan list and each has a limit on the number of RNR entries due to the frame size. With a limit of 1000 scan results, a frame size upper bound of 4096 (really it's more like ~2300) and a TBTT entry size of at least 11, we get an upper bound for the number of ~372k, well in the bounds of a u32.
Weakness: CWE-835
Which versions are affected by CVE-2024-53055?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-53055?
Apply the vendor's patch.
Is CVE-2024-53055 being exploited?
There is no known exploitation of CVE-2024-53055 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-53891, AZL-53918, BELL-CVE-2024-53055, DEBIAN-CVE-2024-53055, GHSA-g63v-c4x5-2g6v, UBUNTU-CVE-2024-53055.