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 1FE2AEC2 for ; Thu, 6 Mar 2025 16:22:53 +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=1741278174; cv=none; b=GCyaojDMk4DGUO9uwaPQFQnnvPzS4PqtVXEOrP//cWMwDWneuEMhp06v5HimDcgVA5qOkmguNfT3T2Qb/xp16yzDK/TStqcVs+m0AOh236J5Tsx1Fe9O7EbYp0MBi7U1PRN0zV49dTvokiaIuX6JbGoFyIG00QZsAcOrv9t7o18= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741278174; c=relaxed/simple; bh=ov+HP198TesM59VSebGVqLx9FFYMuQgzRDjNi9WqO+k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=W7VBKjibJxYkeIlLzLkwYcd2txfVCab/HwltghbjBM8j69QVDSxNBcJsFmYnIVVuZibuWElCiWAiY+WAECLSUD9MQuGrY9TmFRbyBzxuAr8/9eJU+gHv0aVQsrurvdOH8RBIzAYOUyUvbG6aueQbgHwpmURYawkMJzw+Sp3uIaI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Fvl3t3pb; 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="Fvl3t3pb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 401F2C4CEE8; Thu, 6 Mar 2025 16:22:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1741278173; bh=ov+HP198TesM59VSebGVqLx9FFYMuQgzRDjNi9WqO+k=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Fvl3t3pb0H+YsHV7wuSiP5TioMhSCAouqYNSKxwgGP+FxF91F0PWWQKYaINR1YFwh TfFv761WT/XbsWxCPr/DwpaJbRR60LxzGpOdIHJuZpmN9DUUiyMrbxJyyVXnqCp31V M63KUMy/lx5dbdR+9+hHEQ9vmo2Bw/PDdofQ20hA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-21833: iommu/vt-d: Avoid use of NULL after WARN_ON_ONCE Date: Thu, 6 Mar 2025 17:22:39 +0100 Message-ID: <2025030635-CVE-2025-21833-dd2d@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=1776; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ov+HP198TesM59VSebGVqLx9FFYMuQgzRDjNi9WqO+k=; b=owGbwMvMwCRo6H6F97bub03G02pJDOknT59mWnEg1zbtqmz4C1Vph33Zy9R8dqm1e6e4S+36F bMnc3NdRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExk2RaG+fXXRGRNImpZhBr+ hs4Q3pSRHGgoyjC/Um9XrGKM06J5AibvcwTU9tgVMqQDAA== 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: iommu/vt-d: Avoid use of NULL after WARN_ON_ONCE There is a WARN_ON_ONCE to catch an unlikely situation when domain_remove_dev_pasid can't find the `pasid`. In case it nevertheless happens we must avoid using a NULL pointer. The Linux kernel CVE team has assigned CVE-2025-21833 to this issue. Affected and fixed versions =========================== Fixed in 6.13.3 with commit df96876be3b064aefc493f760e0639765d13ed0d Fixed in 6.14-rc1 with commit 60f030f7418d3f1d94f2fb207fe3080e1844630b 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-21833 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/intel/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/df96876be3b064aefc493f760e0639765d13ed0d https://git.kernel.org/stable/c/60f030f7418d3f1d94f2fb207fe3080e1844630b