Skip to main content

Linux rtl8723bs CVE-2026-90018

| EUVDEUVD-2026-80626 HIGH
2026-09-16 Linux GHSA-jrhx-3qq6-x5q2
8.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker within WiFi range
  2. Delivery
    Broadcast beacon/probe-resp with malicious WPS IE
  3. Exploit
    Victim scans and parses WPS attributes
  4. Execution
    Oversized attr_len drives unchecked memcpy
  5. Persist
    Kernel stack overflow smashes parsing thread
  6. Impact
    Crash or code execution in kernel context

Vulnerability Assessment

Exploitation Conditions

The target must have the Linux staging rtl8723bs driver loaded (Realtek RTL8723BS SDIO WiFi chip, common on cheap tablets, single-board computers, and IoT devices) and be actively scanning so that beacon/probe-response management frames are processed. The attacker must be within wireless radio range to transmit a crafted WPS information element whose 2-byte attribute-length field exceeds the remaining IE bytes; no authentication, association, or user interaction is required because parsing occurs during pre-association scanning. Limiting factors: exploitation only affects hosts with this specific niche driver active, requires physical wireless proximity (AV:A, not internet-routable), and stack-protector/KASLR mitigations may reduce reliable code execution to a denial-of-service crash in many builds.

Impact

This is one of the more serious flaws in the recent rtl8723bs cluster because the attack surface is genuinely over-the-air and pre-association. The vendor CVSS 3.1 vector CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (base 8.8) is largely defensible on the exposure metrics: AV:A (adjacent/wireless radio range) is correct because the malicious WPS IE arrives in a beacon or probe response, AC:L is reasonable (crafting an oversized WPS attribute is trivial), PR:N is correct (no authentication or association is required - the frame is parsed during ordinary scanning), and UI:N is defensible since background scans are automatic. The impact metrics are slightly overstated: this is an attacker-controlled-length AND attacker-controlled-content memcpy into a single-byte kernel stack variable, which is a strong memory-corruption primitive (justifying I:H and A:H via crash/potential code execution), but C:H is questionable - the heap OOB read of wps_ie is not returned to the attacker, so no confidentiality leak actually reaches them (C:N is more accurate). My independent assessment lands around 8.0-8.2. No EPSS, KEV, or public POC signal is present in the input, so exploitation is not confirmed in the wild; however, unlike the local root-gated race/UAF CVEs in this batch, the low prerequisites here make it a genuinely higher priority for systems that actually load this driver.

Exploit ScenarioDerived

An attacker within WiFi radio range of a target device that uses the rtl8723bs driver broadcasts a beacon or probe-response frame containing a crafted WPS information element whose attribute-length field is set far larger than the actual IE. When the target's kernel scans and parses the frame, rtw_get_wps_attr() memcpy's the attacker-controlled length into a single-byte stack buffer, smashing the parsing thread's kernel stack and enabling denial of service or potential remote code execution. No public exploit is identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 16, 2026

A stack buffer overflow in the Linux kernel's staging rtl8723bs Wi-Fi driver allows an unauthenticated attacker within radio range to corrupt kernel memory by sending a crafted WPS information element in a beacon or probe-response frame that the target parses while scanning. Because the driver trusts an attacker-controlled 2-byte WPS attribute length as a memcpy() size without comparing it against the remaining bytes of the IE, the copy overruns single-byte stack variables such as the selected-registrar flag at call sites in ioctl_cfg80211.c and rtw_mlme_ext.c, yielding a kernel crash and, depending on build hardening, possible code execution; the independent assessment rates this AV:A/AC:L/PR:N/UI:N with high integrity and availability impact (confidentiality rated none). No public exploit code or confirmed active exploitation has been identified at time of analysis, and exposure is confined to systems with this niche driver loaded and an adversary physically close enough to inject 802.11 management frames.

RemediationAI

Vendor-released patch: upgrade to Linux 5.15.221, 6.1.188, 6.6.157, 6.12.110, 6.18.51 or 7.2.5 (or 7.3-rc2), or cherry-pick the corresponding stable fix from git.kernel.org - 931640dfcb8cfa08f6cfb46229716d8072356420, 3a6457ebf39080b87c712657fdb38f34a24fc3ff, fd5e24ea8373347d0352f153a66e8647337d1b10, a53d1ac9ce63db07943b2b2248111003851fb00f, ff61aa3289355dafa811550a1764691cd1f5d33b, 34f51d196c43a42046d229de5e79025d5ca553ca, 99aa998dec83ba180822f70e6d48a514fc81c20d - with details via the NVD advisory at https://nvd.nist.gov/vuln/detail/CVE-2026-90018. Where immediate kernel upgrades are impractical, the single most effective compensating control is to stop loading the vulnerable parser: blacklist or unload the module (modprobe.blacklist=rtl8723bs on the kernel command line, or rmmod rtl8723bs), which eliminates the attack surface at the cost of losing that SDIO Wi-Fi interface entirely; if the radio must stay in use, restrict the device to wired networking for sensitive roles and rely on kernel stack-protector and KASLR to reduce the chance that the stack overwrite converts into reliable code execution rather than a crash (a probabilistic mitigation, not a fix). Note that because parsing happens pre-association during scanning, disabling WPS on the AP, filtering BSSIDs, or turning off WPS enrollment does not help - the malicious WPS IE only has to be transmitted within radio range, so physical/radio-frequency separation (AV:A) remains the only environmental control.

Affected VersionsENISA

