CVE-2025-68255 staging: rtl8723bs: fix stack buffer overflow in OnAssocReq IE parsing

High 8.8 Published Updated

A stack buffer overflow in the rtl8723bs Wi-Fi driver allows remote attackers to cause kernel corruption or execute code via malformed association requests.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-68255?

CVE-2025-68255 is a high-severity memory corruption vulnerability in Linux, published on 16 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

staging: rtl8723bs: fix stack buffer overflow in OnAssocReq IE parsing

The Supported Rates IE length from an incoming Association Request frame was used directly as the memcpy() length when copying into a fixed-size 16-byte stack buffer (supportRate). A malicious station can advertise an IE length larger than 16 bytes, causing a stack buffer overflow.

Clamp ie_len to the buffer size before copying the Supported Rates IE, and correct the bounds check when merging Extended Supported Rates to prevent a second potential overflow.

This prevents kernel stack corruption triggered by malformed association requests.

Which versions are affected by CVE-2025-68255?

How do I fix CVE-2025-68255?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-68255 being exploited?

There is no known exploitation of CVE-2025-68255 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2025-68255, DEBIAN-CVE-2025-68255, GHSA-prq3-3cx6-vrj4, ROOT-OS-DEBIAN-11-CVE-2025-68255, ROOT-OS-DEBIAN-12-CVE-2025-68255, ROOT-OS-DEBIAN-13-CVE-2025-68255 and 3 more.

Is CVE-2025-68255 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free