CVE-2024-43841

wifi: virt_wifi: avoid reporting connection success with wrong SSID

State
Published
Severity
Not scored
Published
Aug 17, 2024
Updated
May 11, 2026
Reserved
Aug 17, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c7cdba31ed8b87526db978976392802d3f93110c to before 994fc2164a03200c3bf42fb45b3d49d9d6d33a4dAffected
  • c7cdba31ed8b87526db978976392802d3f93110c to before 05c4488a0e446c6ccde9f22b573950665e1cd414Affected
  • c7cdba31ed8b87526db978976392802d3f93110c to before 93e898a264b4e0a475552ba9f99a016eb43ef942Affected
  • c7cdba31ed8b87526db978976392802d3f93110c to before d3cc85a10abc8eae48988336cdd3689ab92581b3Affected
  • c7cdba31ed8b87526db978976392802d3f93110c to before 36e92b5edc8e0daa18e9325674313802ce3fbc29Affected
  • c7cdba31ed8b87526db978976392802d3f93110c to before 416d3c1538df005195721a200b0371d39636e05dAffected
  • c7cdba31ed8b87526db978976392802d3f93110c to before b5d14b0c6716fad7f0c94ac6e1d6f60a49f985c7Affected
LinuxLinux
  • 5.0Affected
  • before 5.0Not affected
  • 5.4.282 through 5.4.*Not affected
  • 5.10.224 through 5.10.*Not affected
  • 5.15.165 through 5.15.*Not affected
  • 6.1.103 through 6.1.*Not affected
  • 6.6.44 through 6.6.*Not affected
  • 6.10.3 through 6.10.*Not affected
  • 6.11 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.