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 46ED11A9B3D for ; Wed, 26 Feb 2025 01:59:47 +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=1740535187; cv=none; b=CyVd9ks46r6fWf587X9bimb4Svcx6p+lm6UB6Igjalc9rIy9X9bkmRsqbYHFolQuuhiNk5MMXkUL0yoBzHLFLGcec+HMNpwuzBWoPQqe9oarQJfg6gJ6TvYMCT2ZQh6Dy60JJe5ZkbZf1nGTFfcy8pdct/K2FU0YEMSLFp1F/qQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535187; c=relaxed/simple; bh=0ISuBHGu7ngRGLMtL4EJpi7wjEtM3lArqMGRkCUM/+U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nYe8Lm5RMs/n2rQ+aXbwHNC5PB3iBMFOQJJGVOAWCo6qv7dJP2jV9ib6IK9F75s91wiage9Sq61Yjw8d/XuOkQ+KNGXJgGWf0NunMPoutNXv6ILySGnL6DiBoesCWv5EC7+uvMp5hYS3wYnOPZzaVCG0igOrB9QcTGD89PFGZeo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kh6xHQyr; 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="kh6xHQyr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1B1D2C4CEDD; Wed, 26 Feb 2025 01:59:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740535187; bh=0ISuBHGu7ngRGLMtL4EJpi7wjEtM3lArqMGRkCUM/+U=; h=From:To:Cc:Subject:Date:Reply-to:From; b=kh6xHQyr4sl+us8RZgNaFvgPsPyzpelb0VX6t+HGrrjnIgcvlSjorMoBvBIMq71Ej XtJ7angxs9xz1D8uq7DJLLVuunBt6zNvkhV4cTNpHt0Yc/1POiUa+wI10Xo8WrpKzT R6L4wHpvIt616x0rpNbyDGNk9M3226tQGEPqv9m8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49230: mt76: mt7915: fix possible memory leak in mt7915_mcu_add_sta Date: Wed, 26 Feb 2025 02:57:15 +0100 Message-ID: <2025022623-CVE-2022-49230-2758@gregkh> X-Mailer: git-send-email 2.48.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=2089; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=0ISuBHGu7ngRGLMtL4EJpi7wjEtM3lArqMGRkCUM/+U=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7SvxFmpZ1n02teVNcd2dl4IaZig0iGlnnGko7Uyfdq LKL0yjoiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgImsuMsw3/fk9H2v/szfGTm1 3aPySqi+51w3Vob5kToC+Z3Xtix3mG6z+ZJZi/WB75L5AA== 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: mt76: mt7915: fix possible memory leak in mt7915_mcu_add_sta Free allocated skb in mt7915_mcu_add_sta routine in case of failures. The Linux kernel CVE team has assigned CVE-2022-49230 to this issue. Affected and fixed versions =========================== Issue introduced in 5.16 with commit 89bbd3730f382f15cfcc2c9264c65b5901ce02fa and fixed in 5.16.19 with commit daf02c7e3c3dc82ffa925999597bd455cf799551 Issue introduced in 5.16 with commit 89bbd3730f382f15cfcc2c9264c65b5901ce02fa and fixed in 5.17.2 with commit b334a245ff1d76b1e97af8cea648ea6798b9eb87 Issue introduced in 5.16 with commit 89bbd3730f382f15cfcc2c9264c65b5901ce02fa and fixed in 5.18 with commit a43736cd12d82913102eb49cb56787a5553e028f 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-2022-49230 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/mt7915/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/daf02c7e3c3dc82ffa925999597bd455cf799551 https://git.kernel.org/stable/c/b334a245ff1d76b1e97af8cea648ea6798b9eb87 https://git.kernel.org/stable/c/a43736cd12d82913102eb49cb56787a5553e028f