# CVE-2024-43841: wifi: virt_wifi: avoid reporting connection success with wrong SSID

- Severity: Low 3.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-08-17T09:21:56.517Z
- Modified: 2026-06-17T07:51:49.100Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from c7cdba31ed8b87526db978976392802d3f93110c before 994fc2164a03200c3bf42fb45b3d49d9d6d33a4d; from c7cdba31ed8b87526db978976392802d3f93110c before 05c4488a0e446c6ccde9f22b573950665e1cd414; from c7cdba31ed8b87526db978976392802d3f93110c before 93e898a264b4e0a475552ba9f99a016eb43ef942; from c7cdba31ed8b87526db978976392802d3f93110c before d3cc85a10abc8eae48988336cdd3689ab92581b3; from c7cdba31ed8b87526db978976392802d3f93110c before 36e92b5edc8e0daa18e9325674313802ce3fbc29; from c7cdba31ed8b87526db978976392802d3f93110c before 416d3c1538df005195721a200b0371d39636e05d; from c7cdba31ed8b87526db978976392802d3f93110c before b5d14b0c6716fad7f0c94ac6e1d6f60a49f985c7; 5.0 (not affected: before 5.0; from 5.4.282 up to 5.4.*; from 5.10.224 up to 5.10.*; from 5.15.165 up to 5.15.*; from 6.1.103 up to 6.1.*; from 6.6.44 up to 6.6.*; from 6.10.3 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: from 5.0 before 6.1.103; from 6.2 before 6.6.44; from 6.7 before 6.10.3

## References

- <https://git.kernel.org/stable/c/994fc2164a03200c3bf42fb45b3d49d9d6d33a4d> (patch)
- <https://git.kernel.org/stable/c/05c4488a0e446c6ccde9f22b573950665e1cd414> (patch)
- <https://git.kernel.org/stable/c/93e898a264b4e0a475552ba9f99a016eb43ef942> (patch)
- <https://git.kernel.org/stable/c/d3cc85a10abc8eae48988336cdd3689ab92581b3> (patch)
- <https://git.kernel.org/stable/c/36e92b5edc8e0daa18e9325674313802ce3fbc29> (patch)
- <https://git.kernel.org/stable/c/416d3c1538df005195721a200b0371d39636e05d> (patch)
- <https://git.kernel.org/stable/c/b5d14b0c6716fad7f0c94ac6e1d6f60a49f985c7> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>

## Sources

- CVE List: [CVE-2024-43841](https://www.cve.org/CVERecord?id=CVE-2024-43841), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-43841](https://nvd.nist.gov/vuln/detail/CVE-2024-43841), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-43841 · Whole record: https://cve.day/CVE-2024-43841.json · Rebuilt by cve.day 2026-11-25T22:58:44.498Z
