VDB

CVE-2025-38159

CVE-2025-38159 PUBLISHED

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

Reported by linux · Published July 3, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.15.3, 6.12.34, 6.6.94, 6.1.142, 5.15.186

Affected products

VendorProductVersions
LinuxLinux4136214f7c46839c15f0f177fe1d5052302c0205, 4136214f7c46839c15f0f177fe1d5052302c0205, 4136214f7c46839c15f0f177fe1d5052302c0205
LinuxLinux5.4, 0, 5.15.186
linuxlinux_kernel5.4, 5.4, 5.4
LinuxLinux4136214f7c46839c15f0f177fe1d5052302c0205, 4136214f7c46839c15f0f177fe1d5052302c0205, 4136214f7c46839c15f0f177fe1d5052302c0205

Timeline

  • Jul 2, 2025 CVE Published
  • Jul 3, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (11 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (254 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (268 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38159
vulnetix vdb fixes CVE-2025-38159

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38159/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›