CVE-2025-68254

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

7.1 high EPSS 0.30%

Published 16 Dec 2025 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2025-68254

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-68254 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.1 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Attack vector
adjacent: the attacker has to be on the same local network or link
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality low, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.30%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.9% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b, before c03cb111628924827351e19baa5b073e9b0d723d
affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b, before bb5940193d813449540d8d3a82abc045be41f48a
affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b, before c173ce97d3f0f0c0fefa39139d6d04ba60b5db22
affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b, before d1ab7f9cee22e7b8a528da9ac953e4193b96cda5
affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b, before 38292407c2bb5b2b3131aaace4ecc7a829b40b76
affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b, before bf323db1d883c209880bd92f3b12503e3531c3fc
affected from 554c0a3abf216c991c5ebddcdb2c08689ecd290b, before 502ddcc405b69fa92e0add6c1714d654504f6fd7
Other versions: unaffected
Linux
affected 4.12
unaffected before 4.12
unaffected from 5.15.198 up to and including 5.15.*
unaffected from 6.1.160 up to and including 6.1.*
unaffected from 6.6.120 up to and including 6.6.*
unaffected from 6.12.62 up to and including 6.12.*
unaffected from 6.17.12 up to and including 6.17.*
unaffected from 6.18.1 up to and including 6.18.*
unaffected 6.19 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-68254 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-68254

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-68254
trivy image --scanners vuln IMAGE | grep CVE-2025-68254

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-68254 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.