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 7E1C126F2B9 for ; Mon, 27 Jul 2026 06:36:11 +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=1785134172; cv=none; b=UI7EdL6xG7yis/rPmaw+A4GSG7XA0FXTMXSGYG5zN0xtbJthsDEzMPB642QaLAiIFu5A1pXzvX6MSN0qSkUIGfTk4gXphUo1OvukK3vH1O2Lw2z2KZLXDdlJq5BJvcip0Ia6SLwEhQLVlKwO/QqZQ0U1nPv4+ZQ7Kg8l3RSni3Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785134172; c=relaxed/simple; bh=podMteo8YyS173xwERpoA059dyBWplC7exviVy6Y/xY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qOYnXGKNeWZrjz5zOhVsaGw1eTbOb7alMHXaaIbUllsSu9tH644YlGyqVridnAN389jpWej3zpOM2vLxrTp/x7JG4y0UO0kZ9TpMA6AnW3lsCjZL2j6oAznGQ/VS4gzqk0maf7SU6wopR+fC5VcvheV/lr7dOFM99TvAuO8eSS8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GzgKaXq3; 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="GzgKaXq3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 99AA61F00A3D; Mon, 27 Jul 2026 06:36:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1785134171; bh=Clz3/TIvpdVf+5pvy8swKFYTSv8kFBD0mVY/9hpkTrU=; h=From:To:Cc:Subject:Date:Reply-To; b=GzgKaXq3Q6DEr4MB61oE67+SYQ8Qd33bz+oFXy8CFAyPyAitvMJYcx3CBZJNkTQBC uaNoa3Qv8gV5rdAsHuTvnwsnGT5YCU6D9ykuw4K2Nf8yzoQWX5sk2vsUmM8LJoy8CM Ss4FjpVMitouVSBVFkh184F88i/enBlMbCAaWiBw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64536: staging: rtl8723bs: fix OOB reads in is_ap_in_tkip() IE loop Date: Mon, 27 Jul 2026 08:35:58 +0200 Message-ID: <2026072757-CVE-2026-64536-3376@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=3644; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=TlVSIYYnIAkWCCU8L/LUc9EFhI9ze3CFyBf2lK3UwwE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlpf3z/7HHivSD2gacn//Scmy+eu039frHvaUqbIOPMD 01flhcKdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEyh4xLDhZ7shmEvCgsFFE cvsus+VnKhflSTLMT5q+kGnfkbf7L4VbNBpO53+wOfxHAwA= 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 is_ap_in_tkip() IE loop The loop in is_ap_in_tkip() iterates over IEs without verifying that enough bytes remain before dereferencing the IE header or its payload: - pIE->element_id and pIE->length are read without checking that i + sizeof(*pIE) <= ie_length, so a truncated IE at the end of the buffer causes an OOB read. - For WLAN_EID_VENDOR_SPECIFIC the code compares pIE->data + 12, which requires pIE->length >= 16. For WLAN_EID_RSN it compares pIE->data + 8, requiring pIE->length >= 12. Neither requirement is checked. Add the missing IE header and payload bounds checks and guard each data access with an explicit pIE->length minimum, matching the pattern established in update_beacon_info(). The Linux kernel CVE team has assigned CVE-2026-64536 to this issue. Affected and fixed versions =========================== Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 5.15.212 with commit ea3809f7e20bdff282b8cc1e94937d5fb9fb32c7 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 6.1.178 with commit d2055332297e24c63fffda943ef7a5eefc0a6019 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 6.6.145 with commit 6f26cc55affd9d7f88ae2f5d12db4ecf9072c209 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 6.12.96 with commit 204b22c8df115370037248859bf0fa62db73a396 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 6.18.39 with commit a6105ea8ca6ebbc04beaf3bcbf7dbb5985f5d395 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 7.1.4 with commit 4380b3860d887a13555ff024a58dfc05b490dfd6 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 7.2-rc3 with commit 3bf39f711ff27c64be8680a8938bcc5001982e81 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-64536 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/ea3809f7e20bdff282b8cc1e94937d5fb9fb32c7 https://git.kernel.org/stable/c/d2055332297e24c63fffda943ef7a5eefc0a6019 https://git.kernel.org/stable/c/6f26cc55affd9d7f88ae2f5d12db4ecf9072c209 https://git.kernel.org/stable/c/204b22c8df115370037248859bf0fa62db73a396 https://git.kernel.org/stable/c/a6105ea8ca6ebbc04beaf3bcbf7dbb5985f5d395 https://git.kernel.org/stable/c/4380b3860d887a13555ff024a58dfc05b490dfd6 https://git.kernel.org/stable/c/3bf39f711ff27c64be8680a8938bcc5001982e81