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

staging: rtl8723bs: fix OOB reads in rtw_get_sec_ie(), rtw_get_wapi_ie(), and rtw_get_wps_attr()

Three IE/attribute parsing functions have missing bounds checks.

rtw_get_sec_ie() and rtw_get_wapi_ie() iterate over a raw IE buffer
without verifying that the header bytes (tag + length) are within the
remaining buffer before reading them. Additionally, rtw_get_sec_ie()
compares the 4-byte WPA OUI at cnt+2 without checking that at least
6 bytes remain, and rtw_get_wapi_ie() compares a 4-byte WAPI OUI at
cnt+6 without checking that at least 10 bytes remain.

rtw_get_wps_attr() reads wps_ie[0] and wps_ie+2 unconditionally at
entry, before verifying that wps_ielen is large enough to contain
the 6-byte WPS IE header (element_id + length + 4-byte OUI). Inside
the attribute loop, get_unaligned_be16() is called on attr_ptr and
attr_ptr+2 without checking that 4 bytes remain in the buffer.

Add a cnt+2 bounds check before each loop body in rtw_get_sec_ie()
and rtw_get_wapi_ie(), guard each multi-byte comparison with a minimum
IE length requirement, add a wps_ielen < 6 early return in
rtw_get_wps_attr(), and add a 4-byte bounds check in its inner loop.
Published: 2026-07-25
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises from missing bounds checks in three parsing functions of the RTL8723BS wireless driver in the Linux kernel staging area. Under rtw_get_sec_ie() and rtw_get_wapi_ie(), the code accesses header bytes without ensuring the buffer limits are respected, and performs multi‑byte comparisons without verifying sufficient remaining data. In rtw_get_wps_attr() the code reads and dereferences pointers before validating the IEs length, and the inner attribute loop dereferences a 16‑bit value without a bounds check. These gaps allow an attacker to supply crafted information element frames that cause the driver to read beyond the end of the supplied buffer, potentially exposing kernel memory contents. This is a classic out‑of‑bounds read flaw mapped to CWE‑125 and could lead to information disclosure or subtle exploitation of additional vulnerabilities.

Affected Systems

The flaw resides exclusively in the Linux kernel's rtl8723bs driver within the staging tree. Any kernel build that includes this driver prior to the listed commits is affected. The specific kernel version range is not listed in the available data, so any installation using the rtl8723bs driver should be checked against the commit identifiers referenced in the advisory.

Risk and Exploitability

The EPSS score is listed as less than 1 %, indicating a very low likelihood of widespread exploitation. The vulnerability is not currently listed in the CISA KEV catalog. An attacker would need to transmit malformed WLAN frames to a device using the rtl8723bs driver, which typically requires physical proximity or control of a Wi‑Fi access point, making the attack vector somewhat constrained. The overall risk is that compromised kernel memory could be read, potentially revealing sensitive data or aiding further attacks, but the exploitability remains low given the constrained vector and low EPSS.

Generated by OpenCVE AI on August 3, 2026 at 18:40 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the commit fixes for rtl8723bs (e.g., commit 1463ca3ec66, 2ea1ce30ea, 4b51ee8a40, 6ab1161e53, 729c4e7256, b27ecba319, efa27d487a).
  • If an immediate kernel update is not possible, disable or remove the rtl8723bs driver so the vulnerable code is no longer loaded.
  • Continuously monitor kernel logs for anomalous memory access, access errors or security alerts that may indicate attempts to exploit the vendor’s wireless driver.

Generated by OpenCVE AI on August 3, 2026 at 18:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
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
Debian DSA Debian DSA DSA-6405-1 linux security update
History

Wed, 29 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'}


Sun, 26 Jul 2026 01:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125

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 OOB reads in rtw_get_sec_ie(), rtw_get_wapi_ie(), and rtw_get_wps_attr() Three IE/attribute parsing functions have missing bounds checks. rtw_get_sec_ie() and rtw_get_wapi_ie() iterate over a raw IE buffer without verifying that the header bytes (tag + length) are within the remaining buffer before reading them. Additionally, rtw_get_sec_ie() compares the 4-byte WPA OUI at cnt+2 without checking that at least 6 bytes remain, and rtw_get_wapi_ie() compares a 4-byte WAPI OUI at cnt+6 without checking that at least 10 bytes remain. rtw_get_wps_attr() reads wps_ie[0] and wps_ie+2 unconditionally at entry, before verifying that wps_ielen is large enough to contain the 6-byte WPS IE header (element_id + length + 4-byte OUI). Inside the attribute loop, get_unaligned_be16() is called on attr_ptr and attr_ptr+2 without checking that 4 bytes remain in the buffer. Add a cnt+2 bounds check before each loop body in rtw_get_sec_ie() and rtw_get_wapi_ie(), guard each multi-byte comparison with a minimum IE length requirement, add a wps_ielen < 6 early return in rtw_get_wps_attr(), and add a 4-byte bounds check in its inner loop.
Title staging: rtl8723bs: fix OOB reads in rtw_get_sec_ie(), rtw_get_wapi_ie(), and rtw_get_wps_attr()
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:05.295Z

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

Link: CVE-2026-64441

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

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

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

Link: CVE-2026-64441

cve-icon Redhat

Severity :

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

Links: CVE-2026-64441 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T18:45:17Z

Weaknesses