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 92D86152DFF for ; Wed, 3 Apr 2024 17:33:41 +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=1712165621; cv=none; b=hg42nPxaBEEJBczlr/ztIjEb3g1fxaLoERSQxplBhk2AJD32dSQ0dyyN7Dq785X7Tlo9CK8V8WBqHl4pm8ky7/ggF1VoZSq/+snRt36jIP3tUE2qdx0dZR9t6BDl8GUKPIWc2W+HzzHgnKDKly5D1D7v/YBacj2GhPKyvDVWfg8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712165621; c=relaxed/simple; bh=9Ml5Do+WhffeRw1VEhmdLdVyrTBcG7uRRqMs5XkfY7I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=iOwnTgR2niSZ+Sd/rwMXShSb4HCxqoHR1VRlorwQmotNPjoxhswdYk1d9spyq0CxcfKZ2tpME/ihFPFrl45YVArgdRILbnXdYJn179RTPRwGPQDBzItcQhMaxKJSiNQA3GtZWs/mYtT9jJHAzh4Sozjn3Z4CRuCIOIeuKY1zDLI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=OdZuVBcv; 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="OdZuVBcv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F792C433C7; Wed, 3 Apr 2024 17:33:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712165621; bh=9Ml5Do+WhffeRw1VEhmdLdVyrTBcG7uRRqMs5XkfY7I=; h=From:To:Cc:Subject:Date:Reply-to:From; b=OdZuVBcvpg9/uXowxOBwVgMiUgSn+o4QixYvnqt2Ru7lABI8Cn+d3rL261sC2qBuL ZHWga6L7MznOAK8G0JzwyAgt5jSQaoSkAlikkq6OrLhhkjb46HYKAmFOrYdAnamFiy rhX2Zh7Fl2VuZ3zwHvShTg1DBYrwXeUAQdsNk6lg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26779: wifi: mac80211: fix race condition on enabling fast-xmit Date: Wed, 3 Apr 2024 19:31:46 +0200 Message-ID: <2024040310-CVE-2024-26779-8030@gregkh> X-Mailer: git-send-email 2.44.0 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=2597; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=9Ml5Do+WhffeRw1VEhmdLdVyrTBcG7uRRqMs5XkfY7I=; b=owGbwMvMwCRo6H6F97bub03G02pJDGm8k+IO2vOqRZw7z/vTurB+duxy06/VIfkrbMuUTnQ66 q8717aiI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbCtY1hvh/fO9UPDwSNd59P URWct0h8xfnXDxjm6XxdHlRk/WSGoQXTG0FDCfn1/YziAA== 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: mac80211: fix race condition on enabling fast-xmit fast-xmit must only be enabled after the sta has been uploaded to the driver, otherwise it could end up passing the not-yet-uploaded sta via drv_tx calls to the driver, leading to potential crashes because of uninitialized drv_priv data. Add a missing sta->uploaded check and re-check fast xmit after inserting a sta. The Linux kernel CVE team has assigned CVE-2024-26779 to this issue. Affected and fixed versions =========================== Fixed in 4.19.308 with commit 76fad1174a0c Fixed in 5.4.270 with commit 85720b69aef1 Fixed in 5.10.211 with commit 5ffab99e070b Fixed in 5.15.150 with commit 88c18fd06608 Fixed in 6.1.80 with commit eb39bb548bf9 Fixed in 6.6.19 with commit 54b79d878696 Fixed in 6.7.7 with commit 281280276b70 Fixed in 6.8 with commit bcbc84af1183 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-26779 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: net/mac80211/sta_info.c net/mac80211/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/76fad1174a0cae6fc857b9f88b261a2e4f07d587 https://git.kernel.org/stable/c/85720b69aef177318f4a18efbcc4302228a340e5 https://git.kernel.org/stable/c/5ffab99e070b9f8ae0cf60c3c3602b84eee818dd https://git.kernel.org/stable/c/88c18fd06608b3adee547102505d715f21075c9d https://git.kernel.org/stable/c/eb39bb548bf974acad7bd6780fe11f9e6652d696 https://git.kernel.org/stable/c/54b79d8786964e2f840e8a2ec4a9f9a50f3d4954 https://git.kernel.org/stable/c/281280276b70c822f55ce15b661f6d1d3228aaa9 https://git.kernel.org/stable/c/bcbc84af1183c8cf3d1ca9b78540c2185cd85e7f