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 1A33641766 for ; Fri, 17 May 2024 12:25:32 +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=1715948733; cv=none; b=sg/Ye8fsE+w2PuvbpfCqVn3VM+2tg/dumvn7bHWOyyzy5qnOnOODVAIL8v6XnTcs/lKFA9n4MJA3okHQAYyFeDvX8qRlVCm2wDwR+0WT6ZW5IACm29OhKmlwVAGYr3+PlxjbKcZHIVDNdwmzoMuQn92JJMtsXR4IJn8oKdKRFM0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715948733; c=relaxed/simple; bh=FIX8/3ZYi4zUlJ+H8vEg7NcuauiGOD1TTq0TQmi4nb0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rQtiZR+N9D+W/mnI0D04dxp/oTauIAgZCM+4iZkUbhfqwiu7jGAWqELLqKqBHVk7LQ/eaG8vIvz8KN1Tm/rumD+q9Hi0FtUG+ZriXWO4B1M9qYsF8beSx1JCMRpxFyb9zwfs1b8C5m2HxrwalnFdiDXWSaZ26BIzicZQO/WLIWA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FSvCpPQK; 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="FSvCpPQK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 38760C2BD10; Fri, 17 May 2024 12:25:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715948732; bh=FIX8/3ZYi4zUlJ+H8vEg7NcuauiGOD1TTq0TQmi4nb0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=FSvCpPQKsMTuWp16szXfa/uk+ghhV+aF5P0720TRBv/UFaqRoRJ+smMdajxcxDB7G prdTxEhMYd8CLvGLP3+SNHAMPZKobZyYBZIrWAwBeIlfEZgx6j9r73X9sjcxt5mahw Cj/YZ1zEdJO/Y1i1mp5TAM9utvv1mfqMGLtkdkCg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-35789: wifi: mac80211: check/clear fast rx for non-4addr sta VLAN changes Date: Fri, 17 May 2024 14:25:10 +0200 Message-ID: <2024051707-CVE-2024-35789-52e5@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=2629; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=FIX8/3ZYi4zUlJ+H8vEg7NcuauiGOD1TTq0TQmi4nb0=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnuPkuWO4sruPb9e3TlaCHPltQdvJ++rU78Mvv/9mVmn mY7lZ5N6IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ6MgwLDjoMuWGw8HDX3Xf KX3hnF6g/Lyeq4VhwS4pH8EU9xPVmhuiJhbUmgb0hAelAgA= 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: check/clear fast rx for non-4addr sta VLAN changes When moving a station out of a VLAN and deleting the VLAN afterwards, the fast_rx entry still holds a pointer to the VLAN's netdev, which can cause use-after-free bugs. Fix this by immediately calling ieee80211_check_fast_rx after the VLAN change. The Linux kernel CVE team has assigned CVE-2024-35789 to this issue. Affected and fixed versions =========================== Fixed in 4.19.312 with commit ea9a0cfc07a7 Fixed in 5.4.274 with commit be1dd9254fc1 Fixed in 5.10.215 with commit e8b067c4058c Fixed in 5.15.154 with commit c8bddbd91bc8 Fixed in 6.1.84 with commit 7eeabcea79b6 Fixed in 6.6.24 with commit 6b948b54c8bd Fixed in 6.7.12 with commit 2884a50f5231 Fixed in 6.8.3 with commit e8678551c024 Fixed in 6.9 with commit 4f2bdb3c5e31 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-35789 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/cfg.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/ea9a0cfc07a7d3601cc680718d9cff0d6927a921 https://git.kernel.org/stable/c/be1dd9254fc115321d6fbee042026d42afc8d931 https://git.kernel.org/stable/c/e8b067c4058c0121ac8ca71559df8e2e08ff1a7e https://git.kernel.org/stable/c/c8bddbd91bc8e42c961a5e2cec20ab879f21100f https://git.kernel.org/stable/c/7eeabcea79b67cc29563e6a9a5c81f9e2c664d5b https://git.kernel.org/stable/c/6b948b54c8bd620725e0c906e44b10c0b13087a7 https://git.kernel.org/stable/c/2884a50f52313a7a911de3afcad065ddbb3d78fc https://git.kernel.org/stable/c/e8678551c0243f799b4859448781cbec1bd6f1cb https://git.kernel.org/stable/c/4f2bdb3c5e3189297e156b3ff84b140423d64685