CVE-2026-74651
staging: rtl8723bs: fix OOB read in rtw_get_wpa_ie()
Description
In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix OOB read in rtw_get_wpa_ie() rtw_get_wpa_ie() reads bytes at fixed offsets into a vendor-specific information element without checking that the element is long enough, causing an out-of-bounds read for a short trailing IE. The function locates a vendor-specific IE (EID 221) with rtw_get_ie() and then compares a 4-byte OUI+type at pbuf + 2 and reads a 2-byte version word at pbuf + 6. Those accesses require the IE body to be at least 6 bytes, but rtw_get_ie() only guarantees that the element fits within the buffer; it does not enforce a minimum body length. A vendor-specific IE whose length byte is 0 to 5, placed at the end of the buffer, therefore makes these reads run past the end of the IE and past the end of the buffer itself. The buffer holds information elements taken from received management frames and from the IE blob passed to rtw_cfg80211_set_wpa_ie(), which is kmemdup'd to its exact length, so the read can run off the end of the allocation. The sibling helpers rtw_get_sec_ie(), rtw_get_wapi_ie() and rtw_get_wps_ie() in this file already reject too-short vendor-specific IEs before their OUI memcmp(); rtw_get_wpa_ie() was never brought in line with them, and needs a minimum of 6 rather than 4 bytes because of the version word. Add the missing length check.
INFO
Published Date :
Aug. 22, 2026, 4:16 p.m.
Last Modified :
Aug. 22, 2026, 4:16 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Add a minimum length check to rtw_get_wpa_ie().
- Ensure IE length is sufficient before accessing offsets.
- Review similar functions for comparable checks.
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-74651.
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-74651 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-74651
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-74651 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-74651 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
Aug. 22, 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': '4fc459c5cd8767ca4d9bf2f7becbd562639ba4d9', 'versionType': 'git'}, {'status': 'affected', 'version': '554c0a3abf216c991c5ebddcdb2c08689ecd290b', 'lessThan': 'b45be82387bf759931acdd21ca7dfe740f16eb97', 'versionType': 'git'}, {'status': 'affected', 'version': '554c0a3abf216c991c5ebddcdb2c08689ecd290b', 'lessThan': 'c9068f82a0906b29c905e8788edb62c3208c7c8a', 'versionType': 'git'}, {'status': 'affected', 'version': '554c0a3abf216c991c5ebddcdb2c08689ecd290b', 'lessThan': '0d19f0600fbb610c42f2a86f95c35706dc04691b', 'versionType': 'git'}, {'status': 'affected', 'version': '554c0a3abf216c991c5ebddcdb2c08689ecd290b', 'lessThan': '42c5a0d454aa5b54fec17162d9a1f8c30f8af45a', 'versionType': 'git'}, {'status': 'affected', 'version': '554c0a3abf216c991c5ebddcdb2c08689ecd290b', 'lessThan': 'e167a38a8a8f50f137721fef1a1fbba0f4588b5d', 'versionType': 'git'}, {'status': 'affected', 'version': '554c0a3abf216c991c5ebddcdb2c08689ecd290b', 'lessThan': '01ab275f8f3e497a13ebbe4ded44ec0623bccde3', 'versionType': 'git'}, {'status': 'affected', 'version': '554c0a3abf216c991c5ebddcdb2c08689ecd290b', 'lessThan': '1c3e23e78862493e8cf1adad02b10ffcb8b9921c', 'versionType': 'git'}], 'programFiles': ['drivers/staging/rtl8723bs/core/rtw_ieee80211.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.10.265', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.216', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.183', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.152', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.104', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.45', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.9', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/staging/rtl8723bs/core/rtw_ieee80211.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix OOB read in rtw_get_wpa_ie() rtw_get_wpa_ie() reads bytes at fixed offsets into a vendor-specific information element without checking that the element is long enough, causing an out-of-bounds read for a short trailing IE. The function locates a vendor-specific IE (EID 221) with rtw_get_ie() and then compares a 4-byte OUI+type at pbuf + 2 and reads a 2-byte version word at pbuf + 6. Those accesses require the IE body to be at least 6 bytes, but rtw_get_ie() only guarantees that the element fits within the buffer; it does not enforce a minimum body length. A vendor-specific IE whose length byte is 0 to 5, placed at the end of the buffer, therefore makes these reads run past the end of the IE and past the end of the buffer itself. The buffer holds information elements taken from received management frames and from the IE blob passed to rtw_cfg80211_set_wpa_ie(), which is kmemdup'd to its exact length, so the read can run off the end of the allocation. The sibling helpers rtw_get_sec_ie(), rtw_get_wapi_ie() and rtw_get_wps_ie() in this file already reject too-short vendor-specific IEs before their OUI memcmp(); rtw_get_wpa_ie() was never brought in line with them, and needs a minimum of 6 rather than 4 bytes because of the version word. Add the missing length check. Added Reference https://git.kernel.org/stable/c/01ab275f8f3e497a13ebbe4ded44ec0623bccde3 Added Reference https://git.kernel.org/stable/c/0d19f0600fbb610c42f2a86f95c35706dc04691b Added Reference https://git.kernel.org/stable/c/1c3e23e78862493e8cf1adad02b10ffcb8b9921c Added Reference https://git.kernel.org/stable/c/42c5a0d454aa5b54fec17162d9a1f8c30f8af45a Added Reference https://git.kernel.org/stable/c/4fc459c5cd8767ca4d9bf2f7becbd562639ba4d9 Added Reference https://git.kernel.org/stable/c/b45be82387bf759931acdd21ca7dfe740f16eb97 Added Reference https://git.kernel.org/stable/c/c9068f82a0906b29c905e8788edb62c3208c7c8a Added Reference https://git.kernel.org/stable/c/e167a38a8a8f50f137721fef1a1fbba0f4588b5d