Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4DACC3845C1 for ; Sat, 25 Jul 2026 08:59:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784969959; cv=none; b=qCGLCHlkSWJDogYf9y4UuERXKIijPPFz7XOZWjfUDzEf4TbXfCdwuWS1qgbQw//JzZhBObdC3yrEchOYvzZ/XGViI/Wqg2duYMk3tklY8+TIayrJibK9fmDY/MkLUsBcg2nG9eURJ7jTTFNvCibpVXVEi9YIvzpdFKAnbe774d4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784969959; c=relaxed/simple; bh=uuX7ucwoJ5c9pS/WwK4wVdkDuKCzCh8h8/CEUIFEN6U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=r6++ZRh3zyI5R0+6JmMeLFkJibZNV8uqaiAaMi1HgJktGZUPlzY2w9u80W9x5idarHv/Zxg89owl3uxrSvi21JySFMlCkD3KYam/h0HLUrAc5sI0bYoWG5KW9RAhOMe4Z6DRGPPKKIUGHURTZQNGppHLoGjr+Eqd0rg9RVRezZA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0ToqvTx9; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="0ToqvTx9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A03621F000E9; Sat, 25 Jul 2026 08:59:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784969958; bh=tyWCnWNIBJnLVsCOpCZZlykHRV4H346phCaK7FymAX8=; h=From:To:Cc:Subject:Date:Reply-To; b=0ToqvTx92vjjPB2Ut/s0otGqDoeQ0Dq+/BkWj9K36+EmOeQ6Xldt4pWbMijQy9tPU W1e5Eqer9yVRJl6U0oudUZgIkJCohv/ytkkYcdfJ4egCUpYPESw4PRVMFwlJWxwt6t 8JGzj71FG56SxVkn2x4Y7WX8Cekjuv3f/oLtLi5M= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64443: staging: rtl8723bs: fix OOB read in update_beacon_info() IE loop Date: Sat, 25 Jul 2026 10:51:00 +0200 Message-ID: <2026072539-CVE-2026-64443-04dd@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3745; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=o3GZqR4uP9v3aBS8vphhLGjtiL7ksyaUWCkxr/u5Er4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkpFemxWpv8tvxi32d7Qe4Tk9Kx6tkpxpcr79980caU1 ch0g6e6I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbCsJFhfuHZTut/jySXOj2O PcijumhO6s9maYYFM+3ktvN7Shyzu7s1+5zcjKX9TN0nAQ== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix OOB read in update_beacon_info() IE loop The IE parsing loop in update_beacon_info() advances by (pIE->length + 2) each iteration but only guards on i < len. When a malicious AP sends a Beacon whose last IE has only one byte remaining in the frame (the element_id byte lands at len-1), the loop reads pIE->length from one byte past the allocated receive buffer. Additionally, even when the header bytes are in bounds, pIE->length itself can extend the data window beyond len, passing a truncated IE to the handler functions. Add two guards at the top of the loop body: 1. Break if fewer than sizeof(*pIE) bytes remain (can't read header). 2. Break if the IE's declared data extends past len. Also replace i += (pIE->length + 2) with i += sizeof(*pIE) + pIE->length for consistency with the sizeof(*pIE) guards added above. The Linux kernel CVE team has assigned CVE-2026-64443 to this issue. Affected and fixed versions =========================== Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 5.15.212 with commit 5e8db4cff5b45c7c4edc8ae3f302027c3bb32b25 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 6.1.178 with commit 6dd5e8c3011ebabf417257d7f07901a7c4311539 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 6.6.145 with commit 9193c34f75fd9e1ea8a590d7cced464c3380dc29 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 6.12.96 with commit bd953d52d587d42365e399b96c52dbdb13032070 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 6.18.39 with commit 69f174a0673b6b7a29b851adb60bc450cdc0ecc4 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 7.1.4 with commit b5cc2f999927f69723ca53f1f2a3aa37dbeda907 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 7.2-rc3 with commit ed51de4a86e173c3b0ef78e039c2e49e08b11f16 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-2026-64443 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_wlan_util.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/5e8db4cff5b45c7c4edc8ae3f302027c3bb32b25 https://git.kernel.org/stable/c/6dd5e8c3011ebabf417257d7f07901a7c4311539 https://git.kernel.org/stable/c/9193c34f75fd9e1ea8a590d7cced464c3380dc29 https://git.kernel.org/stable/c/bd953d52d587d42365e399b96c52dbdb13032070 https://git.kernel.org/stable/c/69f174a0673b6b7a29b851adb60bc450cdc0ecc4 https://git.kernel.org/stable/c/b5cc2f999927f69723ca53f1f2a3aa37dbeda907 https://git.kernel.org/stable/c/ed51de4a86e173c3b0ef78e039c2e49e08b11f16