# CVE-2026-64440: staging: rtl8723bs: fix OOB write in HT_caps_handler()

- Severity: High 8.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 28% of CVEs (2026-11-30)
- Published: 2026-07-25T08:51:13.138Z
- Modified: 2026-10-19T21:17:38.410Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 37f642d47c3648a707df3ceb092eee1adffbfd28; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 8c872b47c7fc32e95e0da1db7512388794adcd69; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before bb3b942da4123b55d1cacf19d1a7d5ba15dbf83a; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 918537a0fbed85aab61fa28ad75e6279070610c9; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 6f91621fc45025ad3c0be796b70e6e4cee22fc69; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 225b6d3fc7e99ac3d20b6c861d1e47d24e7ea31d; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before f8001e1a516ba3b495728c65b61f799cbfad6bd0; 4.12 (not affected: before 4.12; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.96 up to 6.12.*; from 6.18.39 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 4.12 before 5.15.212; from 5.16 before 6.1.178; from 6.2 before 6.6.145; from 6.7 before 6.12.96; from 6.13 before 6.18.39; from 6.19 before 7.1.4; 7.2

## References

- <https://git.kernel.org/stable/c/37f642d47c3648a707df3ceb092eee1adffbfd28> (patch)
- <https://git.kernel.org/stable/c/8c872b47c7fc32e95e0da1db7512388794adcd69> (patch)
- <https://git.kernel.org/stable/c/bb3b942da4123b55d1cacf19d1a7d5ba15dbf83a> (patch)
- <https://git.kernel.org/stable/c/918537a0fbed85aab61fa28ad75e6279070610c9> (patch)
- <https://git.kernel.org/stable/c/6f91621fc45025ad3c0be796b70e6e4cee22fc69> (patch)
- <https://git.kernel.org/stable/c/225b6d3fc7e99ac3d20b6c861d1e47d24e7ea31d> (patch)
- <https://git.kernel.org/stable/c/f8001e1a516ba3b495728c65b61f799cbfad6bd0> (patch)

## Sources

- CVE List: [CVE-2026-64440](https://www.cve.org/CVERecord?id=CVE-2026-64440), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-64440](https://nvd.nist.gov/vuln/detail/CVE-2026-64440), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-64440 · Whole record: https://cve.day/CVE-2026-64440.json · Rebuilt by cve.day 2026-11-25T22:59:30.120Z
