CVE-2026-74651
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
22/08/2026
Última modificación:
22/08/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
staging: rtl8723bs: fix OOB read in rtw_get_wpa_ie()<br />
<br />
rtw_get_wpa_ie() reads bytes at fixed offsets into a vendor-specific<br />
information element without checking that the element is long enough,<br />
causing an out-of-bounds read for a short trailing IE.<br />
<br />
The function locates a vendor-specific IE (EID 221) with rtw_get_ie()<br />
and then compares a 4-byte OUI+type at pbuf + 2 and reads a 2-byte<br />
version word at pbuf + 6. Those accesses require the IE body to be at<br />
least 6 bytes, but rtw_get_ie() only guarantees that the element fits<br />
within the buffer; it does not enforce a minimum body length. A<br />
vendor-specific IE whose length byte is 0 to 5, placed at the end of<br />
the buffer, therefore makes these reads run past the end of the IE and<br />
past the end of the buffer itself.<br />
<br />
The buffer holds information elements taken from received management<br />
frames and from the IE blob passed to rtw_cfg80211_set_wpa_ie(), which<br />
is kmemdup&#39;d to its exact length, so the read can run off the end of<br />
the allocation.<br />
<br />
The sibling helpers rtw_get_sec_ie(), rtw_get_wapi_ie() and<br />
rtw_get_wps_ie() in this file already reject too-short vendor-specific<br />
IEs before their OUI memcmp(); rtw_get_wpa_ie() was never brought in<br />
line with them, and needs a minimum of 6 rather than 4 bytes because<br />
of the version word. Add the missing length check.
Impacto
Referencias a soluciones, herramientas e información
- https://git.kernel.org/stable/c/01ab275f8f3e497a13ebbe4ded44ec0623bccde3
- https://git.kernel.org/stable/c/0d19f0600fbb610c42f2a86f95c35706dc04691b
- https://git.kernel.org/stable/c/1c3e23e78862493e8cf1adad02b10ffcb8b9921c
- https://git.kernel.org/stable/c/42c5a0d454aa5b54fec17162d9a1f8c30f8af45a
- https://git.kernel.org/stable/c/4fc459c5cd8767ca4d9bf2f7becbd562639ba4d9
- https://git.kernel.org/stable/c/b45be82387bf759931acdd21ca7dfe740f16eb97
- https://git.kernel.org/stable/c/c9068f82a0906b29c905e8788edb62c3208c7c8a
- https://git.kernel.org/stable/c/e167a38a8a8f50f137721fef1a1fbba0f4588b5d


