From mboxrd@z Thu Jan 1 00:00:00 1970 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 9B1103CBE9C for ; Mon, 10 Aug 2026 12:06:41 +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=1786363602; cv=none; b=UxGRqVzAQ1hX6DH82tWyxEuytmrmK/2rPep9L2zyQEWg4RModVOm6HQybI2z7YRM2gCMUn3tkjdBiczlBcTgb4tw03pX+oNWMwisOcub8bzPDBXHBM7xdaRx/7hlUqpq4IDXzWk03PH1HPhM+AxJIIf4HED59bmIweCuoQbhlRQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363602; c=relaxed/simple; bh=FD99/UGPW/Qo+SdTkOQqHjg1iArEUJ5ZjzwFVPbHpoc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Hw1Jw7HSWD3sFo8GtTR5LNY7XyvHBrDbOnFLx1gvTQmFQXyXratWdBriolkJusEzho1z7fKOh6VoDKSRKg+IccUSj6nCKPpMcVMBYL4ayKu9lhcZnM//HwZVyf1e7fHp4AHAqNpgtgblziEerV+OrQtk5qsVdLkQChgJGQcdMzg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=VTfxNZDD; 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="VTfxNZDD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E0F121F000E9; Mon, 10 Aug 2026 12:06:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363601; bh=TTBCVgvuntcftzahXwfPHNEuh1h5VLSjXj0OSRyyOSk=; h=From:To:Cc:Subject:Date:Reply-To; b=VTfxNZDD0Ff9KjuKChCaW462GfXnyR/orUA/hC7pdJaEY96zkLyRpjEEZ1zVZjNbO XzwHeK9qExyClYpFdrd0ayeqhvA6bXB5I7JeOKCbs9kVTjIvh/r8A+2Nt8x26fICbW 9rJ+v0nsKOowljvprlNn+wrwCFSApHgul1Uc06q0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68190: staging: rtl8723bs: fix OOB reads in rtw_get_wps_ie() Date: Mon, 10 Aug 2026 13:58:27 +0200 Message-ID: <2026081009-CVE-2026-68190-382c@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=3098; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=8yeAwRb4ZR2cGiQurSSchOVY3YCMSs1toSK5fP4CJVA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVe6ZGbPo9bXXusZYsIWkVc7kdu64wutxPuHDR2d9bf p3sl9C4jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhI0DuG+YFHW9xmrOWwlbB8 IsuQxMql1s4nybBg+UF/cdNvDnek4vc+PaRe2WLr9rgUAA== 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 rtw_get_wps_ie() rtw_get_wps_ie() iterates over IE data from network frames without validating that the IE header and payload fit within the remaining buffer before reading them. Specifically: - in_ie[cnt + 1] is read without checking cnt + 1 < in_len - memcmp(&in_ie[cnt + 2], ...) accesses cnt + 2 without bounds check - in_ie[cnt + 1] is used as length without verifying payload fits Add bounds checks at the top of the loop body to break early if fewer than 2 bytes remain for the IE header, or if the declared payload extends past the end of the buffer. Also require at least 4 bytes of payload before comparing the WPS OUI. The Linux kernel CVE team has assigned CVE-2026-68190 to this issue. Affected and fixed versions =========================== Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 6.6.148 with commit b9d9a4cd2e59df7281992a076464d2536e80c674 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 6.12.101 with commit 630fdca3f2437fee3ffd437c4b646ccf84c7be87 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 6.18.42 with commit 875479f18835ac11e21a83e88f3d4dc7ccdcd0c4 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 7.1.6 with commit 23c31f107b4f8f420a754a45d12599bdb78f9bb8 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 7.2-rc5 with commit 0e95ff792ae0aa6fbad9455943e9e1e4062670e9 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-68190 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_ieee80211.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/b9d9a4cd2e59df7281992a076464d2536e80c674 https://git.kernel.org/stable/c/630fdca3f2437fee3ffd437c4b646ccf84c7be87 https://git.kernel.org/stable/c/875479f18835ac11e21a83e88f3d4dc7ccdcd0c4 https://git.kernel.org/stable/c/23c31f107b4f8f420a754a45d12599bdb78f9bb8 https://git.kernel.org/stable/c/0e95ff792ae0aa6fbad9455943e9e1e4062670e9