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

staging: rtl8723bs: fix missing shared-key auth challenge length check

The WEP shared-key authentication handler uses the challenge-text
element's attacker-controlled length without checking it against the
fixed 128-byte chg_txt buffer.

In OnAuthClient() the length from rtw_get_ie() - up to 255 - is used
to perform memcpy() into the 128-byte pmlmeinfo->chg_txt, so a
malicious AP sending a malformed WLAN_EID_CHALLENGE element can
overflow/underfill chg_txt by up to 127 bytes. It is reachable over the
air, before association, during shared-key authentication. In the case
of an overflow, the driver can write out of bounds. In the case of an
underfill, the driver can echo stale buffer memory.

The challenge text is defined to be exactly 128 octets, which is
already provided as the WLAN_AUTH_CHALLENGE_LEN define; require the
element to be exactly that length before use.
Published: 2026-08-22
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A buffer overflow occurs in the Linux kernel rtl8723bs driver when the WEP shared‑key authentication handler copies the challenge‑text element into a 128‑byte buffer without checking the attacker‑controlled length. The unchecked length allows an overlong or underlong challenge element to overwrite or underfill the buffer, leading to kernel memory corruption. Such corruption can be exploited to execute arbitrary code in kernel mode, effectively escalating privileges on the vulnerable host.

Affected Systems

The rtl8723bs wireless driver resides in the Linux kernel staging tree. Any Linux kernel installation that includes this driver—including those from common distributions—may be affected. The vulnerability is not tied to a specific kernel version, so users of any system with the vulnerable driver should consider mitigation.

Risk and Exploitability

No CVSS score or EPSS value is publicly available, and the issue is not listed in the CISA KEV catalog. Nevertheless, the flaw directly corrupts kernel memory and is reachable over the air from a malicious access point during the shared‑key authentication phase. Attackers would need a target device with the vulnerable driver and the ability to initiate a rogue authentication challenge. While exploitation likelihood is unquantified, the potential impact is severe, making the risk effectively high.

Generated by OpenCVE AI on August 22, 2026 at 17:49 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel update that includes the patch adding a length check before memcpy in the rtl8723bs driver, as documented in the referenced commit trace.
  • Disable WEP shared‑key authentication or WEP entirely on the device to eliminate the vulnerable authentication path.
  • If a kernel update is not feasible, consider disabling or uninstalling the rtl8723bs driver and using a supported wireless driver or hardware that does not rely on the staging driver.
  • Regularly monitor vendor advisories and apply future kernel updates as they become available.

Generated by OpenCVE AI on August 22, 2026 at 17:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 18:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Sat, 22 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix missing shared-key auth challenge length check The WEP shared-key authentication handler uses the challenge-text element's attacker-controlled length without checking it against the fixed 128-byte chg_txt buffer. In OnAuthClient() the length from rtw_get_ie() - up to 255 - is used to perform memcpy() into the 128-byte pmlmeinfo->chg_txt, so a malicious AP sending a malformed WLAN_EID_CHALLENGE element can overflow/underfill chg_txt by up to 127 bytes. It is reachable over the air, before association, during shared-key authentication. In the case of an overflow, the driver can write out of bounds. In the case of an underfill, the driver can echo stale buffer memory. The challenge text is defined to be exactly 128 octets, which is already provided as the WLAN_AUTH_CHALLENGE_LEN define; require the element to be exactly that length before use.
Title staging: rtl8723bs: fix missing shared-key auth challenge length check
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-22T15:32:25.601Z

Reserved: 2026-08-15T05:44:03.923Z

Link: CVE-2026-74649

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-22T16:16:38.290

Modified: 2026-08-22T16:16:38.290

Link: CVE-2026-74649

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T19:15:03Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer