CVE-2025-68255

Summary

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux554c0a3abf216c991c5ebddcdb2c08689ecd290b < 49b7806851f93fd342838c93f4f765e0cc5029b0affected
LinuxLinux554c0a3abf216c991c5ebddcdb2c08689ecd290b < 4445adedae770037078803d1ce41f9e88a1944b6affected
LinuxLinux554c0a3abf216c991c5ebddcdb2c08689ecd290b < d129dc2a5d59b4d9cd2cc0b6eeb04df8461199f0affected
LinuxLinux554c0a3abf216c991c5ebddcdb2c08689ecd290b < 34620eb602aa432f090b2b784ee5c5070fb16cf9affected
LinuxLinux554c0a3abf216c991c5ebddcdb2c08689ecd290b < 61871c83259a511980ec2664964cecc69005398baffected
LinuxLinux554c0a3abf216c991c5ebddcdb2c08689ecd290b < 25411f5fcf5743131158f337c99c2bbf3f8477f5affected
LinuxLinux554c0a3abf216c991c5ebddcdb2c08689ecd290b < e841d8ea722315b781c4fc5bf4f7670fbca88875affected
LinuxLinux554c0a3abf216c991c5ebddcdb2c08689ecd290b < 6ef0e1c10455927867cac8f0ed6b49f328f8cf95affected
LinuxLinux4.12affected
LinuxLinux0 < 4.12unaffected
LinuxLinux5.10.248 <= 5.10.*unaffected
LinuxLinux5.15.198 <= 5.15.*unaffected
LinuxLinux6.1.160 <= 6.1.*unaffected
LinuxLinux6.6.120 <= 6.6.*unaffected
LinuxLinux6.12.62 <= 6.12.*unaffected
LinuxLinux6.17.12 <= 6.17.*unaffected
LinuxLinux6.18.1 <= 6.18.*unaffected
LinuxLinux6.19 <= *unaffected

Weaknesses

References