CVE-2025-68254

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

State
Published
Severity
7.1 High
Published
Dec 16, 2025
Updated
Aug 5, 2026
Reserved
Dec 16, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b to before c03cb111628924827351e19baa5b073e9b0d723dAffected
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b to before bb5940193d813449540d8d3a82abc045be41f48aAffected
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b to before c173ce97d3f0f0c0fefa39139d6d04ba60b5db22Affected
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b to before d1ab7f9cee22e7b8a528da9ac953e4193b96cda5Affected
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b to before 38292407c2bb5b2b3131aaace4ecc7a829b40b76Affected
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b to before bf323db1d883c209880bd92f3b12503e3531c3fcAffected
  • 554c0a3abf216c991c5ebddcdb2c08689ecd290b to before 502ddcc405b69fa92e0add6c1714d654504f6fd7Affected
LinuxLinux
  • 4.12Affected
  • before 4.12Not affected
  • 5.15.198 through 5.15.*Not affected
  • 6.1.160 through 6.1.*Not affected
  • 6.6.120 through 6.6.*Not affected
  • 6.12.62 through 6.12.*Not affected
  • 6.17.12 through 6.17.*Not affected
  • 6.18.1 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.