{"id":"CVE-2026-139056","summary":"wifi: rtw89: cap firmware section_num before parsing","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: rtw89: cap firmware section_num before parsing\n\nrtw89_fw_bin_info.section_info has FWDL_SECTION_MAX_NUM (10) entries.\nThe v0/v1 header parsers take section_num from an 8-bit firmware field\n(0..255) and write info-\u003esection_info[i] with no cap.\nrtw89_fw_download_suit() keeps that object on the stack, so a crafted\nfirmware blob overflows the stack.\n\nReject a truncated header and a section table that does not fit in the\nfirmware image before reading fw_hdr-\u003esections[i].","modified":"2026-12-01T21:02:36.147325512Z","published":"2026-11-30T13:27:27.575Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139056.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/05900047061ff42110ee2052e9d37d8d7fa3eb76"},{"type":"WEB","url":"https://git.kernel.org/stable/c/273b0a8be083df6d0319ce62caa870e927f94a31"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2bab8fa4826bda9e1960bf820bc31f1b1de15da0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9f0de13b7dea30decdc9f3935b8bbe9410d427b7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/af2cb38215c968e441e3f55ce4f61efe99c530bc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cad4a546a721558aedb9811208f281face221c8e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139056.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139056"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd"},{"fixed":"af2cb38215c968e441e3f55ce4f61efe99c530bc"},{"fixed":"9f0de13b7dea30decdc9f3935b8bbe9410d427b7"},{"fixed":"cad4a546a721558aedb9811208f281face221c8e"},{"fixed":"2bab8fa4826bda9e1960bf820bc31f1b1de15da0"},{"fixed":"05900047061ff42110ee2052e9d37d8d7fa3eb76"},{"fixed":"273b0a8be083df6d0319ce62caa870e927f94a31"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139056.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139056.json"}}],"schema_version":"1.9.2"}