Linux
staging: rtl8723bs: fix OOB reads in is_ap_in_tkip() IE loop
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().
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < ea3809f7e20bdff282b8cc1e94937d5fb9fb32c7
- >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < d2055332297e24c63fffda943ef7a5eefc0a6019
- >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 6f26cc55affd9d7f88ae2f5d12db4ecf9072c209
- >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 204b22c8df115370037248859bf0fa62db73a396
- >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < a6105ea8ca6ebbc04beaf3bcbf7dbb5985f5d395
- >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 4380b3860d887a13555ff024a58dfc05b490dfd6
- >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 3bf39f711ff27c64be8680a8938bcc5001982e81
Fixed in ea3809f7e20bdff282b8cc1e94937d5fb9fb32c7, d2055332297e24c63fffda943ef7a5eefc0a6019, 6f26cc55affd9d7f88ae2f5d12db4ecf9072c209, 204b22c8df115370037248859bf0fa62db73a396, a6105ea8ca6ebbc04beaf3bcbf7dbb5985f5d395, 4380b3860d887a13555ff024a58dfc05b490dfd6, 3bf39f711ff27c64be8680a8938bcc5001982e81
- 4.12
Fixed in 0, 5.15.212, 6.1.178, 6.6.145, 6.12.96, 6.18.39, 7.1.4, 7.2
Mitigation
Upgrade Linux to ea3809f7e20bdff282b8cc1e94937d5fb9fb32c7 or d2055332297e24c63fffda943ef7a5eefc0a6019 or 6f26cc55affd9d7f88ae2f5d12db4ecf9072c209 or 204b22c8df115370037248859bf0fa62db73a396 or a6105ea8ca6ebbc04beaf3bcbf7dbb5985f5d395 or 4380b3860d887a13555ff024a58dfc05b490dfd6 or 3bf39f711ff27c64be8680a8938bcc5001982e81 or later.
Upgrade Linux to 0 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.96 or 6.18.39 or 7.1.4 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.