{"id":"CVE-2024-43841","state":"PUBLISHED","title":"wifi: virt_wifi: avoid reporting connection success with wrong SSID","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: virt_wifi: avoid reporting connection success with wrong SSID\n\nWhen user issues a connection with a different SSID than the one\nvirt_wifi has advertised, the __cfg80211_connect_result() will\ntrigger the warning: WARN_ON(bss_not_found).\n\nThe issue is because the connection code in virt_wifi does not\ncheck the SSID from user space (it only checks the BSSID), and\nvirt_wifi will call cfg80211_connect_result() with WLAN_STATUS_SUCCESS\neven if the SSID is different from the one virt_wifi has advertised.\nEventually cfg80211 won't be able to find the cfg80211_bss and generate\nthe warning.\n\nFixed it by checking the SSID (from user space) in the connection code.","publishedAt":"2024-08-17T09:21:56.517Z","updatedAt":"2026-05-11T20:30:51.202Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c7cdba31ed8b87526db978976392802d3f93110c","status":"affected","lessThan":"994fc2164a03200c3bf42fb45b3d49d9d6d33a4d","versionType":"git"},{"version":"c7cdba31ed8b87526db978976392802d3f93110c","status":"affected","lessThan":"05c4488a0e446c6ccde9f22b573950665e1cd414","versionType":"git"},{"version":"c7cdba31ed8b87526db978976392802d3f93110c","status":"affected","lessThan":"93e898a264b4e0a475552ba9f99a016eb43ef942","versionType":"git"},{"version":"c7cdba31ed8b87526db978976392802d3f93110c","status":"affected","lessThan":"d3cc85a10abc8eae48988336cdd3689ab92581b3","versionType":"git"},{"version":"c7cdba31ed8b87526db978976392802d3f93110c","status":"affected","lessThan":"36e92b5edc8e0daa18e9325674313802ce3fbc29","versionType":"git"},{"version":"c7cdba31ed8b87526db978976392802d3f93110c","status":"affected","lessThan":"416d3c1538df005195721a200b0371d39636e05d","versionType":"git"},{"version":"c7cdba31ed8b87526db978976392802d3f93110c","status":"affected","lessThan":"b5d14b0c6716fad7f0c94ac6e1d6f60a49f985c7","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/virtual/virt_wifi.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.0","versionType":"semver"},{"version":"5.4.282","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.224","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.165","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.103","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.44","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.3","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/virtual/virt_wifi.c"]}],"references":["https://git.kernel.org/stable/c/994fc2164a03200c3bf42fb45b3d49d9d6d33a4d","https://git.kernel.org/stable/c/05c4488a0e446c6ccde9f22b573950665e1cd414","https://git.kernel.org/stable/c/93e898a264b4e0a475552ba9f99a016eb43ef942","https://git.kernel.org/stable/c/d3cc85a10abc8eae48988336cdd3689ab92581b3","https://git.kernel.org/stable/c/36e92b5edc8e0daa18e9325674313802ce3fbc29","https://git.kernel.org/stable/c/416d3c1538df005195721a200b0371d39636e05d","https://git.kernel.org/stable/c/b5d14b0c6716fad7f0c94ac6e1d6f60a49f985c7","https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:47.831Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/43xxx/CVE-2024-43841.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-43841","state":"PUBLISHED","datePublished":"2024-08-17T09:21:56.517Z","dateUpdated":"2026-05-11T20:30:51.202Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-08-17T09:11:59.274Z"},"containers":{"cna":{"title":"wifi: virt_wifi: avoid reporting connection success with wrong SSID","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: virt_wifi: avoid reporting connection success with wrong SSID\n\nWhen user issues a connection with a different SSID than the one\nvirt_wifi has advertised, the __cfg80211_connect_result() will\ntrigger the warning: WARN_ON(bss_not_found).\n\nThe issue is because the connection code in virt_wifi does not\ncheck the SSID from user space (it only checks the BSSID), and\nvirt_wifi will call cfg80211_connect_result() with WLAN_STATUS_SUCCESS\neven if the SSID is different from the one virt_wifi has advertised.\nEventually cfg80211 won't be able to find the cfg80211_bss and generate\nthe warning.\n\nFixed it by checking the SSID (from user space) in the connection code."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c7cdba31ed8b87526db978976392802d3f93110c","status":"affected","lessThan":"994fc2164a03200c3bf42fb45b3d49d9d6d33a4d","versionType":"git"},{"version":"c7cdba31ed8b87526db978976392802d3f93110c","status":"affected","lessThan":"05c4488a0e446c6ccde9f22b573950665e1cd414","versionType":"git"},{"version":"c7cdba31ed8b87526db978976392802d3f93110c","status":"affected","lessThan":"93e898a264b4e0a475552ba9f99a016eb43ef942","versionType":"git"},{"version":"c7cdba31ed8b87526db978976392802d3f93110c","status":"affected","lessThan":"d3cc85a10abc8eae48988336cdd3689ab92581b3","versionType":"git"},{"version":"c7cdba31ed8b87526db978976392802d3f93110c","status":"affected","lessThan":"36e92b5edc8e0daa18e9325674313802ce3fbc29","versionType":"git"},{"version":"c7cdba31ed8b87526db978976392802d3f93110c","status":"affected","lessThan":"416d3c1538df005195721a200b0371d39636e05d","versionType":"git"},{"version":"c7cdba31ed8b87526db978976392802d3f93110c","status":"affected","lessThan":"b5d14b0c6716fad7f0c94ac6e1d6f60a49f985c7","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/virtual/virt_wifi.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.0","versionType":"semver"},{"version":"5.4.282","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.224","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.165","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.103","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.44","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.3","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/virtual/virt_wifi.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/994fc2164a03200c3bf42fb45b3d49d9d6d33a4d"},{"url":"https://git.kernel.org/stable/c/05c4488a0e446c6ccde9f22b573950665e1cd414"},{"url":"https://git.kernel.org/stable/c/93e898a264b4e0a475552ba9f99a016eb43ef942"},{"url":"https://git.kernel.org/stable/c/d3cc85a10abc8eae48988336cdd3689ab92581b3"},{"url":"https://git.kernel.org/stable/c/36e92b5edc8e0daa18e9325674313802ce3fbc29"},{"url":"https://git.kernel.org/stable/c/416d3c1538df005195721a200b0371d39636e05d"},{"url":"https://git.kernel.org/stable/c/b5d14b0c6716fad7f0c94ac6e1d6f60a49f985c7"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:30:51.202Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"5.4.282"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"5.10.224"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"5.15.165"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"6.1.103"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"6.6.44"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"6.10.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"6.11"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-43841","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T16:07:55.756844Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-12T17:33:22.634Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T22:05:36.342Z"}}]}}}