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 19AC91E883C for ; Mon, 21 Oct 2024 12:03:15 +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=1729512196; cv=none; b=EtbYxkHrfzZOAFb4ZuhbH+z3BWngUHxGMbD1E5EYuFiixjGEqry4UBBsAcCvD5v0wDkeoG+Q2oZpIUHiZvg1N6gEjQt/vC1umvM50P2cQuT1W64gDdSSxA6pGndzCsDivNzsPvmypXf11XOAZdWVxeey0dOUp6ePt7gzaBlasXw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729512196; c=relaxed/simple; bh=BElMyIQlwLvXxvM0RXPK69bkjWYsldFunzn+CNotmd8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bX7Lvz1afiaIv5MXTplGFH+1kpGK4r2tBjALSVZN3DQIyV4DqKOVd/H7gReonQVdtl3zb7k+JSziMHurlLbHSoFiZLgl00s9Rfz2gHFfcKwVZ2VNFFGH3/PZ81NXvmsGMigwKI6FZs7Du8vH+sI0TrXkXLV6toHbOBE8xY6lXGo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XuT093ph; 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="XuT093ph" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5902AC4CEC3; Mon, 21 Oct 2024 12:03:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729512195; bh=BElMyIQlwLvXxvM0RXPK69bkjWYsldFunzn+CNotmd8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=XuT093php6ZmrG7nt1D8UF5KNEdk5g3/jE9QFGKGvtmROgzKt5PXqo0HLfB/YoyAp mVMVqghiaJNedm0hHKQCCdMm1BuWZ/IAuBhWMITr4at2WH+jIBocQkEGRSiJ90Arjl 5sRF4T1xQclivVAhPWmox+PAPAR4jwL0MrY+1Naw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-47681: wifi: mt76: mt7996: fix NULL pointer dereference in mt7996_mcu_sta_bfer_he Date: Mon, 21 Oct 2024 14:00:09 +0200 Message-ID: <2024102107-CVE-2024-47681-bd36@gregkh> X-Mailer: git-send-email 2.47.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=2176; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=BElMyIQlwLvXxvM0RXPK69bkjWYsldFunzn+CNotmd8=; b=owGbwMvMwCRo6H6F97bub03G02pJDOliTu6Trxc4XcxVfLyZx8nk3rU/6jzii5ntBVYKzOROS 9KdkPWoI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACayahbD/KjJ23fKvCwXtmbq ztsbemo666OD9xjmZ+97eEHUr6V7kXjK897WOxVWk9nnAwA= 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: mt76: mt7996: fix NULL pointer dereference in mt7996_mcu_sta_bfer_he Fix the NULL pointer dereference in mt7996_mcu_sta_bfer_he routine adding an sta interface to the mt7996 driver. Found by code review. The Linux kernel CVE team has assigned CVE-2024-47681 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit 98686cd21624 and fixed in 6.6.54 with commit 8e4b60ae8a04 Issue introduced in 6.2 with commit 98686cd21624 and fixed in 6.10.13 with commit 174c803b4325 Issue introduced in 6.2 with commit 98686cd21624 and fixed in 6.11.2 with commit 1afdde3b5f56 Issue introduced in 6.2 with commit 98686cd21624 and fixed in 6.12-rc1 with commit f503ae90c735 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-47681 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/mediatek/mt76/mt7996/mcu.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/8e4b60ae8a047ad2fb175fcfdd54feee80983a45 https://git.kernel.org/stable/c/174c803b432596cdd7dd3ec5e0ec52b561969ee2 https://git.kernel.org/stable/c/1afdde3b5f56217d875a543cf565075c11bbddad https://git.kernel.org/stable/c/f503ae90c7355e8506e68498fe84c1357894cd5b