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

staging: rtl8723bs: fix OOB reads in rtw_get_wps_ie()

rtw_get_wps_ie() iterates over IE data from network frames without
validating that the IE header and payload fit within the remaining
buffer before reading them. Specifically:

- in_ie[cnt + 1] is read without checking cnt + 1 < in_len
- memcmp(&in_ie[cnt + 2], ...) accesses cnt + 2 without bounds check
- in_ie[cnt + 1] is used as length without verifying payload fits

Add bounds checks at the top of the loop body to break early if fewer
than 2 bytes remain for the IE header, or if the declared payload
extends past the end of the buffer. Also require at least 4 bytes of
payload before comparing the WPS OUI.
Published: 2026-08-10
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel, the rtl8723bs wireless driver performed insecure parsing of Information Element data from network frames. The function rtw_get_wps_ie() read header and payload bytes without ensuring they lay within the remaining buffer. This lack of bounds checking allowed an attacker to craft frames that cause the driver to read beyond allocated memory, potentially exposing kernel memory contents or causing a crash. The flaw is an out‑of‑bounds read (CWE‑125) and does not directly provide remote code execution but could lead to information disclosure or denial of service.

Affected Systems

All kernel builds that include the staging rtl8723bs driver before the commit that introduces the bounds checks are affected. The adapter is used in devices relying on Realtek 8723BS wireless hardware. The advisory does not list specific kernel versions, but the listed commit references point to the vulnerable code path present in earlier kernel releases.

Risk and Exploitability

No publicly documented exploit exists and the EPSS score is not available, indicating a low exploitation probability. The vulnerability is not a CISA KEV item. An attacker must transmit a malicious wireless frame to a device that uses the rtl8723bs driver, which is a local or remote (wireless) attack vector. While the flaw can leak memory or crash the kernel, it does not grant the attacker control or persistence, resulting in a moderate overall risk for systems with exposed wireless interfaces.

Generated by OpenCVE AI on August 10, 2026 at 14:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a build that contains the rtl8723bs bounds‑check patches (commits 0e95ff7, 23c31f1, 630fdca, …).
  • If a kernel upgrade is not feasible, disable or replace the rtl8723bs driver to prevent the vulnerable code from executing.
  • Monitor vendor and kernel releases for additional updates and verify that the patched driver performs proper bounds checks when parsing Wi‑Fi Information Elements.

Generated by OpenCVE AI on August 10, 2026 at 14:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 14:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-125

Mon, 10 Aug 2026 12: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_wps_ie() rtw_get_wps_ie() iterates over IE data from network frames without validating that the IE header and payload fit within the remaining buffer before reading them. Specifically: - in_ie[cnt + 1] is read without checking cnt + 1 < in_len - memcmp(&in_ie[cnt + 2], ...) accesses cnt + 2 without bounds check - in_ie[cnt + 1] is used as length without verifying payload fits Add bounds checks at the top of the loop body to break early if fewer than 2 bytes remain for the IE header, or if the declared payload extends past the end of the buffer. Also require at least 4 bytes of payload before comparing the WPS OUI.
Title staging: rtl8723bs: fix OOB reads in rtw_get_wps_ie()
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-10T12:00:07.764Z

Reserved: 2026-07-30T09:28:09.373Z

Link: CVE-2026-68190

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T18:45:16Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-125

    Out-of-bounds Read