CVE-2024-43841

wifi: virt_wifi: avoid reporting connection success with wrong SSID

No CVSS score yet EPSS 0.21%

Published 17 Aug 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2024-43841

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-43841 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.6% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from c7cdba31ed8b87526db978976392802d3f93110c, before 994fc2164a03200c3bf42fb45b3d49d9d6d33a4d
affected from c7cdba31ed8b87526db978976392802d3f93110c, before 05c4488a0e446c6ccde9f22b573950665e1cd414
affected from c7cdba31ed8b87526db978976392802d3f93110c, before 93e898a264b4e0a475552ba9f99a016eb43ef942
affected from c7cdba31ed8b87526db978976392802d3f93110c, before d3cc85a10abc8eae48988336cdd3689ab92581b3
affected from c7cdba31ed8b87526db978976392802d3f93110c, before 36e92b5edc8e0daa18e9325674313802ce3fbc29
affected from c7cdba31ed8b87526db978976392802d3f93110c, before 416d3c1538df005195721a200b0371d39636e05d
affected from c7cdba31ed8b87526db978976392802d3f93110c, before b5d14b0c6716fad7f0c94ac6e1d6f60a49f985c7
Other versions: unaffected
Linux
affected 5.0
unaffected before 5.0
unaffected from 5.4.282 up to and including 5.4.*
unaffected from 5.10.224 up to and including 5.10.*
unaffected from 5.15.165 up to and including 5.15.*
unaffected from 6.1.103 up to and including 6.1.*
unaffected from 6.6.44 up to and including 6.6.*
unaffected from 6.10.3 up to and including 6.10.*
unaffected 6.11 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-43841 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-43841

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-43841
trivy image --scanners vuln IMAGE | grep CVE-2024-43841

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-43841 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.