Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 DF87C187562 for ; Thu, 30 May 2024 15:30:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717083014; cv=none; b=SmwJEWD9zfjFpXkbqQdCbgpY3M24347q6K01GBiVIWpR5EgIQAkgn/NuxneU//7zdLMIXYedC4kV3VQFBnsOk0lko8JoNtYm9PE1SdHBNhxQjLOomkImeCZRwQ8YtHmExsFThaMgRoq3f7j6v7CFxRg90z+xdBP553nJDzuNfCg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717083014; c=relaxed/simple; bh=uRUizz2s25gADJUDRu9+y5Gw12+06OYhXwQd1TvI5cA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tlJ7mlBJ3OKXdPZN3ZZEqalKYftvHcQLXGVoAtZFb9HqMUsTL44daDVfDWpKLDN3RYGUO+c6v+Wloi/Aire6Ab1p6GQB9AcIn7Hw16tA7XdOXCepvY1FazMaKL/KReKooGXird2KOxLvhyVCU4N1ORncCFLv4M9cPw/Zo56Simc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ts5m0Ebm; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ts5m0Ebm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7362AC32781; Thu, 30 May 2024 15:30:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1717083013; bh=uRUizz2s25gADJUDRu9+y5Gw12+06OYhXwQd1TvI5cA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ts5m0EbmlsuCJNg+Eboj11AwDySM2+hZG4jONEHFhDkof2zY5Kz9PNINOcfdGKhiR twivxrf+pkYaKZwU0CdXdx/S0zimaeXqi7BY8qquyGM/qlzXnYy13cJN3j3aj0TjdN gsz14bhBVE8D2/h2HCbO21/baF3XKUTsFbeEOZc8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-36922: wifi: iwlwifi: read txq->read_ptr under lock Date: Thu, 30 May 2024 17:29:14 +0200 Message-ID: <2024053039-CVE-2024-36922-f0df@gregkh> X-Mailer: git-send-email 2.45.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1951; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=uRUizz2s25gADJUDRu9+y5Gw12+06OYhXwQd1TvI5cA=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkRszX2vuJfeefg3JdlSw5ZB376dvHyZvY5vv3nfBYsW SnRZ7NtYkcsC4MgE4OsmCLLl208R/dXHFL0MrQ9DTOHlQlkCAMXpwBMRK+JYcEBp861u7TWFN+I 3K26/Y7CxNydU6MZFlzmNnqo6N1sL3boSOrZN8tTHuTx7wcA X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: wifi: iwlwifi: read txq->read_ptr under lock If we read txq->read_ptr without lock, we can read the same value twice, then obtain the lock, and reclaim from there to two different places, but crucially reclaim the same entry twice, resulting in the WARN_ONCE() a little later. Fix that by reading txq->read_ptr under lock. The Linux kernel CVE team has assigned CVE-2024-36922 to this issue. Affected and fixed versions =========================== Fixed in 6.6.31 with commit b83db8e756de Fixed in 6.8.10 with commit 43d07103df67 Fixed in 6.9 with commit c2ace6300600 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-2024-36922 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/queue/tx.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/b83db8e756dec68a950ed2f056248b1704b3deaa https://git.kernel.org/stable/c/43d07103df670484cdd26f9588eabef80f69db89 https://git.kernel.org/stable/c/c2ace6300600c634553657785dfe5ea0ed688ac2