CVE-2025-38159

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

HIGH
7.1
CVSS Score
Published: July 3, 2025 at 08:36 AM UTC
Updated: June 17, 2026 at 09:16 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.2%

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], &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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.16 ≤ v < 6.1.1425.4 ≤ v < 5.15.1865.4 ≤ v < 6.1.1425.4 ≤ v < 6.12.345.4 ≤ v < 6.15.35.4 ≤ v < 6.165.4 ≤ v < 6.6.946.13 ≤ v < 6.15.36.2 ≤ v < 6.6.946.7 ≤ v < 6.12.344136214f7c46839c15f0f177fe1d5052302c02055.4
Vendor states this is fixed in 1ee8ea6937d13b20f90ff35d71ccc03ba448182d (fixed)
Vendor states this is fixed in 4c2c372de2e108319236203cce6de44d70ae15cd (fixed)
Vendor states this is fixed in 68a1037f0bac4de9a585aa9c879ef886109f3647 (fixed)
Vendor states this is fixed in 74e18211c2c89ab66c9546baa7408288db61aa0d (fixed)
Vendor states this is fixed in 9febcc8bded8be0d7efd8237fcef599b6d93b788 (fixed)
Vendor states this is fixed in c13255389499275bc5489a0b5b7940ccea3aef04 (fixed)
Vendor states this is fixed in 5.15.186 (unaffected)
Vendor states this is fixed in 5.4 (unaffected)
Vendor states this is fixed in 6.1.142 (unaffected)
Vendor states this is fixed in 6.12.34 (unaffected)
Vendor states this is fixed in 6.15.3 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.6.94 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1ee8ea6937d13b20f90ff35d71ccc03ba448182d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4c2c372de2e108319236203cce6de44d70ae15cd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/68a1037f0bac4de9a585aa9c879ef886109f3647
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/74e18211c2c89ab66c9546baa7408288db61aa0d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9febcc8bded8be0d7efd8237fcef599b6d93b788
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c13255389499275bc5489a0b5b7940ccea3aef04
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card