Linux
staging: rtl8723bs: fix potential out-of-bounds read in rtw_restruct_wmm_ie
In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix potential out-of-bounds read in rtw_restruct_wmm_ie The current code checks 'i + 5 < in_len' at the end of the if statement. However, it accesses 'in_ie[i + 5]' before that check, which can lead to an out-of-bounds read. Move the length check to the beginning of the conditional to ensure the index is within bounds before accessing the array.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 6ff2243d5e05a5239e39d4ba61d96b0ea3bf7259
- >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 12cc6e8f8d4245b7b5a408c6fc8ab1d098d67020
- >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 209644e25757c499e1c1f08c071ea0386d4448b6
- >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 768f25613a9fe6766d15a4a72979657adfc1c6d8
- >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < e14a1148f02e8cf1ca380d57e4b95ca36c97f45d
- >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 4dd2d9cf563c54e09d5f7eacf95c5b8f538b513b
- >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < d97fc1b29513010b60fde874c7f0ba816744e18c
- >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < a75281626fc8fa6dc6c9cc314ee423e8bc45203b
Fixed in 6ff2243d5e05a5239e39d4ba61d96b0ea3bf7259, 12cc6e8f8d4245b7b5a408c6fc8ab1d098d67020, 209644e25757c499e1c1f08c071ea0386d4448b6, 768f25613a9fe6766d15a4a72979657adfc1c6d8, e14a1148f02e8cf1ca380d57e4b95ca36c97f45d, 4dd2d9cf563c54e09d5f7eacf95c5b8f538b513b, d97fc1b29513010b60fde874c7f0ba816744e18c, a75281626fc8fa6dc6c9cc314ee423e8bc45203b
- 4.12
Fixed in 0, 5.10.253, 5.15.203, 6.1.167, 6.6.130, 6.12.78, 6.18.19, 6.19.9, 7.0
Mitigation
Upgrade Linux to 6ff2243d5e05a5239e39d4ba61d96b0ea3bf7259 or 12cc6e8f8d4245b7b5a408c6fc8ab1d098d67020 or 209644e25757c499e1c1f08c071ea0386d4448b6 or 768f25613a9fe6766d15a4a72979657adfc1c6d8 or e14a1148f02e8cf1ca380d57e4b95ca36c97f45d or 4dd2d9cf563c54e09d5f7eacf95c5b8f538b513b or d97fc1b29513010b60fde874c7f0ba816744e18c or a75281626fc8fa6dc6c9cc314ee423e8bc45203b or later.
Upgrade Linux to 0 or 5.10.253 or 5.15.203 or 6.1.167 or 6.6.130 or 6.12.78 or 6.18.19 or 6.19.9 or 7.0 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.