CVE-2025-68255
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-68255 is a stack buffer overflow vulnerability in the Linux kernel's staging/rtl8723bs Wi-Fi driver, specifically in the OnAssocReq Information Element (IE) parsing logic. The flaw was disclosed on December 16, 2025, and affects Linux kernel versions from the initial commit (1da177e4c3f4) up to the fixes applied in stable branches. Patched versions include Linux 6.12.62, 6.17.12, 6.18.1, and 6.19-rc1. No official CVSS score has been assigned by NVD at this time; Feedly estimates the severity as HIGH, and the EPSS score is approximately 0.02% (Feedly, CVE Record).

Technical details

The root cause is a classic stack-based buffer overflow (CWE-121) in the OnAssocReq function of the rtl8723bs staging driver. When processing an incoming 802.11 Association Request frame, the driver copies the Supported Rates Information Element (IE) into a fixed-size 16-byte stack buffer (supportRate) using memcpy(), with the length taken directly from the attacker-controlled IE length field — without any bounds check. A malicious Wi-Fi station within radio range can craft an Association Request advertising a Supported Rates IE length greater than 16 bytes, triggering a kernel stack corruption. A secondary overflow was also possible when merging Extended Supported Rates due to an incorrect bounds check. The fix clamps ie_len to the buffer size before the copy and corrects the Extended Supported Rates merge bounds check (CVE Record, kernel.org patch).

Impact

Successful exploitation allows a physically proximate attacker (within Wi-Fi range) to corrupt the kernel stack on a system running the rtl8723bs driver, potentially leading to kernel panic (denial of service), privilege escalation, or arbitrary code execution in kernel context. Because the overflow occurs in kernel space, a successful exploit could grant an attacker full control of the affected system, bypassing all user-space security boundaries. The impact is limited to systems using the Realtek RTL8723BS SDIO Wi-Fi chipset with the staging driver loaded (Feedly, CVE Record).

Exploitation steps

  1. Reconnaissance: Identify target systems using the Realtek RTL8723BS SDIO Wi-Fi chipset with the rtl8723bs staging driver loaded (common on embedded Linux devices, single-board computers, and some laptops). Use passive Wi-Fi scanning tools (e.g., airodump-ng) to detect access points or stations using this chipset.
  2. Position within radio range: Move within Wi-Fi radio range of the target device. The attack is proximity-based and does not require network authentication.
  3. Craft malicious Association Request: Using a software-defined radio or a modified Wi-Fi stack (e.g., custom hostapd or raw frame injection with scapy), craft an 802.11 Association Request frame containing a Supported Rates IE with a length field set to a value greater than 16 bytes (e.g., 255), with the payload filled with attacker-controlled data.
  4. Transmit the frame: Inject the malformed Association Request frame toward the target device's MAC address. The rtl8723bs driver's OnAssocReq handler will process the frame and perform an unchecked memcpy() into the 16-byte supportRate stack buffer.
  5. Trigger stack corruption: The oversized copy overwrites adjacent stack memory, potentially corrupting return addresses or function pointers, leading to kernel crash or, with careful payload crafting, arbitrary kernel code execution (CVE Record, Feedly).

Indicators of compromise

  • Logs: Kernel oops or panic messages in /var/log/kern.log or dmesg output referencing rtl8723bs, OnAssocReq, or stack smashing detection (e.g., kernel stack is corrupted, stack-protector: Kernel stack is corrupted).
  • Logs: Unexpected kernel BUG or NULL pointer dereference traces in system logs involving the staging/rtl8723bs module.
  • Network: Unusual or malformed 802.11 Association Request frames captured on the wireless interface, particularly those with Supported Rates IE lengths exceeding 16 bytes (detectable via Wireshark or tcpdump with 802.11 frame capture).
  • Process: Unexpected system reboots or kernel panics on devices using the RTL8723BS chipset, especially in environments where the device is operating as a Wi-Fi access point or in promiscuous mode.

Mitigation and workarounds

The Linux kernel maintainers have released patches addressing this vulnerability in the following stable versions: 6.12.62, 6.17.12, 6.18.1, and 6.19-rc1. Debian has released fixes in linux 6.1.162-1 (oldstable) and linux 5.10.249-1 (oldoldstable). Ubuntu has issued multiple security notices (USN-8096-1/2/3/5, USN-8094-3/4/5, USN-8152-1, USN-8179-1/2/3/4, USN-8184-1, USN-8185-1/2, USN-8203-1, USN-8258-1, USN-8260-1, USN-8265-1) covering affected kernel variants. As a workaround where patching is not immediately possible, administrators can unload or blacklist the r8723bs kernel module (echo 'blacklist r8723bs' >> /etc/modprobe.d/blacklist.conf) if the hardware is not required (Feedly, Ubuntu USN-8096-1, Debian LTS).

Community reactions

The vulnerability received routine coverage from Linux distribution security teams, with Debian, Ubuntu, Oracle Linux, and SUSE all issuing kernel update advisories. No notable independent researcher commentary or significant social media discussion has been identified beyond standard CVE tracking and scanner detection updates from Tenable (Nessus) and Qualys.

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management