CVE-2026-43386 PUBLISHED

staging: rtl8723bs: fix potential out-of-bounds read in rtw_restruct_wmm_ie

Assigner: Linux
Reserved: 01.05.2026 Published: 08.05.2026 Updated: 08.05.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b to 6ff2243d5e05a5239e39d4ba61d96b0ea3bf7259 (excl.)
  • affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b to 12cc6e8f8d4245b7b5a408c6fc8ab1d098d67020 (excl.)
  • affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b to 209644e25757c499e1c1f08c071ea0386d4448b6 (excl.)
  • affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b to 768f25613a9fe6766d15a4a72979657adfc1c6d8 (excl.)
  • affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b to e14a1148f02e8cf1ca380d57e4b95ca36c97f45d (excl.)
  • affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b to 4dd2d9cf563c54e09d5f7eacf95c5b8f538b513b (excl.)
  • affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b to d97fc1b29513010b60fde874c7f0ba816744e18c (excl.)
  • affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b to a75281626fc8fa6dc6c9cc314ee423e8bc45203b (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.12 is affected
  • unaffected from 0 to 4.12 (excl.)
  • unaffected from 5.10.253 to 5.10.* (incl.)
  • unaffected from 5.15.203 to 5.15.* (incl.)
  • unaffected from 6.1.167 to 6.1.* (incl.)
  • unaffected from 6.6.130 to 6.6.* (incl.)
  • unaffected from 6.12.78 to 6.12.* (incl.)
  • unaffected from 6.18.19 to 6.18.* (incl.)
  • unaffected from 6.19.9 to 6.19.* (incl.)
  • unaffected from 7.0 to * (incl.)

References