[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025121612-CVE-2025-68255-3994@gregkh>
Date: Tue, 16 Dec 2025 15:45:12 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-68255: staging: rtl8723bs: fix stack buffer overflow in OnAssocReq IE parsing
From: Greg Kroah-Hartman <gregkh@...nel.org>
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.
The Linux kernel CVE team has assigned CVE-2025-68255 to this issue.
Affected and fixed versions
===========================
Fixed in 6.12.62 with commit 61871c83259a511980ec2664964cecc69005398b
Fixed in 6.17.12 with commit 25411f5fcf5743131158f337c99c2bbf3f8477f5
Fixed in 6.18.1 with commit e841d8ea722315b781c4fc5bf4f7670fbca88875
Fixed in 6.19-rc1 with commit 6ef0e1c10455927867cac8f0ed6b49f328f8cf95
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2025-68255
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/61871c83259a511980ec2664964cecc69005398b
https://git.kernel.org/stable/c/25411f5fcf5743131158f337c99c2bbf3f8477f5
https://git.kernel.org/stable/c/e841d8ea722315b781c4fc5bf4f7670fbca88875
https://git.kernel.org/stable/c/6ef0e1c10455927867cac8f0ed6b49f328f8cf95
Powered by blists - more mailing lists