wifi: rtw88: fix the 'para' buffer size to avoid reading out of bounds
Summary
| CVE | CVE-2025-38159 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-07-03 09:15:31 UTC |
| Updated | 2026-11-05 21:18:12 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.1 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Problem Types: CWE-125
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 4136214f7c46839c15f0f177fe1d5052302c0205 1ee8ea6937d13b20f90ff35d71ccc03ba448182d git | Not specified |
| CNA | Linux | Linux | affected 4136214f7c46839c15f0f177fe1d5052302c0205 68a1037f0bac4de9a585aa9c879ef886109f3647 git | Not specified |
| CNA | Linux | Linux | affected 4136214f7c46839c15f0f177fe1d5052302c0205 74e18211c2c89ab66c9546baa7408288db61aa0d git | Not specified |
| CNA | Linux | Linux | affected 4136214f7c46839c15f0f177fe1d5052302c0205 c13255389499275bc5489a0b5b7940ccea3aef04 git | Not specified |
| CNA | Linux | Linux | affected 4136214f7c46839c15f0f177fe1d5052302c0205 9febcc8bded8be0d7efd8237fcef599b6d93b788 git | Not specified |
| CNA | Linux | Linux | affected 4136214f7c46839c15f0f177fe1d5052302c0205 4c2c372de2e108319236203cce6de44d70ae15cd git | Not specified |
| CNA | Linux | Linux | affected 5.4 | Not specified |
| CNA | Linux | Linux | unaffected 5.4 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.186 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.142 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.94 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.34 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.15.3 6.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.16 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| lists.debian.org/debian-lts-announce/2025/10/msg00008.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Third Party Advisory |
| git.kernel.org/stable/c/68a1037f0bac4de9a585aa9c879ef886109f3647 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/1ee8ea6937d13b20f90ff35d71ccc03ba448182d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/74e18211c2c89ab66c9546baa7408288db61aa0d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/9febcc8bded8be0d7efd8237fcef599b6d93b788 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/4c2c372de2e108319236203cce6de44d70ae15cd | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/c13255389499275bc5489a0b5b7940ccea3aef04 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.