CVE-2025-68254: 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Linux kernel (staging: rtl8723bs)to a version that resolves this vulnerability.Patch staging: rtl8723bs: fix out-of-bounds read in OnBeacon ESR IE parsing
Event History
Frequently Asked Questions
What is the severity of CVE-2025-68254?
CVE-2025-68254 has a moderate severity due to its potential for out-of-bounds read vulnerabilities.
Who is affected by CVE-2025-68254?
CVE-2025-68254 affects users of the Linux kernel utilizing the rtl8723bs driver.
How do I fix CVE-2025-68254?
To fix CVE-2025-68254, update to the latest stable version of the Linux kernel that includes the patch.
What type of vulnerability is CVE-2025-68254?
CVE-2025-68254 is an out-of-bounds read vulnerability arising from improper handling of Extended Supported Rates.
Is CVE-2025-68254 being actively exploited?
As of now, there are no known active exploits related to CVE-2025-68254.