staging: rtl8723bs: fix out-of-bounds read in OnBeacon ESR IE parsing
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 554c0a3abf216c991c5ebddcdb2c08689ecd290b · < bf323db1d883c209880bd92f3b12503e3531c3fc| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s rtl8723bs driver reads beyond the received frame buffer when parsing an Extended Supported Rates element near the end of a beacon. A malformed beacon could trigger a kernel panic. The input does not specify authentication requirements or user interaction.
Engineers running Linux kernels with the rtl8723bs driver should check their deployments; affected versions are not specified.