Skip to main content
← All vulnerabilities
CVE-2026-64440

staging: rtl8723bs: fix OOB write in HT_caps_handler()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.15.212, 6.1.178, 6.6.145, 6.12.96, 6.18.39, and 1 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix OOB write in HT_caps_handler() HT_caps_handler() iterates pIE->length bytes and writes into HT_caps.u.HT_cap[], which is a fixed 26-byte array (sizeof struct HT_caps_element). Because pIE->length is a raw u8 from an over-the-air 802.11 AssocResponse frame and is never validated, a malicious AP can set it up to 255, causing up to 229 bytes of out-of-bounds writes into adjacent fields of struct mlme_ext_info. Truncate the iteration count to the size of HT_caps.u.HT_cap using umin() so that data from a longer-than-expected IE is silently ignored rather than written out of bounds, preserving interoperability with APs that pad the element. An early return on oversized IEs was considered but rejected: it would bypass the pmlmeinfo->HT_caps_enable = 1 assignment that precedes the loop, silently disabling HT mode for APs that append extra bytes to the HT Capabilities IE.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 554c0a3abf216c991c5ebddcdb2c08689ecd290b · fixed in 37f642d47c3648a707df3ceb092eee1adffbfd28; From 554c0a3abf216c991c5ebddcdb2c08689ecd290b · fixed in 8c872b47c7fc32e95e0da1db7512388794adcd69; From 554c0a3abf216c991c5ebddcdb2c08689ecd290b · fixed in bb3b942da4123b55d1cacf19d1a7d5ba15dbf83a; From 554c0a3abf216c991c5ebddcdb2c08689ecd290b · fixed in 918537a0fbed85aab61fa28ad75e6279070610c9; From 554c0a3abf216c991c5ebddcdb2c08689ecd290b · fixed in 6f91621fc45025ad3c0be796b70e6e4cee22fc69; From 554c0a3abf216c991c5ebddcdb2c08689ecd290b · fixed in 225b6d3fc7e99ac3d20b6c861d1e47d24e7ea31d; From 554c0a3abf216c991c5ebddcdb2c08689ecd290b · fixed in f8001e1a516ba3b495728c65b61f799cbfad6bd0

  • Linux Linux

    4.12

  • KernelLinux

    From 4.12.0 · fixed in 5.15.212; From 5.16.0 · fixed in 6.1.178; From 6.2.0 · fixed in 6.6.145; From 6.7.0 · fixed in 6.12.96; From 6.13.0 · fixed in 6.18.39; From 6.19.0 · fixed in 7.1.4

References 7

git.kernel.org