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

Published Jul 25, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

staging: rtl8723bs: fix OOB write in HTcapshandler()

HTcapshandler() iterates pIE->length bytes and writes into HTcaps.u.HTcap[], which is a fixed 26-byte array (sizeof struct HTcapselement). 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 mlmeextinfo.

Truncate the iteration count to the size of HTcaps.u.HTcap 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->HTcapsenable = 1 assignment that precedes the loop, silently disabling HT mode for APs that append extra bytes to the HT Capabilities IE.

Affected Software

9 affected components
Linux Kernel
Linux Linux kernel>=4.12<5.15.212
Linux Linux kernel>=5.16<6.1.178
Linux Linux kernel>=6.2<6.6.145
Linux Linux kernel>=6.7<6.12.96
Linux Linux kernel>=6.13<6.18.39
Linux Linux kernel>=6.19<7.1.4
Linux Linux kernel=7.2-rc1
Linux Linux kernel=7.2-rc2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel (rtl8723bs) to a version that resolves this vulnerability.

    Patch rtl8723bs: fix OOB write in HT_caps_handler()
  2. Configuration

    In the HT_caps_handler() loop, truncate the iteration count to the size of HT_caps.u.HT_cap using the umin() logic so that data from a longer-than-expected HT Capabilities IE is silently ignored and out-of-bounds writes are prevented.

    HT_caps_handler() (rtl8723bs) Truncate iteration count when iterating over pIE->length for HT_caps.u.HT_cap = sizeof(HT_caps.u.HT_cap) (HT_caps_element)

Event History

Jul 25, 2026
CVE Published
via MITRE·08:51 AM
Data Sourced
via MITRE·08:51 AM
DescriptionSeverity
Data Sourced
via NVD·10:17 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-64440?

CVE-2026-64440 has a severity rating of high with a CVSS score of 8.1.

2

How does CVE-2026-64440 impact system security?

CVE-2026-64440 can lead to out-of-bounds write vulnerabilities, potentially allowing an attacker to exploit the system.

3

How do I fix CVE-2026-64440?

To fix CVE-2026-64440, update your Linux kernel to the latest version that includes the patch for this vulnerability.

4

Which software is affected by CVE-2026-64440?

CVE-2026-64440 affects certain versions of the Linux kernel that utilize the rtl8723bs driver.

5

When was CVE-2026-64440 published?

CVE-2026-64440 was published on July 25, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203