7.1high
wifi: rtw88: fix the 'para' buffer size to avoid reading out of bounds
- Severity
- 7.1high CVSS:3.1 by NVD
- Exploit likelihood
- 0.20% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: rtw88: fix the 'para' buffer size to avoid reading out of bounds Set the size to 6 instead of 2, since 'para' array is passed to 'rtw_fw_bt_wifi_control(rtwdev, para[0], ¶[1])', which reads 5 bytes: void rtw_fw_bt_wifi_control(struct rtw_dev *rtwdev, u8 op_code, u8 *data) { ... SET_BT_WIFI_CONTROL_DATA1(h2c_pkt, *data); SET_BT_WIFI_CONTROL_DATA2(h2c_pkt, *(data + 1)); ... SET_BT_WIFI_CONTROL_DATA5(h2c_pkt, *(data + 4)); Detected using the static analysis tool - Svace.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 4136214f7c46839c15f0f177fe1d5052302c0205 before 1ee8ea6937d13b20f90ff35d71ccc03ba448182d, from 4136214f7c46839c15f0f177fe1d5052302c0205 before 68a1037f0bac4de9a585aa9c879ef886109f3647, from 4136214f7c46839c15f0f177fe1d5052302c0205 before 74e18211c2c89ab66c9546baa7408288db61aa0d, from 4136214f7c46839c15f0f177fe1d5052302c0205 before c13255389499275bc5489a0b5b7940ccea3aef04, from 4136214f7c46839c15f0f177fe1d5052302c0205 before 9febcc8bded8be0d7efd8237fcef599b6d93b788, from 4136214f7c46839c15f0f177fe1d5052302c0205 before 4c2c372de2e108319236203cce6de44d70ae15cd, 5.4 Not affected: before 5.4, from 5.15.186 up to 5.15.*, from 6.1.142 up to 6.1.*, from 6.6.94 up to 6.6.*, from 6.12.34 up to 6.12.*, from 6.15.3 up to 6.15.* | CVE List |
| linux linux_kernel | from 5.4 before 5.15.186, from 5.16 before 6.1.142, from 6.2 before 6.6.94, from 6.7 before 6.12.34, from 6.13 before 6.15.3 | NVD |
| debian debian_linux | 11.0 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: wifi: rtw88: fix the 'para' buffer size to avoid reading out of bounds Set the size to 6 instead of 2, since 'para' array is passed to 'rtw_fw_bt_wifi_control(rtwdev, para[0], ¶[1])', which reads 5 bytes: void rtw_fw_bt_wifi_control(struct rtw_dev *rtwdev, u8 op_code, u8 *data) { ... SET_BT_WIFI_CONTROL_DATA1(h2c_pkt, *data); SET_BT_WIFI_CONTROL_DATA2(h2c_pkt, *(data + 1)); ... SET_BT_WIFI_CONTROL_DATA5(h2c_pkt, *(data + 4)); Detected using the static analysis tool - Svace.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: wifi: rtw88: corrige el tamaño del búfer 'para' para evitar leer fuera de los límites Establezca el tamaño en 6 en lugar de 2, ya que la matriz 'para' se pasa a 'rtw_fw_bt_wifi_control(rtwdev, para[0], ¶[1])', que lee 5 bytes: void rtw_fw_bt_wifi_control(struct rtw_dev *rtwdev, u8 op_code, u8 *data) { ... SET_BT_WIFI_CONTROL_DATA1(h2c_pkt, *data); SET_BT_WIFI_CONTROL_DATA2(h2c_pkt, *(data + 1)); ... SET_BT_WIFI_CONTROL_DATA5(h2c_pkt, *(data + 4)); Detectado utilizando la herramienta de análisis estático - Svace.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-38159 changed 2026-11-05 | CVE Terms of Use |
| NVD | CVE-2025-38159 changed 2026-11-05 | Public domain |