CVE-2025-68254
JSON

7.1high

staging: rtl8723bs: fix out-of-bounds read in OnBeacon ESR IE parsing

Severity
7.1high CVSS:3.1 by Linux
Exploit likelihood
0.30% (higher than 23% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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

Product or packageVersionsReported by
Linux Linuxfrom 554c0a3abf216c991c5ebddcdb2c08689ecd290b before c03cb111628924827351e19baa5b073e9b0d723d, from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before bb5940193d813449540d8d3a82abc045be41f48a, from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before c173ce97d3f0f0c0fefa39139d6d04ba60b5db22, from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before d1ab7f9cee22e7b8a528da9ac953e4193b96cda5, from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 38292407c2bb5b2b3131aaace4ecc7a829b40b76, from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before bf323db1d883c209880bd92f3b12503e3531c3fc, from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 502ddcc405b69fa92e0add6c1714d654504f6fd7, 4.12
Not affected: before 4.12, from 5.15.198 up to 5.15.*, from 6.1.160 up to 6.1.*, from 6.6.120 up to 6.6.*, from 6.12.62 up to 6.12.*, from 6.17.12 up to 6.17.*
CVE List

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: staging: rtl8723bs: corrección de lectura fuera de límites en el análisis de IE ESR de OnBeacon El manejo del IE de Tasas Soportadas Extendidas (ESR) en OnBeacon accedía a *(p + 1 + ielen) y *(p + 2 + ielen) sin verificar que estos desplazamientos se encontraran dentro del búfer de trama recibido. Una baliza malformada con un IE ESR posicionado al final del búfer podría causar una lectura fuera de límites, lo que podría desencadenar un pánico del kernel. Se añade una comprobación de límites para asegurar que el cuerpo del IE ESR y los bytes subsiguientes estén dentro de los límites de la trama antes de intentar acceder a ellos. Esto previene lecturas fuera de límites causadas por tramas de baliza malformadas.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-68254 changed 2026-08-05CVE Terms of Use
NVDCVE-2025-68254 changed 2026-10-14Public domain