From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 396123A9612 for ; Sun, 19 Jul 2026 15:46:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784475981; cv=none; b=qhwzFO56GdQfMSxB9zaawhBV72k5QpK92l6LckXVAgv+UXdyPqCclFDYriC1SByUH/lyradx5gG3cwq3IQSty9C79pb815sSM2p0vjnipB5RSCOP4mztUtWSsifRFhtvWNaEkNU0h0P6a+eIdWJK11cjgsQP5ny+at7iXgpbTQE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784475981; c=relaxed/simple; bh=ab+TDs3imkiLjTVWnOiMhZBxFGqwbU1/Cv2syxusMMc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=DqXk28LSPTkxS5wU7kxYDT20OkG3/GvtN2mPOYiBTAV8AmfUEXu7TUQT8344Z/optkqj1HLI4aopRa3ecB2tyHfP1EXdMnc9dsdkitGcUQoPgktv+ujYjTx/9IfgAznusoAXxkcBPbA4BlBO3qb7hRZxN3uMQx2/SrTyLq/rczI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=eAoUtM12; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="eAoUtM12" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7FE5A1F000E9; Sun, 19 Jul 2026 15:46:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784475980; bh=AimMbQzwCcDIoKE8kIbWstxTis+Zkl3MpM+5prVh0js=; h=From:To:Cc:Subject:Date:Reply-To; b=eAoUtM12v9W79bMjC5vlfk7X/8Oa3GodW/RA7TWPVkfYLxCZHwjQbygfaawoN5iFm uQsA+gcRAMkodPoj8tolE0TzR7xp06JyKVSEjzH1bBSqznm/lTNig55lS393rBmhCH BzRxyMev9ClFf61VyfojhU+GK3pvvC8uSuKmAyPs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64152: iommu: Handle unmap error when iommu_debug is enabled Date: Sun, 19 Jul 2026 17:40:14 +0200 Message-ID: <2026071931-CVE-2026-64152-0751@gregkh> X-Mailer: git-send-email 2.55.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=2306; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=DUiMlq+9KcXpz1rmYPUcMnlHmWNrIXa7mHKL6GnVmwA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkx7ys+M8md/r31xGrDfvVcHuE1z7+uaVMUzlhT82CF5 cHt886YdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEJjkxzNO3PiRWquq50HdR /cmPCVbJbH5OvxjmB8yviHzseVGgU6xj/7ItC4ViTq/+AQA= 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: Handle unmap error when iommu_debug is enabled Sashiko noticed a latent bug where the map error flow called iommu_unmap() which calls iommu_debug_unmap_begin()/iommu_debug_unmap_end() however since this is an error path the map flow never actually established the original iommu_debug_map() it will malfunction. Lift the unmap error handling into iommu_map_nosync() and reorder it so the trace_map()/iommu_debug_map() records the partial mapping and then immediately unmaps it. This avoid creating the unbalanced tracking and provides saner tracing instead of a unmap unmatched to any map. The Linux kernel CVE team has assigned CVE-2026-64152 to this issue. Affected and fixed versions =========================== Issue introduced in 7.0 with commit ccc21213f013834b484cdcc738e282f963fcfc97 and fixed in 7.0.11 with commit 0cd028806efc148a75d4acf711d21db335a89661 Issue introduced in 7.0 with commit ccc21213f013834b484cdcc738e282f963fcfc97 and fixed in 7.1 with commit 0735c54804c709d1b292f3b6947cfb560b2ce552 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-2026-64152 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/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/0cd028806efc148a75d4acf711d21db335a89661 https://git.kernel.org/stable/c/0735c54804c709d1b292f3b6947cfb560b2ce552