Linux
staging: rtl8723bs: fix out-of-bounds read in OnBeacon ESR IE parsing
In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix out-of-bounds read in OnBeacon ESR IE parsing The Extended Supported Rates (ESR) IE handling in OnBeacon accessed *(p + 1 + ielen) and *(p + 2 + ielen) without verifying that these offsets lie within the received frame buffer. A malformed beacon with an ESR IE positioned at the end of the buffer could cause an out-of-bounds read, potentially triggering a kernel panic. Add a boundary check to ensure that the ESR IE body and the subsequent bytes are within the limits of the frame before attempting to access them. This prevents OOB reads caused by malformed beacon frames.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < c03cb111628924827351e19baa5b073e9b0d723d
- >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < bb5940193d813449540d8d3a82abc045be41f48a
- >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < c173ce97d3f0f0c0fefa39139d6d04ba60b5db22
- >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < d1ab7f9cee22e7b8a528da9ac953e4193b96cda5
- >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 38292407c2bb5b2b3131aaace4ecc7a829b40b76
- >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < bf323db1d883c209880bd92f3b12503e3531c3fc
- >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 502ddcc405b69fa92e0add6c1714d654504f6fd7
Fixed in c03cb111628924827351e19baa5b073e9b0d723d, bb5940193d813449540d8d3a82abc045be41f48a, c173ce97d3f0f0c0fefa39139d6d04ba60b5db22, d1ab7f9cee22e7b8a528da9ac953e4193b96cda5, 38292407c2bb5b2b3131aaace4ecc7a829b40b76, bf323db1d883c209880bd92f3b12503e3531c3fc, 502ddcc405b69fa92e0add6c1714d654504f6fd7
- 4.12
Fixed in 0, 5.15.198, 6.1.160, 6.6.120, 6.12.62, 6.17.12, 6.18.1, 6.19
Mitigation
Upgrade Linux to c03cb111628924827351e19baa5b073e9b0d723d or bb5940193d813449540d8d3a82abc045be41f48a or c173ce97d3f0f0c0fefa39139d6d04ba60b5db22 or d1ab7f9cee22e7b8a528da9ac953e4193b96cda5 or 38292407c2bb5b2b3131aaace4ecc7a829b40b76 or bf323db1d883c209880bd92f3b12503e3531c3fc or 502ddcc405b69fa92e0add6c1714d654504f6fd7 or later.
Upgrade Linux to 0 or 5.15.198 or 6.1.160 or 6.6.120 or 6.12.62 or 6.17.12 or 6.18.1 or 6.19 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.