In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix OOB write in HT_caps_handler() HT_caps_handler()… (CVE-2026-64440)
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.
AI Analysis
Technical Summary
The Linux kernel rtl8723bs staging driver contained a vulnerability (CVE-2026-64440) in the HT_caps_handler() function where the length field from an over-the-air 802.11 AssocResponse frame was used unchecked to iterate and write into a fixed-size 26-byte array (HT_caps.u.HT_cap[]). A malicious access point could exploit this by setting the length to a large value (up to 255), causing up to 229 bytes of out-of-bounds writes into adjacent memory fields within struct mlme_ext_info. The fix involved using the umin() function to truncate the iteration count to the array size, thus ignoring excess data and preventing memory corruption while preserving HT mode functionality.
Potential Impact
The vulnerability allows a malicious Wi-Fi access point to cause out-of-bounds memory writes in the kernel's wireless driver, potentially leading to memory corruption. The exact impact is not detailed in the provided data, and no known exploits are reported. The out-of-bounds write could affect adjacent kernel memory structures, which might lead to system instability or privilege escalation if exploited.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this vulnerability by truncating the iteration length in HT_caps_handler(). Users should update to the patched kernel version once available. Since this is a kernel-level vulnerability, applying the official kernel update from the Linux distribution vendor is the recommended remediation. Patch status is not explicitly confirmed in the provided data; users should consult their vendor advisory for the exact fixed kernel versions and update accordingly.
In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix OOB write in HT_caps_handler() HT_caps_handler()… (CVE-2026-64440)
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel rtl8723bs staging driver contained a vulnerability (CVE-2026-64440) in the HT_caps_handler() function where the length field from an over-the-air 802.11 AssocResponse frame was used unchecked to iterate and write into a fixed-size 26-byte array (HT_caps.u.HT_cap[]). A malicious access point could exploit this by setting the length to a large value (up to 255), causing up to 229 bytes of out-of-bounds writes into adjacent memory fields within struct mlme_ext_info. The fix involved using the umin() function to truncate the iteration count to the array size, thus ignoring excess data and preventing memory corruption while preserving HT mode functionality.
Potential Impact
The vulnerability allows a malicious Wi-Fi access point to cause out-of-bounds memory writes in the kernel's wireless driver, potentially leading to memory corruption. The exact impact is not detailed in the provided data, and no known exploits are reported. The out-of-bounds write could affect adjacent kernel memory structures, which might lead to system instability or privilege escalation if exploited.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this vulnerability by truncating the iteration length in HT_caps_handler(). Users should update to the patched kernel version once available. Since this is a kernel-level vulnerability, applying the official kernel update from the Linux distribution vendor is the recommended remediation. Patch status is not explicitly confirmed in the provided data; users should consult their vendor advisory for the exact fixed kernel versions and update accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-mgm7-8p4q-p28m
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64440"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a6542099c2644c7f80835b6
Added to database: 07/25/2026, 23:08:57 UTC
Last enriched: 07/25/2026, 23:23:02 UTC
Last updated: 09/08/2026, 22:52:14 UTC
Views: 33
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.