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

staging: rtl8723bs: fix WEP length underflow and OOB read in OnAuth()

OnAuth() has two bugs in the shared-key authentication path.

When the Privacy bit is set, rtw_wep_decrypt() is called without
verifying that the frame is long enough to contain a valid WEP IV and
ICV. Inside rtw_wep_decrypt(), length is computed as:

length = len - WLAN_HDR_A3_LEN - iv_len

and then passed as (length - 4) to crc32_le(). If len is less than
WLAN_HDR_A3_LEN + iv_len + icv_len (32 bytes), length - 4 is negative
and, after the implicit cast to size_t, causes crc32_le() to read far
beyond the frame buffer. Add a minimum length check before accessing
the IV field and calling the decryption path.

When processing a seq=3 response, rtw_get_ie() stores the Challenge
Text IE length in ie_len, but the subsequent memcmp() always reads 128
bytes regardless of ie_len. IEEE 802.11 mandates a challenge text of
exactly 128 bytes; reject any IE whose length field differs, matching
the check already applied to OnAuthClient().
Published: 2026-07-25
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel’s rtl8723bs staging driver contains two flaws that can be triggered during shared-key authentication. In rtw_wep_decrypt() the driver calculates a length from the received frame and, after an implicit cast to size_t, passes a negative value to crc32_le(), leading to an out-of-bounds read of the packet buffer. A second flaw occurs when processing a seq=3 response; the code always compares 128 bytes of the Challenge Text IE regardless of its declared length, causing an additional out-of-bounds read. Based on the description, it is inferred that a malicious 802.11 frame can trigger these out-of-bounds reads, potentially exposing kernel memory and causing a crash, but not providing arbitrary code execution.

Affected Systems

Linux kernel installations that include the rtl8723bs driver in the staging tree without the recent patch are affected. This includes all distributions that ship the module in the kernel, as well as custom kernels that incorporate the rtl8723bs module without the fix.

Risk and Exploitability

The CVSS score of 8.8 indicates a high severity vulnerability. The EPSS score of less than 1% suggests that exploitation is expected to be uncommon, and the vulnerability is not listed in CISA’s KEV catalog. Based on the description, it is inferred that an attacker would need the ability to inject crafted 802.11 frames toward the victim’s wireless interface, such as a rogue access point or a device capable of forging Wi‑Fi packets. Therefore, the likely attack vector is a malicious wireless device that transmits malformed IEEE 802.11 frames. Under these constrained conditions, the out‑of‑bounds read can lead to information disclosure or a local denial of service, but the attack complexity is high and the impact is limited to the victim’s host.

Generated by OpenCVE AI on August 5, 2026 at 00:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the rtl8723bs patch
  • If wireless functionality is not required, remove or disable the rtl8723bs module
  • Configure wireless interfaces or network settings to drop malformed IEEE 802.11 frames, or use a firewall to block suspicious traffic

Generated by OpenCVE AI on August 5, 2026 at 00:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4717-1 linux security update
Debian DLA Debian DLA DLA-4720-1 linux security update
Debian DLA Debian DLA DLA-4723-1 linux-6.1 security update
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
History

Mon, 03 Aug 2026 19:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Thu, 30 Jul 2026 03:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Thu, 30 Jul 2026 00:15:00 +0000


Mon, 27 Jul 2026 05:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Sat, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix WEP length underflow and OOB read in OnAuth() OnAuth() has two bugs in the shared-key authentication path. When the Privacy bit is set, rtw_wep_decrypt() is called without verifying that the frame is long enough to contain a valid WEP IV and ICV. Inside rtw_wep_decrypt(), length is computed as: length = len - WLAN_HDR_A3_LEN - iv_len and then passed as (length - 4) to crc32_le(). If len is less than WLAN_HDR_A3_LEN + iv_len + icv_len (32 bytes), length - 4 is negative and, after the implicit cast to size_t, causes crc32_le() to read far beyond the frame buffer. Add a minimum length check before accessing the IV field and calling the decryption path. When processing a seq=3 response, rtw_get_ie() stores the Challenge Text IE length in ie_len, but the subsequent memcmp() always reads 128 bytes regardless of ie_len. IEEE 802.11 mandates a challenge text of exactly 128 bytes; reject any IE whose length field differs, matching the check already applied to OnAuthClient().
Title staging: rtl8723bs: fix WEP length underflow and OOB read in OnAuth()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:42:09.684Z

Reserved: 2026-07-19T15:36:31.788Z

Link: CVE-2026-64445

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-25T10:17:29.177

Modified: 2026-08-11T15:01:50.637

Link: CVE-2026-64445

cve-icon Redhat

Severity :

Publid Date: 2026-07-25T00:00:00Z

Links: CVE-2026-64445 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T00:30:05Z

Weaknesses