CVE-2024-43841 wifi: virt_wifi: avoid reporting connection success with wrong SSID
A missing SSID check in the Linux kernel virt_wifi driver allows triggering a kernel warning, potentially 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-43841?
CVE-2024-43841 is a low-severity vulnerability in Linux kernel, published on 17 Aug 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: virt_wifi: avoid reporting connection success with wrong SSID
When user issues a connection with a different SSID than the one virt_wifi has advertised, the __cfg80211_connect_result() will trigger the warning: WARN_ON(bss_not_found).
The issue is because the connection code in virt_wifi does not check the SSID from user space (it only checks the BSSID), and virt_wifi will call cfg80211_connect_result() with WLAN_STATUS_SUCCESS even if the SSID is different from the one virt_wifi has advertised. Eventually cfg80211 won't be able to find the cfg80211_bss and generate the warning.
Fixed it by checking the SSID (from user space) in the connection code.
Which versions are affected by CVE-2024-43841?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-43841?
Apply the vendor's patch.
Is CVE-2024-43841 being exploited?
There is no known exploitation of CVE-2024-43841 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-51847, BELL-CVE-2024-43841, DEBIAN-CVE-2024-43841, GHSA-82cg-8mxr-gw2q, UBUNTU-CVE-2024-43841.