CVE-2026-64440

staging: rtl8723bs: fix OOB write in HT_caps_handler()

State
Published
Severity
8.1 High
Published
Jul 25, 2026
Updated
Oct 19, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.18.1 HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:HLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b to before 37f642d47c3648a707df3ceb092eee1adffbfd28Affected
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b to before 8c872b47c7fc32e95e0da1db7512388794adcd69Affected
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b to before bb3b942da4123b55d1cacf19d1a7d5ba15dbf83aAffected
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b to before 918537a0fbed85aab61fa28ad75e6279070610c9Affected
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b to before 6f91621fc45025ad3c0be796b70e6e4cee22fc69Affected
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b to before 225b6d3fc7e99ac3d20b6c861d1e47d24e7ea31dAffected
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b to before f8001e1a516ba3b495728c65b61f799cbfad6bd0Affected
LinuxLinux
  • 4.12Affected
  • before 4.12Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.96 through 6.12.*Not affected
  • 6.18.39 through 6.18.*Not affected
  • 7.1.4 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.