{"id":"CVE-2026-74650","aliases":["CVE-2026-74650"],"related":[],"kind":"vulnerability","state":"published","title":"staging: rtl8723bs: fix OOB read in WMM_param_handler()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: rtl8723bs: fix OOB read in WMM_param_handler()\n\nWMM_param_handler() copies a fixed-size WMM parameter element out of a\nreceived information element without checking that the element is long\nenough, causing an out-of-bounds read for a short WMM IE.\n\nThe handler reads sizeof(struct WMM_para_element) (18) bytes at\npIE->data + 6, so it requires pIE->length to be at least 24\n(WLAN_WMM_LEN), but it never validates the length. Two of its three\ncallers reach it after matching only the WMM OUI: OnAssocRsp() in\nrtw_mlme_ext.c matches a 6-byte OUI, and join_cmd_hdl() matches a\n4-byte OUI, before calling the handler. A vendor-specific IE carrying\nthe WMM OUI but a length between 6 and 23, placed in an association\nresponse or in the IE blob handed to join_cmd_hdl(), passes the OUI\ncheck and then makes the memcmp() and memcpy() at pIE->data + 6 read\npast the end of the element. OnAssocRsp() parses a frame received from\nthe AP, so this is reachable from a remote peer.\n\nThe remaining caller in rtw_wlan_util.c already guards the handler with\n\"pIE->length == WLAN_WMM_LEN\". Move the equivalent check into the\nhandler itself so every caller is covered; the sibling IE handlers in\nthe same parsing loop (HT_caps_handler(), HT_info_handler(),\nERP_IE_handler()) likewise bound their accesses by pIE->length.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: rtl8723bs: fix OOB read in WMM_param_handler()\n\nWMM_param_handler() copies a fixed-size WMM parameter element out of a\nreceived information element without checking that the element is long\nenough, causing an out-of-bounds read for a short WMM IE.\n\nThe handler reads sizeof(struct WMM_para_element) (18) bytes at\npIE->data + 6, so it requires pIE->length to be at least 24\n(WLAN_WMM_LEN), but it never validates the length. Two of its three\ncallers reach it after matching only the WMM OUI: OnAssocRsp() in\nrtw_mlme_ext.c matches a 6-byte OUI, and join_cmd_hdl() matches a\n4-byte OUI, before calling the handler. A vendor-specific IE carrying\nthe WMM OUI but a length between 6 and 23, placed in an association\nresponse or in the IE blob handed to join_cmd_hdl(), passes the OUI\ncheck and then makes the memcmp() and memcpy() at pIE->data + 6 read\npast the end of the element. OnAssocRsp() parses a frame received from\nthe AP, so this is reachable from a remote peer.\n\nThe remaining caller in rtw_wlan_util.c already guards the handler with\n\"pIE->length == WLAN_WMM_LEN\". Move the equivalent check into the\nhandler itself so every caller is covered; the sibling IE handlers in\nthe same parsing loop (HT_caps_handler(), HT_info_handler(),\nERP_IE_handler()) likewise bound their accesses by pIE->length.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nstaging: rtl8723bs: corrección de lectura fuera de límites en WMM_param_handler()\n\nWMM_param_handler() copia un elemento de parámetro WMM de tamaño fijo de un elemento de información recibido sin verificar que el elemento sea lo suficientemente largo, causando una lectura fuera de límites para un IE WMM corto.\n\nEl gestor lee sizeof(struct WMM_para_element) (18) bytes en pIE -> data + 6, por lo que requiere que pIE -> length sea al menos 24 (WLAN_WMM_LEN), pero nunca valida la longitud. Dos de sus tres llamadores lo alcanzan después de coincidir solo con el OUI WMM: OnAssocRsp() en rtw_mlme_ext.c coincide con un OUI de 6 bytes, y join_cmd_hdl() coincide con un OUI de 4 bytes, antes de llamar al gestor. Un IE específico del proveedor que lleva el OUI WMM pero una longitud entre 6 y 23, colocado en una respuesta de asociación o en el blob de IE entregado a join_cmd_hdl(), pasa la verificación del OUI y luego hace que memcmp() y memcpy() en pIE -> data + 6 lean más allá del final del elemento. OnAssocRsp() analiza una trama recibida del AP, por lo que esto es alcanzable desde un par remoto.\n\nEl llamador restante en rtw_wlan_util.c ya protege al gestor con 'pIE -> length == WLAN_WMM_LEN'. Mover la verificación equivalente al propio gestor para que cada llamador esté cubierto; los gestores de IE hermanos en el mismo bucle de análisis (HT_caps_handler(), HT_info_handler(), ERP_IE_handler()) de manera similar limitan sus accesos por pIE -> length.","source":"nvd"}],"published":"2026-08-22T15:32:26.333Z","modified":"2026-11-06T17:19:52.373Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"5df2fd06567df5f178c8faae0bdaefd203618d21","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"6cdca4c8b64c15a3ab9ad7a85f482e9519eadf93","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"2bee6f7a0f0125238951e31da2e96d06fe359043","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"1158b9931207392d6dd136aa0c4be18893b50fa1","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"ce2399717de242344880044b91a20a712644fdfb","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"e5b7610008f4e6a80c8b071aa77ddbd5e17ea472","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"e429c6dfd5d2324cd866daaf4c29d5cfe4dea0e4","status":"affected"},{"type":"git","introduced":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","fixed":"ae21407350151bddfd4fea7aa39bd0643c0ca9d3","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.267","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/5df2fd06567df5f178c8faae0bdaefd203618d21","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6cdca4c8b64c15a3ab9ad7a85f482e9519eadf93","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2bee6f7a0f0125238951e31da2e96d06fe359043","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1158b9931207392d6dd136aa0c4be18893b50fa1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ce2399717de242344880044b91a20a712644fdfb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e5b7610008f4e6a80c8b071aa77ddbd5e17ea472","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e429c6dfd5d2324cd866daaf4c29d5cfe4dea0e4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ae21407350151bddfd4fea7aa39bd0643c0ca9d3","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T17:00:21.541Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74650","url":"https://www.cve.org/CVERecord?id=CVE-2026-74650","licence":"CVE Terms of Use","modified":"2026-11-06T17:05:49.687Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74650","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74650","licence":"Public domain","modified":"2026-11-06T17:19:52.373Z"}],"updatedAt":"2026-11-25T22:59:34.917Z","epss":{"score":0.00177,"percentile":0.07635,"date":"2026-12-01T12:00:22.000Z"}}