CVE-2024-43841

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

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

29 Oct 2024, 16:27

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 3.3
First Time Linux linux Kernel
Linux
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CWE NVD-CWE-noinfo
References () https://git.kernel.org/stable/c/05c4488a0e446c6ccde9f22b573950665e1cd414 - () https://git.kernel.org/stable/c/05c4488a0e446c6ccde9f22b573950665e1cd414 - Patch
References () https://git.kernel.org/stable/c/36e92b5edc8e0daa18e9325674313802ce3fbc29 - () https://git.kernel.org/stable/c/36e92b5edc8e0daa18e9325674313802ce3fbc29 - Patch
References () https://git.kernel.org/stable/c/416d3c1538df005195721a200b0371d39636e05d - () https://git.kernel.org/stable/c/416d3c1538df005195721a200b0371d39636e05d - Patch
References () https://git.kernel.org/stable/c/93e898a264b4e0a475552ba9f99a016eb43ef942 - () https://git.kernel.org/stable/c/93e898a264b4e0a475552ba9f99a016eb43ef942 - Patch
References () https://git.kernel.org/stable/c/994fc2164a03200c3bf42fb45b3d49d9d6d33a4d - () https://git.kernel.org/stable/c/994fc2164a03200c3bf42fb45b3d49d9d6d33a4d - Patch
References () https://git.kernel.org/stable/c/b5d14b0c6716fad7f0c94ac6e1d6f60a49f985c7 - () https://git.kernel.org/stable/c/b5d14b0c6716fad7f0c94ac6e1d6f60a49f985c7 - Patch
References () https://git.kernel.org/stable/c/d3cc85a10abc8eae48988336cdd3689ab92581b3 - () https://git.kernel.org/stable/c/d3cc85a10abc8eae48988336cdd3689ab92581b3 - Patch

19 Aug 2024, 12:59

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: wifi: virt_wifi: evita informar el éxito de la conexión con un SSID incorrecto Cuando el usuario emite una conexión con un SSID diferente al que virt_wifi ha anunciado, __cfg80211_connect_result() activará la advertencia: WARN_ON( bss_not_found). El problema se debe a que el código de conexión en virt_wifi no verifica el SSID desde el espacio del usuario (solo verifica el BSSID), y virt_wifi llamará a cfg80211_connect_result() con WLAN_STATUS_SUCCESS incluso si el SSID es diferente del que virt_wifi ha anunciado. Eventualmente, cfg80211 no podrá encontrar cfg80211_bss y generar la advertencia. Se solucionó verificando el SSID (del espacio de usuario) en el código de conexión.

19 Aug 2024, 05:15

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/05c4488a0e446c6ccde9f22b573950665e1cd414 -
  • () https://git.kernel.org/stable/c/93e898a264b4e0a475552ba9f99a016eb43ef942 -
  • () https://git.kernel.org/stable/c/994fc2164a03200c3bf42fb45b3d49d9d6d33a4d -

17 Aug 2024, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-08-17 10:15

Updated : 2024-10-29 16:27


NVD link : CVE-2024-43841

Mitre link : CVE-2024-43841

CVE.ORG link : CVE-2024-43841


JSON object : View

Products Affected

linux

  • linux_kernel