# CVE-2025-68254: staging: rtl8723bs: fix out-of-bounds read in OnBeacon ESR IE parsing

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.46% (percentile 32, 2026-11-26)
- **Published:** 2025-12-16T14:44:57.204Z
- **Modified:** 2026-10-14T13:10:00.187Z

## Who should check

- Anyone running Linux \>= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \< c03cb111628924827351e19baa5b073e9b0d723d; \>= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \< bb5940193d813449540d8d3a82abc045be41f48a; \>= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \< c173ce97d3f0f0c0fefa39139d6d04ba60b5db22; \>= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \< d1ab7f9cee22e7b8a528da9ac953e4193b96cda5; \>= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \< 38292407c2bb5b2b3131aaace4ecc7a829b40b76; \>= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \< bf323db1d883c209880bd92f3b12503e3531c3fc; \>= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \< 502ddcc405b69fa92e0add6c1714d654504f6fd7
- Anyone running Linux 4.12

## 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 and fixed versions

- Linux: \>= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \< c03cb111628924827351e19baa5b073e9b0d723d; \>= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \< bb5940193d813449540d8d3a82abc045be41f48a; \>= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \< c173ce97d3f0f0c0fefa39139d6d04ba60b5db22; \>= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \< d1ab7f9cee22e7b8a528da9ac953e4193b96cda5; \>= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \< 38292407c2bb5b2b3131aaace4ecc7a829b40b76; \>= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \< bf323db1d883c209880bd92f3b12503e3531c3fc; \>= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \< 502ddcc405b69fa92e0add6c1714d654504f6fd7 (cvelist)
- Linux: 4.12 (cvelist)

## Mitigation

- Upgrade Linux to 502ddcc405b69fa92e0add6c1714d654504f6fd7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68254. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68254.md
Affected: Linux >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < c03cb111628924827351e19baa5b073e9b0d723d; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < bb5940193d813449540d8d3a82abc045be41f48a; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < c173ce97d3f0f0c0fefa39139d6d04ba60b5db22; >= 554c0a3abf216c991c5ebdd…
Fixed in: Linux 38292407c2bb5b2b3131aaace4ecc7a829b40b76, Linux 502ddcc405b69fa92e0add6c1714d654504f6fd7

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68254 being exploited?

There is no confirmed exploitation: CVE-2025-68254 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.46% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-68254?

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-68254?

Linux \>= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \< c03cb111628924827351e19baa5b073e9b0d723d; \>= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \< bb5940193d813449540d8d3a82abc045be41f48a; \>= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \< c173ce97d3f0f0c0fefa39139d6d04ba60b5db22; \>= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \< d1ab7f9cee22e7b8a528da9ac953e4193b96cda5; \>= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \< 38292407c2bb5b2b3131aaace4ecc7a829b40b76; \>= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \< bf323db1d883c209880bd92f3b12503e3531c3fc; \>= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \< 502ddcc405b69fa92e0add6c1714d654504f6fd7; Linux 4.12.

### Is there a fix for CVE-2025-68254?

Yes. Fixed in Linux 38292407c2bb5b2b3131aaace4ecc7a829b40b76, Linux 502ddcc405b69fa92e0add6c1714d654504f6fd7. Upgrade Linux to 502ddcc405b69fa92e0add6c1714d654504f6fd7 or later.

### How do I check if I'm affected by CVE-2025-68254?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/c03cb111628924827351e19baa5b073e9b0d723d>
- other: <https://git.kernel.org/stable/c/bb5940193d813449540d8d3a82abc045be41f48a>
- other: <https://git.kernel.org/stable/c/c173ce97d3f0f0c0fefa39139d6d04ba60b5db22>
- other: <https://git.kernel.org/stable/c/d1ab7f9cee22e7b8a528da9ac953e4193b96cda5>
- other: <https://git.kernel.org/stable/c/38292407c2bb5b2b3131aaace4ecc7a829b40b76>
- other: <https://git.kernel.org/stable/c/bf323db1d883c209880bd92f3b12503e3531c3fc>
- other: <https://git.kernel.org/stable/c/502ddcc405b69fa92e0add6c1714d654504f6fd7>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68254>

HTML: <https://flawdb.com/CVE-2025-68254> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68254>
