1. Home
  2. Vulnerabilities
  3. CVE-2025-38159

CVE-2025-38159

wifi: rtw88: fix the 'para' buffer size to avoid reading out of bounds

Published 3 Jul 2025 · modified 5 Nov 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 30/100

Summary

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], &para[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 products and versions

Linux (6 line(s))
Linux
ProductVersionsFixed inSource
Linux 5.4 — CNA (vendor or assigner)
Linux kernel from 5.4 (included) to 5.15.186 (excluded) — NVD
Linux kernel from 5.16 (included) to 6.1.142 (excluded) — NVD
Linux kernel from 6.2 (included) to 6.6.94 (excluded) — NVD
Linux kernel from 6.7 (included) to 6.12.34 (excluded) — NVD
Linux kernel from 6.13 (included) to 6.15.3 (excluded) — NVD
Debian (1 line(s))
Debian
ProductVersionsFixed inSource
Debian linux 11.0 — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H (CVSS 3.1, NVD)
Weakness
CWE-125 · Corruption mémoire

How this data is obtained and calculated