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 317102C1AD for ; Wed, 28 Feb 2024 08:17:29 +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=1709108249; cv=none; b=s//6VwAJlIJbXXVTtz1woq/Y6lObm8Gjr5bMM8Jq+DOLh8FHusEeJHzHxZ6rKj+vzhJsR721UuQuCb4vn9HMmLNz08rBqVV78SUM0dtXZVElxLCWTpNqgyIeAE8kMFLXmCJgRHnPCut4PiPP2SMUAn9O1Hn+9hMqRailoshGBlw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709108249; c=relaxed/simple; bh=+jSWApVh2tfan0J3fPPwJ0UqBTVv08iwa1z1mKx+mso=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CcUHZPgPqawi1RXzur4wcoOJu+F+zGQUx5mEtUZn6br9XYdSaFKriGb+6bfvikIL9PlI/YDjOow+bTeOWDw4WpG2wZefPW5bmCXaLDKAe1hH8UwHaSye68bxDOCLFISzQe6pV7jPLROd70lkfi4aiM/NlI3qh+RCx202hE7tZjM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=o0JXvlLt; 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="o0JXvlLt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3F21C433F1; Wed, 28 Feb 2024 08:17:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709108249; bh=+jSWApVh2tfan0J3fPPwJ0UqBTVv08iwa1z1mKx+mso=; h=From:To:Cc:Subject:Date:Reply-to:From; b=o0JXvlLtBUL1CSjXVcNKTbsOSWnujj8OqsU99LlUWfM5LuSsU7e9Uj/214Y6MBkZt K3Jlqxd3chVGlFrc31lQwiyfNyonNFGLgOUeW2BbcsGcpB3c+BgVf8m4HMbDdwHbAB vU5cSx3SsZ+Ta1wAqYpBRSiyL9RlTNnlrU98g45c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: gregkh@kernel.org Subject: CVE-2021-47032: mt76: mt7915: fix tx skb dma unmap Date: Wed, 28 Feb 2024 09:15:20 +0100 Message-ID: <2024022835-CVE-2021-47032-b4df@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=2100; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=bA5UIhFiEV+MbBGDMisFa10+B2xSnoBe7htsniEyRo4=; b=owGbwMvMwCRo6H6F97bub03G02pJDKn3XufMPyWdK2/Qv7RCOsZbkfHR0ez/TP2tfx4+vO+/Y 5/vUqs1HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARnskM8/RO7w77JyDAW+6x 81/K/SdT3vfc0WBYcMhUYNcmBY019tI/WXb81vwmdar+DgA= 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: mt7915: fix tx skb dma unmap The first pointer in the txp needs to be unmapped as well, otherwise it will leak DMA mapping entries The Linux kernel CVE team has assigned CVE-2021-47032 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit 27d5c528a7ca and fixed in 5.10.37 with commit 4e7914ce2330 Issue introduced in 5.10 with commit 27d5c528a7ca and fixed in 5.11.21 with commit 4a9dcd6efb2a Issue introduced in 5.10 with commit 27d5c528a7ca and fixed in 5.12.4 with commit e2cdc9cb33c5 Issue introduced in 5.10 with commit 27d5c528a7ca and fixed in 5.13 with commit 7dcf3c04f0ac 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-47032 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/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/4e7914ce23306b28d377ec395e00e5fde0e6f96e https://git.kernel.org/stable/c/4a9dcd6efb2a268fc5707dcfb3b0c412975c4462 https://git.kernel.org/stable/c/e2cdc9cb33c5963efe1a7c022753386f9463d1b7 https://git.kernel.org/stable/c/7dcf3c04f0aca746517a77433b33d40868ca4749