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 B2AF0426EB1 for ; Wed, 4 Feb 2026 16:19:12 +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=1770221952; cv=none; b=i3zCmpS0zKJEIp8Dpl1Ul7UbdHZYjd3XYJbrjIFZHR+AaqNxiQmyk4w6vE4WAj4wEdGvS5OUuA1DjIz4EyGBUjFfyoAeZEyWMMyBsYWGB6XLpw/WO/GApNnPAq0VPWNcdvABCAtU6vZq7SyDZwcuQApQNL+X3NI7pj/qmJTN0sg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770221952; c=relaxed/simple; bh=YhywqUq5klMF8sXQb/ntIPwSPYbtLmZBBnJ5QCkMxmA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XBzKns5NvDkwoIGTBx2G84wgMOZglF8ToB2s9nKXdvA794DSg9Pj7DGYQv68ZYlptdi5Rwyc4oYO0Nt2XHT7cIn83QEP3S38C91nYa07y9FVZjM9j9UHoOr3FiaU6CHCNKIHDiUU4mnVXuerHtviPppwVhCs2ddgsh5n/7ZmZuE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CiWSooWx; 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="CiWSooWx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AAB8CC4CEF7; Wed, 4 Feb 2026 16:19:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1770221952; bh=YhywqUq5klMF8sXQb/ntIPwSPYbtLmZBBnJ5QCkMxmA=; h=From:To:Cc:Subject:Date:Reply-To:From; b=CiWSooWxG1GD0BaaYq0e8Sl/nUiAVbmtd9X8QGSLDW25m5MmArJmFNyMNL2p/Fmw9 bugWf4YWVczbSgqwQH7Gx7gxuIEQ+ha5kRN9BG0Nqkgbbv5sC/Z72iSUTj+6d7re9R 4pxtDmeXm/uC9GMqjwgjaEZpJzd29/xibJhakgpM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23067: iommu/io-pgtable-arm: fix size_t signedness bug in unmap path Date: Wed, 4 Feb 2026 17:14:26 +0100 Message-ID: <2026020417-CVE-2026-23067-b41f@gregkh> X-Mailer: git-send-email 2.53.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=2727; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=S0DRv+JLRVsn7jqyMety/+sih6FNr+nEkYBen25A7sc=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnNBZHX6u0YxeZnT1flvisjri8sY/pl+/3wVRO3T+n5L jHvcdXNjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIgDvDXOEDLQsD86IP6G7N E1q5YePK9Ak1txkWnPbfPTfi4Lfjuas3ftC/H37s7sG75wA= 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/io-pgtable-arm: fix size_t signedness bug in unmap path __arm_lpae_unmap() returns size_t but was returning -ENOENT (negative error code) when encountering an unmapped PTE. Since size_t is unsigned, -ENOENT (typically -2) becomes a huge positive value (0xFFFFFFFFFFFFFFFE on 64-bit systems). This corrupted value propagates through the call chain: __arm_lpae_unmap() returns -ENOENT as size_t -> arm_lpae_unmap_pages() returns it -> __iommu_unmap() adds it to iova address -> iommu_pgsize() triggers BUG_ON due to corrupted iova This can cause IOVA address overflow in __iommu_unmap() loop and trigger BUG_ON in iommu_pgsize() from invalid address alignment. Fix by returning 0 instead of -ENOENT. The WARN_ON already signals the error condition, and returning 0 (meaning "nothing unmapped") is the correct semantic for size_t return type. This matches the behavior of other io-pgtable implementations (io-pgtable-arm-v7s, io-pgtable-dart) which return 0 on error conditions. The Linux kernel CVE team has assigned CVE-2026-23067 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 3318f7b5cefbff96b1bb49584ac38d2c9997a830 and fixed in 6.18.8 with commit 41ec6988547819756fb65e94fc24f3e0dddf84ac Issue introduced in 6.16 with commit 3318f7b5cefbff96b1bb49584ac38d2c9997a830 and fixed in 6.19-rc7 with commit 374e7af67d9d9d6103c2cfc8eb32abfecf3a2fd8 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-23067 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/io-pgtable-arm.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/41ec6988547819756fb65e94fc24f3e0dddf84ac https://git.kernel.org/stable/c/374e7af67d9d9d6103c2cfc8eb32abfecf3a2fd8