CVE-2026-64446 Details
Description
In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix heap buffer overflow in rtw_cfg80211_set_wpa_ie() supplicant_ie is a 256-byte array in struct security_priv. The WPA and WPA2 IE copy paths use: memcpy(padapter->securitypriv.supplicant_ie, &pwpa[0], wpa_ielen + 2); where wpa_ielen is the raw IE length field (u8, 0-255). When a local user supplies a connect request via nl80211 with a crafted WPA IE of length 255, wpa_ielen + 2 equals 257, overflowing the 256-byte buffer by one byte into the adjacent last_mic_err_time field. rtw_parse_wpa_ie() does not prevent this: its length consistency check compares *(wpa_ie+1) against (u8)(wpa_ie_len-2), which is (u8)(255) == 255 when wpa_ie_len = 257, so the check passes silently. Add explicit bounds checks for both the WPA and WPA2 paths before the memcpy, rejecting any IE whose total size (wpa_ielen + 2) exceeds the supplicant_ie buffer.
A heap buffer overflow vulnerability has been identified in the Linux kernel's RTL8723BS Wi-Fi driver, specifically within the function that processes WPA and WPA2 information elements (IEs) for network connections. This issue arises because the 'supplicant_ie' array, which is limited to 256 bytes, does not properly validate the length of incoming WPA IEs. When a local user sends a crafted connect request with a WPA IE of 255 bytes, the length exceeds the buffer capacity, overwriting adjacent memory and potentially leading to arbitrary code execution. The vulnerability is present in the Linux kernel staging area, affecting the RTL8723BS SDIO Wi-Fi driver.
The vulnerability has been addressed by adding explicit bounds checks for both WPA and WPA2 information elements before copying data into the 'supplicant_ie' buffer. Users should update to the patched version of the Linux kernel where this fix has been applied.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/138cd190efd56ab36c9fdd8fef8749d06937f24b | kernel.org | Patch |
| https://git.kernel.org/stable/c/2131621986c62c86109ce4d84cf73a73757eb8a6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/46f66c16a95191d9aca07a72ae6b1252a244e26c | kernel.org | Patch |
| https://git.kernel.org/stable/c/5a752a616e756844388a1a45404db9fc29fec655 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5d7812360abf3143afcbf5efe4ef242448fa1f28 | kernel.org | Patch |
| https://git.kernel.org/stable/c/6f20d7b0ee47c470734a69379b0fc6647c519603 | kernel.org | Patch |
| https://git.kernel.org/stable/c/a94a643a80a84ceb8139061c3d6bf988d75e45a5 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b9c4bf133c3c47e23baf4f5403b98a953bf58606 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.12, < 5.10.261 >= 5.11, < 5.15.212 >= 5.16, < 6.1.178 >= 6.2, < 6.6.145 >= 6.7, < 6.12.96 >= 6.13, < 6.18.39 >= 6.19, < 7.1.4 7.2 rc1 7.2 rc2 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 3, 2026 | Initial Analysis | [email protected] |
| Aug 17, 2026 | CVE Modified | kernel.org |
| Jul 25, 2026 | New CVE Received | kernel.org |