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 C38A42C1A2 for ; Wed, 28 Feb 2024 08:17:26 +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=1709108247; cv=none; b=T6zv98RGl1NqCWOruUC06Z/ykW53Q5dQ9QHlkAwdFk5QSER5/P/ptGGIiv+eKvMOAhZVipJOrosoSK7YjeRNty6+OuziE/hp7jg/ztBthpqSeAyeVP+rS7OxHZTnY1hwOzYdX5eEa+xNSLLRD6bbGwm7gvepPg7izdDWovdeQuk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709108247; c=relaxed/simple; bh=drOK/2BSX9cUs46n/VwOO/+8uT1EhLUgKgJ7HYbRxIU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=muvYXr4M4LY+ebbupFaMnDU0IqUyv1p8CUF0jOMe9a7GoCntzDwsT8GJuzi6U2M0U6++5qG6BGDzM1oby1Dm56jpRyDdprW/BozKm+GplAvowhX4Kky9hU+ChKj5u3vE+fydf3iHiNOVoLTjIOc8FJLy1UIEcMwMjreTQEAHoBE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=F3YjX8HV; 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="F3YjX8HV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0801FC433C7; Wed, 28 Feb 2024 08:17:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709108246; bh=drOK/2BSX9cUs46n/VwOO/+8uT1EhLUgKgJ7HYbRxIU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=F3YjX8HVWbveWiHJ6Id2/7k9HJmn9a6ETaOSiS4UWPFXxsIXQadhKs9orkOxNMT7R r1mvdiaLqGd/2KiJI6w9fBrJXHlawgT4z/SYgTDqZDQrDOtN0ZnmVi5qYzsaXwKvZ9 +80DdmC0PHJhzzU2AQYL4Sf+PqXwBfHa7TVl8Ras= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: gregkh@kernel.org Subject: CVE-2021-47031: mt76: mt7921: fix memory leak in mt7921_coredump_work Date: Wed, 28 Feb 2024 09:15:19 +0100 Message-ID: <2024022835-CVE-2021-47031-75a5@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=1722; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Byuf/NmpgHO+xH4evt2Im1w8VSY/R6I7OWsZKxd2Cpk=; b=owGbwMvMwCRo6H6F97bub03G02pJDKn3Xme/WDHpppaapTzvm/jM7el57f58uffrlrn+/NW9M SLSIXpFRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExE6ijD/OCSM68mdjZULuJ5 syWz9Lxqo83cIwyz2b/ccI7Meu0lOdVdvyO4wSS6cFopAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: gregkh@kernel.org Description =========== In the Linux kernel, the following vulnerability has been resolved: mt76: mt7921: fix memory leak in mt7921_coredump_work Fix possible memory leak in mt7921_coredump_work. The Linux kernel CVE team has assigned CVE-2021-47031 to this issue. Affected and fixed versions =========================== Issue introduced in 5.12 with commit 1c099ab44727c and fixed in 5.12.4 with commit 481122637445 Issue introduced in 5.12 with commit 1c099ab44727c and fixed in 5.13 with commit 782b3e86ea97 Please see https://www.kernel.org or 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-2021-47031 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/mt7921/mac.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/4811226374453607175ea057777faa7e7f752204 https://git.kernel.org/stable/c/782b3e86ea970e899f8e723db9f64708a15ca30e