CVE-2026-64446

Source
https://cve.org/CVERecord?id=CVE-2026-64446
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64446.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64446
Downstream
Published
2026-07-25T08:51:17.402Z
Modified
2026-07-27T04:03:20.060417435Z
Summary
staging: rtl8723bs: fix heap buffer overflow in rtw_cfg80211_set_wpa_ie()
Details

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

staging: rtl8723bs: fix heap buffer overflow in rtwcfg80211setwpaie()

supplicantie is a 256-byte array in struct securitypriv. The WPA and WPA2 IE copy paths use:

memcpy(padapter->securitypriv.supplicant_ie, &pwpa[0], wpa_ielen + 2);

where wpaielen 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, wpaielen + 2 equals 257, overflowing the 256-byte buffer by one byte into the adjacent lastmicerr_time field.

rtwparsewpaie() does not prevent this: its length consistency check compares *(wpaie+1) against (u8)(wpaielen-2), which is (u8)(255) == 255 when wpaielen = 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 (wpaielen + 2) exceeds the supplicantie buffer.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64446.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
554c0a3abf216c991c5ebddcdb2c08689ecd290b
Fixed
a94a643a80a84ceb8139061c3d6bf988d75e45a5
Fixed
2131621986c62c86109ce4d84cf73a73757eb8a6
Fixed
6f20d7b0ee47c470734a69379b0fc6647c519603
Fixed
5d7812360abf3143afcbf5efe4ef242448fa1f28
Fixed
46f66c16a95191d9aca07a72ae6b1252a244e26c
Fixed
b9c4bf133c3c47e23baf4f5403b98a953bf58606
Fixed
138cd190efd56ab36c9fdd8fef8749d06937f24b
Fixed
5a752a616e756844388a1a45404db9fc29fec655

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64446.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.12.0
Fixed
5.10.261
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.212
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.96
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.39
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64446.json"