Not scored
wifi: ath9k: avoid referencing uninit memory in ath9k_wmi_ctrl_rx
- Severity
- Not scored
- Exploit likelihood
- 0.25% (higher than 17% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: ath9k: avoid referencing uninit memory in ath9k_wmi_ctrl_rx For the reasons also described in commit b383e8abed41 ("wifi: ath9k: avoid uninit memory read in ath9k_htc_rx_msg()"), ath9k_htc_rx_msg() should validate pkt_len before accessing the SKB. For example, the obtained SKB may have been badly constructed with pkt_len = 8. In this case, the SKB can only contain a valid htc_frame_hdr but after being processed in ath9k_htc_rx_msg() and passed to ath9k_wmi_ctrl_rx() endpoint RX handler, it is expected to have a WMI command header which should be located inside its data payload. Implement sanity checking inside ath9k_wmi_ctrl_rx(). Otherwise, uninit memory can be referenced. Tested on Qualcomm Atheros Communications AR9271 802.11n . Found by Linux Verification Center (linuxtesting.org) with Syzkaller.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from fb9987d0f748c983bb795a86f47522313f701a08 before 0bc12e41af4e3ae1f0efecc377f0514459df0707, from fb9987d0f748c983bb795a86f47522313f701a08 before 28259ce4f1f1f9ab37fa817756c89098213d2fc0, from fb9987d0f748c983bb795a86f47522313f701a08 before 90e3c10177573b8662ac9858abd9bf731d5d98e0, from fb9987d0f748c983bb795a86f47522313f701a08 before 250efb4d3f5b32a115ea6bf25437ba44a1b3c04f, from fb9987d0f748c983bb795a86f47522313f701a08 before ad5425e70789c29b93acafb5bb4629e4eb908296, from fb9987d0f748c983bb795a86f47522313f701a08 before d1c2ff2bd84c3692c9df267a2b991ce92bfca8ef, from fb9987d0f748c983bb795a86f47522313f701a08 before 8ed572e52714593b209e3aa352406aff84481179, from fb9987d0f748c983bb795a86f47522313f701a08 before 75acec91aeaa07375cd5f418069e61b16d39bbad and 2 more Not affected: before 2.6.35, from 4.14.322 up to 4.14.*, from 4.19.291 up to 4.19.*, from 5.4.251 up to 5.4.*, from 5.10.188 up to 5.10.*, from 5.15.121 up to 5.15.* | CVE List |
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: wifi: ath9k: avoid referencing uninit memory in ath9k_wmi_ctrl_rx For the reasons also described in commit b383e8abed41 ("wifi: ath9k: avoid uninit memory read in ath9k_htc_rx_msg()"), ath9k_htc_rx_msg() should validate pkt_len before accessing the SKB. For example, the obtained SKB may have been badly constructed with pkt_len = 8. In this case, the SKB can only contain a valid htc_frame_hdr but after being processed in ath9k_htc_rx_msg() and passed to ath9k_wmi_ctrl_rx() endpoint RX handler, it is expected to have a WMI command header which should be located inside its data payload. Implement sanity checking inside ath9k_wmi_ctrl_rx(). Otherwise, uninit memory can be referenced. Tested on Qualcomm Atheros Communications AR9271 802.11n . Found by Linux Verification Center (linuxtesting.org) with Syzkaller.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: wifi: ath9k: evitar referenciar memoria no inicializada en ath9k_wmi_ctrl_rx Por las razones también descritas en el commit b383e8abed41 ('wifi: ath9k: evitar lectura de memoria no inicializada en ath9k_htc_rx_msg()'), ath9k_htc_rx_msg() debería validar pkt_len antes de acceder al SKB. Por ejemplo, el SKB obtenido puede haber sido mal construido con pkt_len = 8. En este caso, el SKB solo puede contener un htc_frame_hdr válido, pero después de ser procesado en ath9k_htc_rx_msg() y pasado al manejador RX del endpoint ath9k_wmi_ctrl_rx(), se espera que tenga una cabecera de comando WMI que debería estar ubicada dentro de su carga útil de datos. Implementar comprobación de cordura dentro de ath9k_wmi_ctrl_rx(). De lo contrario, se puede referenciar memoria no inicializada. Probado en Qualcomm Atheros Communications AR9271 802.11n. Encontrado por Linux Verification Center (linuxtesting.org) con Syzkaller.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-54300 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2023-54300 changed 2026-06-17 | Public domain |