{"id":"CVE-2026-74651","aliases":["CVE-2026-74651"],"related":[],"kind":"vulnerability","state":"published","title":"staging: rtl8723bs: fix OOB read in rtw_get_wpa_ie()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: rtl8723bs: fix OOB read in rtw_get_wpa_ie()\n\nrtw_get_wpa_ie() reads bytes at fixed offsets into a vendor-specific\ninformation element without checking that the element is long enough,\ncausing an out-of-bounds read for a short trailing IE.\n\nThe function locates a vendor-specific IE (EID 221) with rtw_get_ie()\nand then compares a 4-byte OUI+type at pbuf + 2 and reads a 2-byte\nversion word at pbuf + 6. Those accesses require the IE body to be at\nleast 6 bytes, but rtw_get_ie() only guarantees that the element fits\nwithin the buffer; it does not enforce a minimum body length. A\nvendor-specific IE whose length byte is 0 to 5, placed at the end of\nthe buffer, therefore makes these reads run past the end of the IE and\npast the end of the buffer itself.\n\nThe buffer holds information elements taken from received management\nframes and from the IE blob passed to rtw_cfg80211_set_wpa_ie(), which\nis kmemdup'd to its exact length, so the read can run off the end of\nthe allocation.\n\nThe sibling helpers rtw_get_sec_ie(), rtw_get_wapi_ie() and\nrtw_get_wps_ie() in this file already reject too-short vendor-specific\nIEs before their OUI memcmp(); rtw_get_wpa_ie() was never brought in\nline with them, and needs a minimum of 6 rather than 4 bytes because\nof the version word. Add the missing length check.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: rtl8723bs: fix OOB read in rtw_get_wpa_ie()\n\nrtw_get_wpa_ie() reads bytes at fixed offsets into a vendor-specific\ninformation element without checking that the element is long enough,\ncausing an out-of-bounds read for a short trailing IE.\n\nThe function locates a vendor-specific IE (EID 221) with rtw_get_ie()\nand then compares a 4-byte OUI+type at pbuf + 2 and reads a 2-byte\nversion word at pbuf + 6. Those accesses require the IE body to be at\nleast 6 bytes, but rtw_get_ie() only guarantees that the element fits\nwithin the buffer; it does not enforce a minimum body length. A\nvendor-specific IE whose length byte is 0 to 5, placed at the end of\nthe buffer, therefore makes these reads run past the end of the IE and\npast the end of the buffer itself.\n\nThe buffer holds information elements taken from received management\nframes and from the IE blob passed to rtw_cfg80211_set_wpa_ie(), which\nis kmemdup'd to its exact length, so the read can run off the end of\nthe allocation.\n\nThe sibling helpers rtw_get_sec_ie(), rtw_get_wapi_ie() and\nrtw_get_wps_ie() in this file already reject too-short vendor-specific\nIEs before their OUI memcmp(); rtw_get_wpa_ie() was never brought in\nline with them, and needs a minimum of 6 rather than 4 bytes because\nof the version word. Add the missing length check.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nstaging: rtl8723bs: corregir lectura fuera de límites en rtw_get_wpa_ie()\n\nrtw_get_wpa_ie() lee bytes en desplazamientos fijos en un elemento de información específico del proveedor sin comprobar que el elemento sea lo suficientemente largo, causando una lectura fuera de límites para un IE final corto.\n\nLa función localiza un IE específico del proveedor (EID 221) con rtw_get_ie() y luego compara un OUI+tipo de 4 bytes en pbuf + 2 y lee una palabra de versión de 2 bytes en pbuf + 6. Esos accesos requieren que el cuerpo del IE tenga al menos 6 bytes, pero rtw_get_ie() solo garantiza que el elemento cabe dentro del búfer; no impone una longitud mínima del cuerpo. Un IE específico del proveedor cuyo byte de longitud es de 0 a 5, colocado al final del búfer, por lo tanto, hace que estas lecturas se ejecuten más allá del final del IE y más allá del final del propio búfer.\n\nEl búfer contiene elementos de información tomados de tramas de gestión recibidas y del blob de IE pasado a rtw_cfg80211_set_wpa_ie(), que es kmemdup'd a su longitud exacta, por lo que la lectura puede salirse del final de la asignación.\n\nLas funciones auxiliares hermanas rtw_get_sec_ie(), rtw_get_wapi_ie() y rtw_get_wps_ie() en este archivo ya rechazan IEs específicos del proveedor demasiado cortos antes de su memcmp() de OUI; rtw_get_wpa_ie() nunca se alineó con ellos, y necesita un mínimo de 6 en lugar de 4 bytes debido a la palabra de versión. Añadir la comprobación de longitud faltante.","source":"nvd"}],"published":"2026-08-22T15:32:27.073Z","modified":"2026-10-16T20:17:49.657Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":8.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"4fc459c5cd8767ca4d9bf2f7becbd562639ba4d9","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"b45be82387bf759931acdd21ca7dfe740f16eb97","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"c9068f82a0906b29c905e8788edb62c3208c7c8a","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"0d19f0600fbb610c42f2a86f95c35706dc04691b","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"42c5a0d454aa5b54fec17162d9a1f8c30f8af45a","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"e167a38a8a8f50f137721fef1a1fbba0f4588b5d","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"01ab275f8f3e497a13ebbe4ded44ec0623bccde3","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"1c3e23e78862493e8cf1adad02b10ffcb8b9921c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.12","status":"unaffected"},{"type":"semver","introduced":"5.10.265","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.216","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.183","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.152","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.104","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.45","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.9","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/4fc459c5cd8767ca4d9bf2f7becbd562639ba4d9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b45be82387bf759931acdd21ca7dfe740f16eb97","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c9068f82a0906b29c905e8788edb62c3208c7c8a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0d19f0600fbb610c42f2a86f95c35706dc04691b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/42c5a0d454aa5b54fec17162d9a1f8c30f8af45a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e167a38a8a8f50f137721fef1a1fbba0f4588b5d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/01ab275f8f3e497a13ebbe4ded44ec0623bccde3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1c3e23e78862493e8cf1adad02b10ffcb8b9921c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-16T19:13:54.256Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74651","url":"https://www.cve.org/CVERecord?id=CVE-2026-74651","licence":"CVE Terms of Use","modified":"2026-10-16T19:16:07.351Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74651","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74651","licence":"Public domain","modified":"2026-10-16T20:17:49.657Z"}],"updatedAt":"2026-11-25T22:59:34.917Z","epss":{"score":0.00274,"percentile":0.21165,"date":"2026-12-01T12:00:22.000Z"}}