Linux patch: 6.1.188
Linux patch: 7.2.5
Linux 554c0a3abf216c991c5ebddcdb2c08689ecd290b <fd5e24ea8373347d0352f153a66e8647337d1b10
Linux patch: 6.18.51
Linux patch: 0
Linux 554c0a3abf216c991c5ebddcdb2c08689ecd290b <ff61aa3289355dafa811550a1764691cd1f5d33b
Linux 554c0a3abf216c991c5ebddcdb2c08689ecd290b <99aa998dec83ba180822f70e6d48a514fc81c20d
Linux patch: 5.15.221
Linux 554c0a3abf216c991c5ebddcdb2c08689ecd290b <a53d1ac9ce63db07943b2b2248111003851fb00f
Linux patch: 7.3-rc2
Linux 554c0a3abf216c991c5ebddcdb2c08689ecd290b <3a6457ebf39080b87c712657fdb38f34a24fc3ff
Linux patch: 6.12.110
Linux 554c0a3abf216c991c5ebddcdb2c08689ecd290b <34f51d196c43a42046d229de5e79025d5ca553ca
Linux 4.12
Linux 554c0a3abf216c991c5ebddcdb2c08689ecd290b <931640dfcb8cfa08f6cfb46229716d8072356420
Linux patch: 6.6.157

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The rtl8723bs driver (drivers/staging/rtl8723bs) supports the Realtek RTL8723BS SDIO Wi-Fi chip found on low-cost tablets, single-board computers and IoT hardware. During pre-association scanning the driver parses WPS information elements lifted from untrusted beacon and probe-response frames using rtw_get_wps_attr(), which iterates the attribute list by reading a 2-byte attribute ID and a 2-byte attribute length directly from the wire and computing attr_len = attr_data_len + 4 before calling memcpy(buf_attr, attr_ptr, attr_len). A prior fix (commit 1463ca3ec6601) validated only the fixed 4-byte attribute header against the IE boundary and never extended that check to the variable-length attribute body, so attr_data_len and thus attr_len remain unbounded (up to 65539 bytes) relative to the bytes actually present. The result is a heap out-of-bounds read of the wps_ie buffer and, more severely, an out-of-bounds write wherever the destination buffer is a single-byte stack object - rtw_get_wps_attr_content() performs no independent length validation and simply passes the corrupted length through, so the WPS_ATTR_SELECTED_REGISTRAR lookups that populate the stack 'u8 sr' / 'u8 selected_registrar' variables are overwritten. The flaw is an out-of-bounds write/missing length validation class issue (CWE not assigned in the source data; behaviorally CWE-787 with an accompanying CWE-125 read), and exploitation requires only that the driver be loaded and scanning, since no authentication or association is needed to have management frames parsed.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Linux) PRIMARY 8.8 HIGH
AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.1 HIGH

Wireless-range pre-association frame parsing gives AV:A/AC:L/PR:N/UI:N; attacker-controlled stack write yields I:H/A:H, but the OOB read is not returned to the attacker so C:N.

3.1 AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
4.0 AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat 5.5 MEDIUM

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Sep 16, 2026 - 15:22 NVD
8.8 (HIGH)
Patch available
Sep 16, 2026 - 11:03 EUVD
CVE Published
Sep 16, 2026 - 10:33 cve.org
UNKNOWN (no severity yet)
CVE Published
Sep 16, 2026 - 10:33 cve.org
HIGH 8.8

DescriptionCVE.org

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

staging: rtl8723bs: fix OOB read / stack overflow in rtw_get_wps_attr()

rtw_get_wps_attr() walks WPS attributes inside a WPS IE taken from a wireless management frame. For each candidate attribute it only checks that the fixed 4-byte attribute header (2-byte ID + 2-byte length) fits inside the IE:

if (attr_ptr + 4 > wps_ie + wps_ielen) break; u16 attr_id = get_unaligned_be16(attr_ptr); u16 attr_data_len = get_unaligned_be16(attr_ptr + 2); u16 attr_len = attr_data_len + 4;

attr_data_len (and therefore attr_len) is read directly from the wire and is never checked against the remaining bytes in the IE before being used as the size of:

memcpy(buf_attr, attr_ptr, attr_len);

Since attr_len is fully attacker controlled (0 to 65535+4), this is both a heap OOB read of wps_ie, and, more seriously, a stack buffer overflow at several call sites where buf_attr is a single-byte stack variable, e.g. rtw_get_wps_attr_content()'s callers passing WPS_ATTR_SELECTED_REGISTRAR into a stack "u8 sr"/"u8 selected_registrar" (drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c, drivers/staging/rtl8723bs/core/rtw_mlme_ext.c). A crafted WPS IE in a beacon or probe response processed during scanning can therefore smash the stack of the parsing thread.

rtw_get_wps_attr_content() itself has no independent length check and simply trusts the attr_len it gets back from rtw_get_wps_attr(), so fixing the bound here also fixes that caller.

The "attr_ptr + 4 > wps_ie + wps_ielen" header check above was added by commit 1463ca3ec6601 ("staging: rtl8723bs: fix OOB reads in rtw_get_sec_ie(), rtw_get_wapi_ie(), and rtw_get_wps_attr()"), which bounded the fixed header but never extended the check to cover the variable-length attribute data that follows it. Add that missing check before attr_len is used as a memcpy() length or accepted as a match.

Executive ViewAI

Why It Matters

The Linux kernel's rtl8723bs Wi-Fi driver is affected by a high-severity stack buffer overflow that allows an unauthenticated attacker within radio range to corrupt kernel memory, causing crashes and potentially enabling code execution on devices with this driver loaded. Organizations that deploy hardware using the RTL8723BS chipset-common in certain embedded systems, tablets, and IoT devices-face operational disruption and possible compromise, though exploitation requires an adversary physically nearby. Leadership should prioritize remediation because a successful attack can lead to system instability or full device takeover, undermining availability and integrity.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 62% exploitable
Prevalence
Low
niche Realtek RTL8723BS SDIO WiFi staging driver on cheap tablets/SBCs/IoT
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 16.0 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy