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 87BF83845C1 for ; Sat, 25 Jul 2026 08:59:15 +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=1784969956; cv=none; b=fbjr7BEDD+AddVY+2F5yvb81yswgpCS1CVjIdUWBZnYgpDtA3h75f8gv7arU5slLae8LI4kCYjixgum6zcxWcnmqP8qKJnJ2psWLTTamvaWs1ffYYWZ3Rwe3+l2/YDH4PSVZANA+4xz3RR9EysUwhcc2KdH/q2V6yvor1B+ltNI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784969956; c=relaxed/simple; bh=iw+J2s2f2xLT7NQ/3TqIgAcAcYQRGRnju+QggX6V3tk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Q4vZGacp88OmGgWQQDZvDqUH0wuOUNiZtalcoP/7FYUFmTdyk8ndLiqCWfmLaJfRzEPx7UrM8jnFE3TrXBHYVv0oavTn8Y48io1OsPatULd7qic2mFP3nwyHYlZSognFAZhXRCX+GeJb/cGHvW1q9WWDKNzPJvTUGNX6+SnTHzo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dabXHTSQ; 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="dabXHTSQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DAE281F00A3A; Sat, 25 Jul 2026 08:59:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784969955; bh=aS7UlX09y7ycne7aEDYNi0qED11THBzRZ5qznHuOkrI=; h=From:To:Cc:Subject:Date:Reply-To; b=dabXHTSQN/jlhmrFiMjWDvKxLpDpuIBIk0AlH1ILPwPhk6ctMXS6lHLTDSWD0foHT vKIOn3DbW9eoYndXU1WBNiBHa4WLMhPXCNZF9X4kcRWFUCRo4yUqFB2BWid2I75enr HxA7CJ0RPNykapkH9OevoE4UllPbgNQIFFC8k2PI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64442: staging: rtl8723bs: fix OOB reads in IE loops in issue_assocreq() and join_cmd_hdl() Date: Sat, 25 Jul 2026 10:50:59 +0200 Message-ID: <2026072539-CVE-2026-64442-7060@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=3965; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=WIpw/4rwXVCKFpdLwn37imxsmh0q4tKlg1QO1Sc3dMI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkpFentS2Z+O2pSmH5uzdkWz/dVmis0xQWjNpbqP36mb Kgs27WwI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACayXoNhfrHjk5nfZH5OjNm3 7Nlt9qInkzbuLWJYMIdZ90Rz1Alxzuk6+nN2fGpdYz7vMQA= 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 reads in IE loops in issue_assocreq() and join_cmd_hdl() Two IE parsing loops are missing the header bounds checks before they dereference pIE->length: - issue_assocreq() walks pmlmeinfo->network.ies to build the association request. If the stored IE data ends with only an element_id byte and no length byte, pIE->length is read one byte past the end of the buffer. - join_cmd_hdl() walks pnetwork->ies during station join and has the same problem under the same conditions. Both buffers are filled from AP beacon and probe-response frames, so a malicious AP that sends a truncated final IE can trigger the issue. Apply the two-guard pattern established in update_beacon_info(): 1. Break if fewer than sizeof(*pIE) bytes remain. 2. Break if the IE's declared data extends past the buffer end. The Linux kernel CVE team has assigned CVE-2026-64442 to this issue. Affected and fixed versions =========================== Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 5.10.261 with commit bc881c9915c4468747d0ca5fd1abd7b313cfb0f4 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 5.15.212 with commit 605ebd94d0f469204f3c9f2f84acc71e43e2780f Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 6.1.178 with commit a830bdc82461353bf7b1f8a2ad2689bf5d2de444 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 6.6.145 with commit 4c21eec80cf502d9ea18e0b946246b2376452786 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 6.12.96 with commit ad2637c46ef8b8ae0894372a2d39fdfcdc420a1e Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 6.18.39 with commit c38d16b1ffac385c9e4b38447cd5c46af1114b58 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 7.1.4 with commit 402f13ec95945f34a210b28df1f8740d3d4a58c5 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 7.2-rc3 with commit ef61d628dfad38fead1fd2e08979ae9126d011d5 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-64442 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/bc881c9915c4468747d0ca5fd1abd7b313cfb0f4 https://git.kernel.org/stable/c/605ebd94d0f469204f3c9f2f84acc71e43e2780f https://git.kernel.org/stable/c/a830bdc82461353bf7b1f8a2ad2689bf5d2de444 https://git.kernel.org/stable/c/4c21eec80cf502d9ea18e0b946246b2376452786 https://git.kernel.org/stable/c/ad2637c46ef8b8ae0894372a2d39fdfcdc420a1e https://git.kernel.org/stable/c/c38d16b1ffac385c9e4b38447cd5c46af1114b58 https://git.kernel.org/stable/c/402f13ec95945f34a210b28df1f8740d3d4a58c5 https://git.kernel.org/stable/c/ef61d628dfad38fead1fd2e08979ae9126d011d5