CVE-2026-64440
staging: rtl8723bs: fix OOB write in HT_caps_handler()
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.
INFO
Published Date :
July 25, 2026, 10:17 a.m.
Last Modified :
July 25, 2026, 10:17 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products
The following products are affected by CVE-2026-64440
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Apply the provided kernel patch.
- Update the Linux kernel.
- Validate input lengths in network handlers.
- Sanitize data from untrusted sources.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-64440.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-64440 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-64440
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-64440 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-64440 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 25, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '554c0a3abf216c991c5ebddcdb2c08689ecd290b', 'lessThan': '37f642d47c3648a707df3ceb092eee1adffbfd28', 'versionType': 'git'}, {'status': 'affected', 'version': '554c0a3abf216c991c5ebddcdb2c08689ecd290b', 'lessThan': '8c872b47c7fc32e95e0da1db7512388794adcd69', 'versionType': 'git'}, {'status': 'affected', 'version': '554c0a3abf216c991c5ebddcdb2c08689ecd290b', 'lessThan': 'bb3b942da4123b55d1cacf19d1a7d5ba15dbf83a', 'versionType': 'git'}, {'status': 'affected', 'version': '554c0a3abf216c991c5ebddcdb2c08689ecd290b', 'lessThan': '918537a0fbed85aab61fa28ad75e6279070610c9', 'versionType': 'git'}, {'status': 'affected', 'version': '554c0a3abf216c991c5ebddcdb2c08689ecd290b', 'lessThan': '6f91621fc45025ad3c0be796b70e6e4cee22fc69', 'versionType': 'git'}, {'status': 'affected', 'version': '554c0a3abf216c991c5ebddcdb2c08689ecd290b', 'lessThan': '225b6d3fc7e99ac3d20b6c861d1e47d24e7ea31d', 'versionType': 'git'}, {'status': 'affected', 'version': '554c0a3abf216c991c5ebddcdb2c08689ecd290b', 'lessThan': 'f8001e1a516ba3b495728c65b61f799cbfad6bd0', 'versionType': 'git'}], 'programFiles': ['drivers/staging/rtl8723bs/core/rtw_wlan_util.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.12'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.12', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.96', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.39', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.4', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc3', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/staging/rtl8723bs/core/rtw_wlan_util.c'], 'defaultStatus': 'affected'}] Added 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. Added Reference https://git.kernel.org/stable/c/225b6d3fc7e99ac3d20b6c861d1e47d24e7ea31d Added Reference https://git.kernel.org/stable/c/37f642d47c3648a707df3ceb092eee1adffbfd28 Added Reference https://git.kernel.org/stable/c/6f91621fc45025ad3c0be796b70e6e4cee22fc69 Added Reference https://git.kernel.org/stable/c/8c872b47c7fc32e95e0da1db7512388794adcd69 Added Reference https://git.kernel.org/stable/c/918537a0fbed85aab61fa28ad75e6279070610c9 Added Reference https://git.kernel.org/stable/c/bb3b942da4123b55d1cacf19d1a7d5ba15dbf83a Added Reference https://git.kernel.org/stable/c/f8001e1a516ba3b495728c65b61f799cbfad6bd0