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 F41BD52FE30 for ; Wed, 14 Oct 2026 13:30:43 +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=1791984655; cv=none; b=fMLH+sxVXG0PsNOwNzDkOADddNM3OXNhMpnr1ILOosiJHBAJjTOppyso+WbuQZ76x8ZmedcLphK4FC3e3qJfpofii9Wo5q+0a0ajbjObHnFpinLtQ7YPquxzyhWhIs9U/P/sM9KgqxPeEgV04zF7GhoT5KjCe6gY24VbYg91Mmw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791984655; c=relaxed/simple; bh=6G1xdfrzzPoS6JPwlHRBoS9oU3Cn5QdM26GWUNkErcI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=R2fOEuEdIrjrm/zKLyNFRt13GoEM4hWgg7Cu9QZkwiAZJL7EOy5l5/9SSDbAcxbMyvvPh5V92d58sGP/fG5+49iSP66nrKos2XEYd0fVurMTOMHfhicR+ETBk6D63ScjPmXGdFxkRj/ypfDJY4piYxtzlQFMdk58eoP6mzZDidk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tLG7N6AI; 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="tLG7N6AI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CDD171F00893; Wed, 14 Oct 2026 13:30:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791984643; bh=BklpYQ4Nwr5ARNxdIbU57TrKoxQbE9nAnsc7/B1MMzE=; h=From:To:Cc:Subject:Date:Reply-To; b=tLG7N6AIt/tr2jvb5eSkcY+QzuOF7MX4yGfvSLClR6vOWoO8Xb7YppN0438uzd2vw Chp9a+4xih3PFIh7y+E669m73bjOGlHAD3UMb/ylnVkVvj4dtUwkEvXI2CLgCX0sSw x3EpkEN11xZhgtXEC1LhYPpiK+4f8Zf+b3BUydsU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98407: wifi: rsi: fix heap OOB write on key removal Date: Wed, 14 Oct 2026 15:30:05 +0200 Message-ID: <2026101403-CVE-2026-98407-3046@gregkh> X-Mailer: git-send-email 2.56.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=4034; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Ui2KrbKpM6b0Apb8ZG27I36fb+UmMk0j83QDMdGFRME=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnnm287qR+efXaX3ytt3wPzT//nS1bfO9/V9on56VSOJ ZNrWs2Pd8SwMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEQpYwzJh1qLvkmWBAp/O+ nTzc5bdqNFc9ZZin5KC2f80J3x/6r/zX3u8QqRQJfD4XAA== 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: wifi: rsi: fix heap OOB write on key removal When a key is removed (data == NULL), rsi_hal_load_key() runs: memset(&set_key[FRAME_DESC_SZ], 0, frame_len - FRAME_DESC_SZ); set_key is a struct rsi_set_key *, so the subscript is scaled by sizeof(struct rsi_set_key) (160 bytes): &set_key[FRAME_DESC_SZ] is skb->data + 2560, and the memset writes 144 zero bytes starting 2.4KB past the end of the 160-byte skb data buffer, corrupting unrelated heap objects. The intended byte offset would have been (u8 *)set_key + FRAME_DESC_SZ. The write fires on every DISABLE_KEY callback, so plain disconnects, roams and interface teardowns trigger it on real networks. The memset is redundant: the whole buffer is zeroed right after allocation, so the frame sent to the device is byte-identical without it. Drop the else branch; normal operation is unaffected. Discovered by Atuin - Automated Vulnerability Discovery Engine. The Linux kernel CVE team has assigned CVE-2026-98407 to this issue. Affected and fixed versions =========================== Issue introduced in 3.15 with commit dad0d04fa7ba41ce603a01e8e64967650303e9a2 and fixed in 5.10.271 with commit b79e2f6585c014c42384f4caa7a37b3e5d26179c Issue introduced in 3.15 with commit dad0d04fa7ba41ce603a01e8e64967650303e9a2 and fixed in 5.15.222 with commit c67fb3b875a83f9ba92afea4036c7b541f77512a Issue introduced in 3.15 with commit dad0d04fa7ba41ce603a01e8e64967650303e9a2 and fixed in 6.1.189 with commit 62d40db89180cfab7a917395f9ffc1dac62b0019 Issue introduced in 3.15 with commit dad0d04fa7ba41ce603a01e8e64967650303e9a2 and fixed in 6.6.158 with commit 00bea3589255603c38766cac4a4d6d36493b2556 Issue introduced in 3.15 with commit dad0d04fa7ba41ce603a01e8e64967650303e9a2 and fixed in 6.12.112 with commit ac599cf8edf8aa2dae546f04d3f1849e32c2e738 Issue introduced in 3.15 with commit dad0d04fa7ba41ce603a01e8e64967650303e9a2 and fixed in 6.18.54 with commit f4f2852b664c3ff1436785cd11258a0ce25b74b3 Issue introduced in 3.15 with commit dad0d04fa7ba41ce603a01e8e64967650303e9a2 and fixed in 7.2.8 with commit 8dab6ee020b2cd951b670626ba44a95cd4deac3d Issue introduced in 3.15 with commit dad0d04fa7ba41ce603a01e8e64967650303e9a2 and fixed in 7.3-rc4 with commit e6c5ed7a98d7bc8b0f7918246f1c90ddb3f79dfa 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-98407 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/net/wireless/rsi/rsi_91x_mgmt.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/b79e2f6585c014c42384f4caa7a37b3e5d26179c https://git.kernel.org/stable/c/c67fb3b875a83f9ba92afea4036c7b541f77512a https://git.kernel.org/stable/c/62d40db89180cfab7a917395f9ffc1dac62b0019 https://git.kernel.org/stable/c/00bea3589255603c38766cac4a4d6d36493b2556 https://git.kernel.org/stable/c/ac599cf8edf8aa2dae546f04d3f1849e32c2e738 https://git.kernel.org/stable/c/f4f2852b664c3ff1436785cd11258a0ce25b74b3 https://git.kernel.org/stable/c/8dab6ee020b2cd951b670626ba44a95cd4deac3d https://git.kernel.org/stable/c/e6c5ed7a98d7bc8b0f7918246f1c90ddb3f79dfa