# CVE-2026-64536: staging: rtl8723bs: fix OOB reads in is_ap_in_tkip() IE loop

- Severity: High 8.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/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-27T06:36:04.736Z
- Modified: 2026-11-16T14:56:55.103Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

staging: rtl8723bs: fix OOB reads in is_ap_in_tkip() IE loop

The loop in is_ap_in_tkip() iterates over IEs without verifying that
enough bytes remain before dereferencing the IE header or its payload:

- pIE->element_id and pIE->length are read without checking that
  i + sizeof(*pIE) <= ie_length, so a truncated IE at the end of the
  buffer causes an OOB read.

- For WLAN_EID_VENDOR_SPECIFIC the code compares pIE->data + 12,
  which requires pIE->length >= 16.  For WLAN_EID_RSN it compares
  pIE->data + 8, requiring pIE->length >= 12.  Neither requirement
  is checked.

Add the missing IE header and payload bounds checks and guard each
data access with an explicit pIE->length minimum, matching the
pattern established in update_beacon_info().

(As written by CVE List.)

## Affected

- Linux Linux: from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before ea3809f7e20bdff282b8cc1e94937d5fb9fb32c7; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before d2055332297e24c63fffda943ef7a5eefc0a6019; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 6f26cc55affd9d7f88ae2f5d12db4ecf9072c209; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 204b22c8df115370037248859bf0fa62db73a396; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before a6105ea8ca6ebbc04beaf3bcbf7dbb5985f5d395; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 4380b3860d887a13555ff024a58dfc05b490dfd6; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 3bf39f711ff27c64be8680a8938bcc5001982e81; 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.96 up to 6.12.*; from 6.18.39 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.96; from 6.13 before 6.18.39; from 6.19 before 7.1.4; 7.2

## References

- <https://git.kernel.org/stable/c/ea3809f7e20bdff282b8cc1e94937d5fb9fb32c7> (patch)
- <https://git.kernel.org/stable/c/d2055332297e24c63fffda943ef7a5eefc0a6019> (patch)
- <https://git.kernel.org/stable/c/6f26cc55affd9d7f88ae2f5d12db4ecf9072c209> (patch)
- <https://git.kernel.org/stable/c/204b22c8df115370037248859bf0fa62db73a396> (patch)
- <https://git.kernel.org/stable/c/a6105ea8ca6ebbc04beaf3bcbf7dbb5985f5d395> (patch)
- <https://git.kernel.org/stable/c/4380b3860d887a13555ff024a58dfc05b490dfd6> (patch)
- <https://git.kernel.org/stable/c/3bf39f711ff27c64be8680a8938bcc5001982e81> (patch)

## Sources

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

---

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