KernelScan.io

HIGH Introduced in 4.12

rtl8723bs WMMParam OOB

CVE-2026-74650

CVSS 7.8 / 10.0 KernelScan AI

CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

01

In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix OOB read in WMM_param_handler() WMM_param_handler() copies a fixed-size WMM parameter element out of a received information element without checking that the element is long enough, causing an out-of-bounds read for a short WMM IE. The handler reads sizeof(struct WMM_para_element) (18) bytes at pIE->data + 6, so it requires pIE->length to be at least 24 (WLAN_WMM_LEN), but it never validates the length. Two of its three callers reach it after matching only the WMM OUI: OnAssocRsp() in rtw_mlme_ext.c matches a 6-byte OUI, and join_cmd_hdl() matches a 4-byte OUI, before calling the handler. A vendor-specific IE carrying the WMM OUI but a length between 6 and 23, placed in an association response or in the IE blob handed to join_cmd_hdl(), passes the OUI check and then makes the memcmp() and memcpy() at pIE->data + 6 read past the end of the element. OnAssocRsp() parses a frame received from the AP, so this is reachable from a remote peer. The remaining caller in rtw_wlan_util.c already guards the handler with "pIE->length == WLAN_WMM_LEN". Move the equivalent check into the handler itself so every caller is covered; the sibling IE handlers in the same parsing loop (HT_caps_handler(), HT_info_handler(), ERP_IE_handler()) likewise bound their accesses by pIE->length.

02

Engine v0.6.0

Risk summary

A remote WiFi peer within radio range of a device using the rtl8723bs SDIO driver can send a crafted association response containing a truncated WMM information element, causing an out-of-bounds read in the kernel. This can crash the kernel or leak a small amount of adjacent memory. Any device with this WiFi chipset active is at risk; no authentication is required beyond the ability to send 802.11 frames.

Affecteddrivers/staging/rtl8723bs/core/rtw_wlan_util.c (rtl8723bs WiFi driver)

Vulnerability analysis

The rtl8723bs WiFi driver copies a fixed-size data block out of a received WiFi frame without first checking that the frame is large enough to contain it. A rogue access point can send an association response with a truncated parameter block that passes the initial type match but is too short for the later copy, causing the driver to read past the end of the buffer into adjacent kernel memory. The fix adds a length check at the start of the handler so every code path that processes this block validates the size first. Any WiFi peer within radio range of a device using this driver can trigger the bug; no authentication or privileges are required beyond being able to send WiFi frames to the victim.

03

BranchIntroducedFixed inPatch commit
5.104.125.10.2675df2fd06567d
5.154.125.15.2166cdca4c8b64c
6.14.126.1.1832bee6f7a0f01
6.124.126.12.104ce2399717de2
6.184.126.18.45e5b7610008f4
6.64.126.6.1521158b9931207
7.14.127.1.9e429c6dfd5d2
mainline4.127.2ae2140735015
cip/5.104.125.10.268-cip775df2fd06567d
cip/5.10-rt4.125.10.268-cip77-rt345df2fd06567d
cip/6.14.126.1.187-cip602bee6f7a0f01
cip/6.1-rt4.126.1.189-cip61-rt322bee6f7a0f01
cip/6.124.126.12.104-cip30ce2399717de2

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.104-cip30
cip/6.1Fixed in 6.1.187-cip60
cip/6.1-rtFixed in 6.1.189-cip61-rt32
cip/5.10Fixed in 5.10.268-cip77
cip/5.10-rtFixed in 5.10.268-cip77-rt34
cip/4.19Affected — no CIP fix yet (latest 4.19.325-cip136)
cip/4.19-rtAffected — no CIP fix yet (latest 4.19.325-cip136-rt50)