# CVE-2026-64441: staging: rtl8723bs: fix OOB reads in rtw_get_sec_ie(), rtw_get_wapi_ie(), and rtw_get_wps_attr()

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-07-25T08:51:13.834Z
- Modified: 2026-10-19T21:17:38.580Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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

staging: rtl8723bs: fix OOB reads in rtw_get_sec_ie(), rtw_get_wapi_ie(), and rtw_get_wps_attr()

Three IE/attribute parsing functions have missing bounds checks.

rtw_get_sec_ie() and rtw_get_wapi_ie() iterate over a raw IE buffer
without verifying that the header bytes (tag + length) are within the
remaining buffer before reading them.  Additionally, rtw_get_sec_ie()
compares the 4-byte WPA OUI at cnt+2 without checking that at least
6 bytes remain, and rtw_get_wapi_ie() compares a 4-byte WAPI OUI at
cnt+6 without checking that at least 10 bytes remain.

rtw_get_wps_attr() reads wps_ie[0] and wps_ie+2 unconditionally at
entry, before verifying that wps_ielen is large enough to contain
the 6-byte WPS IE header (element_id + length + 4-byte OUI).  Inside
the attribute loop, get_unaligned_be16() is called on attr_ptr and
attr_ptr+2 without checking that 4 bytes remain in the buffer.

Add a cnt+2 bounds check before each loop body in rtw_get_sec_ie()
and rtw_get_wapi_ie(), guard each multi-byte comparison with a minimum
IE length requirement, add a wps_ielen < 6 early return in
rtw_get_wps_attr(), and add a 4-byte bounds check in its inner loop.

(As written by CVE List.)

## Affected

- Linux Linux: from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before efa27d487abcdec79669a60a6d94d5d6eceb7c1d; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 2ea1ce30ead61589214240e8d33d96310fd613e5; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before b27ecba3196f6c14e3809595ebd69c0c2392512a; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 6ab1161e539fb7a1c8b35ff5a6ced4702e855b9c; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 4b51ee8a40fe47864197d73cc02b191de7a6b072; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 729c4e72563bda0f1725db1db9ea08df06f41d9b; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 1463ca3ec6601cbb097d8d87dbf5dcf1cb86a344; 4.12 (not affected: before 4.12; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.97 up to 6.12.*; from 6.18.40 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 4.12 before 5.15.212; from 5.16 before 6.1.178; from 6.2 before 6.6.145; from 6.7 before 6.12.97; from 6.13 before 6.18.40; from 6.19 before 7.1.4; 7.2

## References

- <https://git.kernel.org/stable/c/efa27d487abcdec79669a60a6d94d5d6eceb7c1d> (patch)
- <https://git.kernel.org/stable/c/2ea1ce30ead61589214240e8d33d96310fd613e5> (patch)
- <https://git.kernel.org/stable/c/b27ecba3196f6c14e3809595ebd69c0c2392512a> (patch)
- <https://git.kernel.org/stable/c/6ab1161e539fb7a1c8b35ff5a6ced4702e855b9c> (patch)
- <https://git.kernel.org/stable/c/4b51ee8a40fe47864197d73cc02b191de7a6b072> (patch)
- <https://git.kernel.org/stable/c/729c4e72563bda0f1725db1db9ea08df06f41d9b> (patch)
- <https://git.kernel.org/stable/c/1463ca3ec6601cbb097d8d87dbf5dcf1cb86a344> (patch)

## Sources

- CVE List: [CVE-2026-64441](https://www.cve.org/CVERecord?id=CVE-2026-64441), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-64441](https://nvd.nist.gov/vuln/detail/CVE-2026-64441), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-64441 · Whole record: https://cve.day/CVE-2026-64441.json · Rebuilt by cve.day 2026-11-25T22:59:30.121Z
