CVE-2026-64536 PUBLISHED

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

Assigner: Linux
Reserved: 19.07.2026 Published: 27.07.2026 Updated: 27.07.2026

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().

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b to ea3809f7e20bdff282b8cc1e94937d5fb9fb32c7 (excl.)
  • affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b to d2055332297e24c63fffda943ef7a5eefc0a6019 (excl.)
  • affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b to 6f26cc55affd9d7f88ae2f5d12db4ecf9072c209 (excl.)
  • affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b to 204b22c8df115370037248859bf0fa62db73a396 (excl.)
  • affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b to a6105ea8ca6ebbc04beaf3bcbf7dbb5985f5d395 (excl.)
  • affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b to 4380b3860d887a13555ff024a58dfc05b490dfd6 (excl.)
  • affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b to 3bf39f711ff27c64be8680a8938bcc5001982e81 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.12 is affected
  • unaffected from 0 to 4.12 (excl.)
  • unaffected from 5.15.212 to 5.15.* (incl.)
  • unaffected from 6.1.178 to 6.1.* (incl.)
  • unaffected from 6.6.145 to 6.6.* (incl.)
  • unaffected from 6.12.96 to 6.12.* (incl.)
  • unaffected from 6.18.39 to 6.18.* (incl.)
  • unaffected from 7.1.4 to 7.1.* (incl.)
  • unaffected from 7.2-rc3 to * (incl.)

References