What’s Vulnerable › Vulnerabilities

CVE-2026-64444: staging: rtl8723bs: fix OOB read in OnAssocRsp() IE loop

Description

In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix OOB read in OnAssocRsp() IE loop The IE parsing loop in OnAssocRsp() advances by (pIE->length + 2) each iteration but only guards on i < pkt_len. When a malicious AP sends an AssocResponse whose last IE has only one byte remaining in the frame (the element_id byte lands at pkt_len-1), the loop reads pIE->length from pframe[pkt_len], which is one byte past the allocated receive buffer. Additionally, even when the header bytes are in bounds, pIE->length itself can extend the data window beyond pkt_len, silently passing a truncated IE to the handler functions. Add two guards at the top of the loop body: 1. Break if fewer than sizeof(*pIE) bytes remain (can't read header). 2. Break if the IE's declared data extends past pkt_len.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.212, 6.1.178, 6.6.145, 6.12.96; Linux 7.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-64444 or the next vulnerability affects your stack