wifi: rtw89: cap firmware section_num before parsing
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
The rtw89 Wi-Fi driver in the Linux kernel, from 5.16 onward, takes section_num from an 8-bit firmware field (0..255) and writes into rtw89_fw_bin_info.section_info without a cap, although that array holds only FWDL_SECTION_MAX_NUM (10) entries. rtw89_fw_download_suit() keeps this object on the stack, so a crafted firmware blob overflows the stack.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
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].
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Update the Linux kernel to a fixed release: 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, or 7.4-rc1. The fix rejects a truncated header and a section table that does not fit in the firmware image before fw_hdr sections[i] is read.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA Linux (Linux) Fixed in 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139056
- 2026-11-30 Alias added: GHSA-hp83-x5cj-9q5c
References
Other 6
- 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
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139056 · CVE Program
- CVE-2026-139056 · NVD
- GHSA-hp83-x5cj-9q5c · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences