From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795153984; b=cehG0+z3gu0NRon3q9MazA0K87zhVShPzudjvu1m2KRDsVSL6kv+aoAHbClQhdJ5oxH/ +lZEPB7DiMUZW9WTa31Xu1cQoxOg/7i3TJRxTMZ7CUZlxjaDZoYVbAeNmVbxhR0y41WZB 4R7AbG4m9RDYQJJH6Wpb4VvWYGhe5c6uzBGhJM9tZGGv/StiVd7PWxOZCtww2dBiJHah2 +RC/HQXPI8XINPYz/wUJzA867HdXfTxjltcjN15K6PFs/X60FcmDU3g0FA3Ami71u0jRm zFp2GbV1bfsnlBcmZToSweEdC4oJjCFl2O4DlDKxp0HnC+X3YYS+ZoTvGj1KLsONrlA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795153984; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=q7+TpBZNCCF4lWypt6RvEa+KwtvEMwqvwdvDnlCc/8k=; b=H1Q31rPKmXJXZl8bD970ng/WvaLsAbGcoOvv1CX9yxtwylWK7wpuBrTeQxuwK/hCxHpx SYEVJ6qU06D8fkIQJsE2ozCoK9szsKQhAp9IhLlSGUDSOShOFkQHnOSCAK9H5JHgoLmso i1dENAY19TzKhuULNNJfKNnqEJqqC9cxSL1TP8M16gP6xZKIT4pexbkhchEiZHa1TS680 K0wXuN7rIHmuqPzjQqjs4IgGuHP1iJPA/oTkEiOvzxDwBPyey65hztqqthqSGLgqoveWj qjWrk6Du3usmZpyJ65Wo3PztQNXE40gJlr6ReT8L7ddCan6ll6mbqQJzOJEc5Q31NFQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=GHWHsGsm; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9891A606A320 for ; Fri, 20 Nov 2026 05:53:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=GHWHsGsm Received: by smtp.kernel.org (Postfix) with ESMTPSA id E60401F000C6; Fri, 20 Nov 2026 05:53:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795153984; bh=q7+TpBZNCCF4lWypt6RvEa+KwtvEMwqvwdvDnlCc/8k=; h=From:To:Cc:Subject:Date:Reply-To; b=GHWHsGsm+hQehU8LRie/bB8MMcdGFaN/UwLo4HHgjtXIo8vd21xISn/hxXXeNToqm G/EZz657VGTwcC3q58wJdWEFOFi4jbsMCbmrdG3VartE1J6v/OiQyTNO70JYoeiR76 sGw0bJ4ZCDD0jiaUGZnUTP0bv0oMrXxKt2h6Siks= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99568: iommufd/iova_bitmap: Ensure that iova_bitmap_set() handles the full IOVA Date: Fri, 20 Nov 2026 06:49:14 +0100 Message-ID: <2026112014-CVE-2026-99568-1bef@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2878; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1ulmuqinzDCki0dBwbnlGzRX3T4ZYoB8wxOUQL5R3jI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/70cx75q8wuRnwva+uW5b+a2SFQ2/3NB8amnwKEbvq BjTgxeJHTEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARpcUMC9bHbq04+aUt5dRa hndP+A4d/M+Wf5dhxj3WKWfv9jP+ZjT1Nc9SEFROLN0GAA== 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: iommufd/iova_bitmap: Ensure that iova_bitmap_set() handles the full IOVA Generally userspace is going to step the dirty bitmap through the IOVA space. However if the bitmap ends in the middle of a large PTE this is problematic. The first step will clear the dirty bit and report dirty to the end of its bitmap while the second step will see the clear'd dirty and report clean for the start of the bitmap. If it happens this ends up losing dirties. Further this function is missing bounds checking so if this does happen ther is a good chance it will write memory beyond what the userspace was expecting. Return an error code if this illegal condition happens. The Linux kernel CVE team has assigned CVE-2026-99568 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1 with commit 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1 and fixed in 6.12.118 with commit f41d317be00767e81ce0a664fa37ab829654ab8d Issue introduced in 6.1 with commit 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1 and fixed in 6.18.64 with commit 63ff69e265bec1712d2b7105e7c1556f73a3080f Issue introduced in 6.1 with commit 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1 and fixed in 7.3.5 with commit dd2f8565e68cac312451926ce2e3883923caf081 Issue introduced in 6.1 with commit 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1 and fixed in 7.4-rc1 with commit e21952d72b4740f08a272d694cca223b6b0099ca 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-99568 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/iommufd/iova_bitmap.c include/uapi/linux/iommufd.h 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/f41d317be00767e81ce0a664fa37ab829654ab8d https://git.kernel.org/stable/c/63ff69e265bec1712d2b7105e7c1556f73a3080f https://git.kernel.org/stable/c/dd2f8565e68cac312451926ce2e3883923caf081 https://git.kernel.org/stable/c/e21952d72b4740f08a272d694cca223b6b0099ca