CVE-2025-38159
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
03/07/2025
Last modified:
03/07/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
wifi: rtw88: fix the &#39;para&#39; buffer size to avoid reading out of bounds<br />
<br />
Set the size to 6 instead of 2, since &#39;para&#39; array is passed to<br />
&#39;rtw_fw_bt_wifi_control(rtwdev, para[0], &para[1])&#39;, which reads<br />
5 bytes:<br />
<br />
void rtw_fw_bt_wifi_control(struct rtw_dev *rtwdev, u8 op_code, u8 *data)<br />
{<br />
...<br />
SET_BT_WIFI_CONTROL_DATA1(h2c_pkt, *data);<br />
SET_BT_WIFI_CONTROL_DATA2(h2c_pkt, *(data + 1));<br />
...<br />
SET_BT_WIFI_CONTROL_DATA5(h2c_pkt, *(data + 4));<br />
<br />
Detected using the static analysis tool - Svace.
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/1ee8ea6937d13b20f90ff35d71ccc03ba448182d
- https://git.kernel.org/stable/c/4c2c372de2e108319236203cce6de44d70ae15cd
- https://git.kernel.org/stable/c/68a1037f0bac4de9a585aa9c879ef886109f3647
- https://git.kernel.org/stable/c/74e18211c2c89ab66c9546baa7408288db61aa0d
- https://git.kernel.org/stable/c/9febcc8bded8be0d7efd8237fcef599b6d93b788
- https://git.kernel.org/stable/c/c13255389499275bc5489a0b5b7940ccea3aef04