wifi: rtw89: cap firmware section_num before parsing
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
wifi: rtw89: cap firmware section_num before parsing
rtw89_fw_bin_info.section_info has FWDL_SECTION_MAX_NUM (10) entries. The v0/v1 header parsers take section_num from an 8-bit firmware field (0..255) and write info->section_info[i] with no cap. rtw89_fw_download_suit() keeps that object on the stack, so a crafted firmware blob overflows the stack.
Reject a truncated header and a section table that does not fit in the firmware image before reading fw_hdr->sections[i].
| Product | Versions |
|---|---|
| Linux Linux | e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd to before af2cb38215c968e441e3f55ce4f61efe99c530bc Affectede3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd to before 9f0de13b7dea30decdc9f3935b8bbe9410d427b7 Affectede3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd to before cad4a546a721558aedb9811208f281face221c8e Affectede3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd to before 2bab8fa4826bda9e1960bf820bc31f1b1de15da0 Affectede3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd to before 05900047061ff42110ee2052e9d37d8d7fa3eb76 Affectede3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd to before 273b0a8be083df6d0319ce62caa870e927f94a31 Affected |
| Linux Linux | 5.16 Affectedbefore 5.16 Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/af2cb38215c968e441e3f55ce4f61efe99c530bc
- https://git.kernel.org/stable/c/9f0de13b7dea30decdc9f3935b8bbe9410d427b7
- https://git.kernel.org/stable/c/cad4a546a721558aedb9811208f281face221c8e
- https://git.kernel.org/stable/c/2bab8fa4826bda9e1960bf820bc31f1b1de15da0
- https://git.kernel.org/stable/c/05900047061ff42110ee2052e9d37d8d7fa3eb76
- https://git.kernel.org/stable/c/273b0a8be083df6d0319ce62caa870e927f94a31
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.