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 BD2E32C1A7 for ; Wed, 28 Feb 2024 08:17:31 +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=1709108251; cv=none; b=rhBOoI2AozIiI7nB8HzreyGX/NvzgRVmVfELAT3rxJUzy2qd0WOX8Wtt2oJmFQv/5O241i2i2xQjFMr4ZdZfUUaiAeKm5C80EsUa4hmc/L+ZQnYTHG050yP2iI4UIBvUPCxWKm6lj9fLDcu+VoSyZcgBBnBhka6p84IfgcivwRA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709108251; c=relaxed/simple; bh=bt48UdZUWGnYZ4nsDZlaGOiQ0tXzVHtm8kniitp1Gwg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TFtEt411EsymQSQYYPq9UiwpsVOTBVHa6MVSCd3ZSIkRHZtfIi+9VCBCwcmS3bo/vBMgMepTvuQRMfGGKl3WMLLVrC9mcxd8l2sCcvqLWF/BLSD0pUNry4gvMCJwp2mlcp/SJ9ZdYy9uKU5Ku0+6Wn0qNTNQvMQE3UX+TVCY5t4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gjBtIbIQ; 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="gjBtIbIQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4CFCCC433C7; Wed, 28 Feb 2024 08:17:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709108251; bh=bt48UdZUWGnYZ4nsDZlaGOiQ0tXzVHtm8kniitp1Gwg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=gjBtIbIQ94JEDbIhfxm12o3dU/tqyCcIqPcVyBt4FuBes3wnw5n80xjpk4KS+0gMG 9++guzOkNtSsb21N86EWpPqXetgTDlz0/HgJ7vKVM7Kw3uioD4ISQoTJ/Tzm8EY1W6 yZftWpVw5O5RqQeC6Zz6rPILYbYdG31zQ4F7kGfI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: gregkh@kernel.org Subject: CVE-2021-47033: mt76: mt7615: fix tx skb dma unmap Date: Wed, 28 Feb 2024 09:15:21 +0100 Message-ID: <2024022836-CVE-2021-47033-4d0d@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=ByZ1U2OSsPIo67hizZQ5fn5nZFjic1JTIfKM1V9NAyM=; b=owGbwMvMwCRo6H6F97bub03G02pJDKn3XufY7Q6cXZaX514z5/LmfyxZL8r0ogXnv57r5bJw4 s/VByr2d8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEVukyzGTM07lS8ejWI5mb P0/GbpqUaf9EgJlhFlNFlN2NbI6Ny1pshDmd02346kxdAQ== 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: mt7615: 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-47033 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit 27d5c528a7ca and fixed in 5.10.37 with commit 75bc5f779a76 Issue introduced in 5.10 with commit 27d5c528a7ca and fixed in 5.11.21 with commit a025277a80ad Issue introduced in 5.10 with commit 27d5c528a7ca and fixed in 5.12.4 with commit 821ae236ccea Issue introduced in 5.10 with commit 27d5c528a7ca and fixed in 5.13 with commit ebee7885bb12 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-47033 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/mt7615/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/75bc5f779a7664d1fc19cb915039439c6e58bb94 https://git.kernel.org/stable/c/a025277a80add18c33d01042525a74fe5b875f25 https://git.kernel.org/stable/c/821ae236ccea989a1fcc6abfc4d5b74ad4ba39d2 https://git.kernel.org/stable/c/ebee7885bb12a8fe2c2f9bac87dbd87a05b645f9