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 2AA9730FC2E for ; Tue, 13 Jan 2026 15:32:39 +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=1768318359; cv=none; b=jPFerhzve00i8rV33c7MuiJ4XGqRbkA5p55B4cleih6gDQYKRzFw+BZ9XTVuV7G8rTm11z4rtnOqNb9ymRhAaG0ONXLRpeyMeNphLDqkmJy7ByxQZ8kf5BIumZGaM1pAEaKZK7Pqf8lf0dN0s6Xz2Oif4n3cZHQW9YwHMtqkaqo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768318359; c=relaxed/simple; bh=Z4k4I1RT2YEiBROSnnzDf3hIgMwvveLff1j7Q12fgaU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=g1ZbnCBXnqgzm3YSSPYhdOrEqvEyD3/A5fH/XnK6lkKLSp1uEMiGuUrtXEqmdw/7WHgylCXCLYA2o6oxxUjLIW0aHcAINcDbl6f4lOSniw+uTcUhwBeksoyIlR2Ii8CP2wSVzwKRpt9rIP5rmgW7B8q/UOyZFd4sRSlfLw8F3ZA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hn1qkuZ/; 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="hn1qkuZ/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 81651C116C6; Tue, 13 Jan 2026 15:32:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768318358; bh=Z4k4I1RT2YEiBROSnnzDf3hIgMwvveLff1j7Q12fgaU=; h=From:To:Cc:Subject:Date:Reply-To:From; b=hn1qkuZ/fBzA6yVDE+mZlIsAAqcL+zLanDiGoc3OkDJfuT5U7Njj7yDbCddx84M9f rYk72co6r2Xhlz62cnx83W73uPAjaOjiPbjsalhNtDgapENUkjnj/UjX3NCiLdWK/i vF2FqHEJ7HaKFv4QS23f/f6PnCOzVlfGR4nJFEUw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71071: iommu/mediatek: fix use-after-free on probe deferral Date: Tue, 13 Jan 2026 16:31:29 +0100 Message-ID: <2026011325-CVE-2025-71071-67e9@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2884; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SEr+y9Max/6Hzu10PFSPWtIbMxXItx+sAefVHfI7ls8=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlpqb635892+c9m1ZjziyG2lDvqd+pGdcf2p4LcwUm7U 73ardU7YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgFYCLlCgzzTF3f6tVevd6upPgj fu2ia7e2dQcsYFiw9KliYP2jk7Me1i0wa45Ul0zM/6gIAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: iommu/mediatek: fix use-after-free on probe deferral The driver is dropping the references taken to the larb devices during probe after successful lookup as well as on errors. This can potentially lead to a use-after-free in case a larb device has not yet been bound to its driver so that the iommu driver probe defers. Fix this by keeping the references as expected while the iommu driver is bound. The Linux kernel CVE team has assigned CVE-2025-71071 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1.2 with commit 8412e5dd24ffc8bc21a00bfaa0b80d4596cdc9da and fixed in 6.1.160 with commit 896ec55da3b90bdb9fc04fedc17ad8c359b2eee5 Issue introduced in 6.2 with commit 26593928564cf5b576ff05d3cbd958f57c9534bb and fixed in 6.6.120 with commit 5c04217d06a1161aaf36267e9d971ab6f847d5a7 Issue introduced in 6.2 with commit 26593928564cf5b576ff05d3cbd958f57c9534bb and fixed in 6.12.64 with commit 1ef70a0b104ae8011811f60bcfaa55ff49385171 Issue introduced in 6.2 with commit 26593928564cf5b576ff05d3cbd958f57c9534bb and fixed in 6.18.3 with commit f6c08d3aa441bbc1956e9d65f1cbb89113a5aa8a Issue introduced in 6.2 with commit 26593928564cf5b576ff05d3cbd958f57c9534bb and fixed in 6.19-rc1 with commit de83d4617f9fe059623e97acf7e1e10d209625b5 Issue introduced in 6.0.16 with commit 51080de72e26771f0ed9d44982974279ccbc92b8 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-2025-71071 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/iommu/mtk_iommu.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/896ec55da3b90bdb9fc04fedc17ad8c359b2eee5 https://git.kernel.org/stable/c/5c04217d06a1161aaf36267e9d971ab6f847d5a7 https://git.kernel.org/stable/c/1ef70a0b104ae8011811f60bcfaa55ff49385171 https://git.kernel.org/stable/c/f6c08d3aa441bbc1956e9d65f1cbb89113a5aa8a https://git.kernel.org/stable/c/de83d4617f9fe059623e97acf7e1e10d209625b5