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 270763546FD for ; Fri, 24 Jul 2026 15:31:40 +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=1784907102; cv=none; b=U4bHsnHbpvpHoiVlKF5WzvOtOYGmpmvxg/869ZB5SBWSQD6AHXc58fqFNu0LRu1ezOGs1vQa98QUgkzfcQhL7YTDD1xWOgcadeCP0vfQ6qiEtCgymbqJnkQlOyWOPXGcrDwarn7n6FkDP5Kg4t29C1UK/kREsbwmKyeTrZXOtxI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784907102; c=relaxed/simple; bh=jTgUljNAJhdFcglDgWC0OaCXVpSXEEXxha8bvsxrSeI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KBx83cwxoFXzO2WtDolF0ygJYSW0Qpaiu42cetiTF0xfU5GOc2kV5tza4xFPWl0UtQxOs/NkcIcedYVy+WGUQtUztYh76edgJwLnsr9QDoypbJa4O2A61I0LBYyvteTsR7AwoksWrZ0QztsIfHQSVV1e6/l4Gwvd84qC6V1wJxY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=NoZ2ozrE; 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="NoZ2ozrE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 38EA21F000E9; Fri, 24 Jul 2026 15:31:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784907100; bh=UOQv+XJc6bXniE+S1nQ6kNp8rHj3ntMTc3Qs2EX8bjY=; h=From:To:Cc:Subject:Date:Reply-To; b=NoZ2ozrEPb6MYKvtWdWQ8C0RkqaIs4QQl4wWaSJ8SmgNGxe4VcKp1nq5BIra7lgKW mwKwJys8xAkCWXDJPzZ6NPUqmTlSaRhO5bl4d0PxtGX+mmedyke46S1OQBoLCVUNWE KuZ7Ing72n5DskTf8HMJjIOMz3ysWLWNEqyr7ZwY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64255: wifi: iwlwifi: mld: validate sta_mask before ffs() in BA session handlers Date: Fri, 24 Jul 2026 17:31:29 +0200 Message-ID: <2026072420-CVE-2026-64255-f09c@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=2184; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=iojQcWjtMQUnSlUqtErShv4igxjmMw2ftcwpIB0Yt48=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnJrZ6c5rIb7h1qkJh/IICnRHy67bMfHw+5cLRlxhy3j JOZwVrREcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABN5eYlhfmpIxstou34Rpw/G 5fqSSQaMAtdOMcwV2b77bML1C2cPqjc/6DnQXbHvJetPAA== 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: iwlwifi: mld: validate sta_mask before ffs() in BA session handlers Three BA session handlers use ffs(ba_data->sta_mask) - 1 to derive a station ID without checking that sta_mask is non-zero. When sta_mask is zero, ffs() returns 0 and the subtraction wraps to 0xFFFFFFFF, causing an out-of-bounds access on fw_id_to_link_sta[]. Add WARN_ON_ONCE(!ba_data->sta_mask) guards before each ffs() call, consistent with the existing check in iwl_mld_ampdu_rx_start(). The Linux kernel CVE team has assigned CVE-2026-64255 to this issue. Affected and fixed versions =========================== Fixed in 6.18.38 with commit 1de92789ce31e46fa7e7d8e89c90b19cdb1c103b Fixed in 7.1.3 with commit fe7f339f63c9dc4ca546ed7ac38ba4bb3a99dcfc Fixed in 7.2-rc1 with commit f056fc2b927448d37eca6b6cacc3d1b0f67b20d2 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-64255 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/intel/iwlwifi/mld/agg.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/1de92789ce31e46fa7e7d8e89c90b19cdb1c103b https://git.kernel.org/stable/c/fe7f339f63c9dc4ca546ed7ac38ba4bb3a99dcfc https://git.kernel.org/stable/c/f056fc2b927448d37eca6b6cacc3d1b0f67b20d2