CVE-2025-68254

Source
https://cve.org/CVERecord?id=CVE-2025-68254
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68254.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-68254
Downstream
Related
Published
2025-12-16T14:44:57.204Z
Modified
2026-03-20T12:46:19.889932Z
Summary
staging: rtl8723bs: fix out-of-bounds read in OnBeacon ESR IE parsing
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68254.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
554c0a3abf216c991c5ebddcdb2c08689ecd290b
Fixed
c03cb111628924827351e19baa5b073e9b0d723d
Fixed
bb5940193d813449540d8d3a82abc045be41f48a
Fixed
c173ce97d3f0f0c0fefa39139d6d04ba60b5db22
Fixed
d1ab7f9cee22e7b8a528da9ac953e4193b96cda5
Fixed
38292407c2bb5b2b3131aaace4ecc7a829b40b76
Fixed
bf323db1d883c209880bd92f3b12503e3531c3fc
Fixed
502ddcc405b69fa92e0add6c1714d654504f6fd7

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68254.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.12.0
Fixed
5.15.198
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.160
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.120
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.62
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.17.12
Type
ECOSYSTEM
Events
Introduced
6.18.0
Fixed
6.18.1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68254.json"