CVE-2024-43841

wifi: virt_wifi: avoid reporting connection success with wrong SSID

published August 17, 2024

CVSS
—
EPSS
0%
Percentile
10.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00211 · 10.7th percentile
Published
2024-08-17T09:21Z
EPSS history
Timeline
  • 17 AUG 09:21Z
    wifi: virt_wifi: avoid reporting connection success with wrong SSID
    cvelistv5