wifi: virt_wifi: avoid reporting connection success with wrong SSID (Linux Linux)

CVE-2024-43841
LOW 3.3

En bref

Source
NVD
EPSS
EPSS 0.21 % · centile 11 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1LOW 3.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:NNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected c7cdba31ed8b87526db978976392802d3f93110c < 994fc2164a03200c3bf42fb45b3d49d9d6d33a4d ; affected c7cdba31ed8b87526db978976392802d3f93110c < 05c4488a0e446c6ccde9f22b573950665e1cd414 ; affected c7cdba31ed8b87526db978976392802d3f93110c < 93e898a264b4e0a475552ba9f99a016eb43ef942 ; affected c7cdba31ed8b87526db978976392802d3f93110c < d3cc85a10abc8eae48988336cdd3689ab92581b3 ; affected c7cdba31ed8b87526db978976392802d3f93110c < 36e92b5edc8e0daa18e9325674313802ce3fbc29 ; affected c7cdba31ed8b87526db978976392802d3f93110c < 416d3c1538df005195721a200b0371d39636e05d
Linux · Linuxaffected 5.0 ; unaffected 0 < 5.0 ; unaffected 5.4.282 ≤ 5.4.* ; unaffected 5.10.224 ≤ 5.10.* ; unaffected 5.15.165 ≤ 5.15.* ; unaffected 6.1.103 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD