In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix heap buffer overflow in rtw_cfg80211_set_wpa_ie()… (CVE-2026-64446)
A heap buffer overflow vulnerability was identified and resolved in the Linux kernel's rtl8723bs staging driver. The issue occurs in the function rtw_cfg80211_set_wpa_ie() due to an unchecked memcpy operation that can overflow a 256-byte buffer by one byte when processing a crafted WPA IE of length 255. This overflow affects the supplicant_ie array in the security_priv structure. The vulnerability arises because the length validation in rtw_parse_wpa_ie() incorrectly passes crafted input, allowing the overflow. The fix adds explicit bounds checks to prevent copying data exceeding the buffer size.
AI Analysis
Technical Summary
The Linux kernel rtl8723bs staging driver contained a heap buffer overflow vulnerability in the rtw_cfg80211_set_wpa_ie() function. The supplicant_ie buffer is 256 bytes, but the code copied wpa_ielen + 2 bytes without proper bounds checking, where wpa_ielen is a length field up to 255. A crafted WPA IE of length 255 causes the memcpy to copy 257 bytes, overflowing the buffer by one byte into adjacent memory. The existing length check in rtw_parse_wpa_ie() was insufficient due to incorrect comparison logic. The vulnerability was resolved by adding explicit bounds checks before the memcpy to reject oversized IEs.
Potential Impact
The vulnerability allows a local user to trigger a heap buffer overflow by supplying a crafted WPA IE in a connect request via nl80211. This overflow could corrupt adjacent memory, potentially leading to undefined behavior such as crashes or memory corruption within the kernel's wireless driver. No known exploits in the wild have been reported. The impact is limited to local users with the ability to send crafted connect requests to the affected driver.
Mitigation Recommendations
A fix has been implemented that adds explicit bounds checks to prevent the heap buffer overflow by rejecting WPA IE inputs exceeding the buffer size. Since this is a Linux kernel vulnerability, users should apply the official kernel updates or patches that include this fix. Patch status is not explicitly confirmed in the provided data; therefore, users should consult the vendor or Linux kernel advisory for the current remediation status and apply updates accordingly.
In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix heap buffer overflow in rtw_cfg80211_set_wpa_ie()… (CVE-2026-64446)
Description
A heap buffer overflow vulnerability was identified and resolved in the Linux kernel's rtl8723bs staging driver. The issue occurs in the function rtw_cfg80211_set_wpa_ie() due to an unchecked memcpy operation that can overflow a 256-byte buffer by one byte when processing a crafted WPA IE of length 255. This overflow affects the supplicant_ie array in the security_priv structure. The vulnerability arises because the length validation in rtw_parse_wpa_ie() incorrectly passes crafted input, allowing the overflow. The fix adds explicit bounds checks to prevent copying data exceeding the buffer size.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel rtl8723bs staging driver contained a heap buffer overflow vulnerability in the rtw_cfg80211_set_wpa_ie() function. The supplicant_ie buffer is 256 bytes, but the code copied wpa_ielen + 2 bytes without proper bounds checking, where wpa_ielen is a length field up to 255. A crafted WPA IE of length 255 causes the memcpy to copy 257 bytes, overflowing the buffer by one byte into adjacent memory. The existing length check in rtw_parse_wpa_ie() was insufficient due to incorrect comparison logic. The vulnerability was resolved by adding explicit bounds checks before the memcpy to reject oversized IEs.
Potential Impact
The vulnerability allows a local user to trigger a heap buffer overflow by supplying a crafted WPA IE in a connect request via nl80211. This overflow could corrupt adjacent memory, potentially leading to undefined behavior such as crashes or memory corruption within the kernel's wireless driver. No known exploits in the wild have been reported. The impact is limited to local users with the ability to send crafted connect requests to the affected driver.
Mitigation Recommendations
A fix has been implemented that adds explicit bounds checks to prevent the heap buffer overflow by rejecting WPA IE inputs exceeding the buffer size. Since this is a Linux kernel vulnerability, users should apply the official kernel updates or patches that include this fix. Patch status is not explicitly confirmed in the provided data; therefore, users should consult the vendor or Linux kernel advisory for the current remediation status and apply updates accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-49pq-8ggv-fqjq
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64446"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a6542089c2644c7f8082ff5
Added to database: 07/25/2026, 23:08:56 UTC
Last enriched: 07/25/2026, 23:21:36 UTC
Last updated: 07/26/2026, 05:00:39 UTC
Views: 6
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.