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 DF7173469E7 for ; Sat, 25 Jul 2026 08:52:13 +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=1784969534; cv=none; b=cr4DXoqXxw/PktPeiO6Plmfr/1x1LFuRTOUHrBMIp4HF5+flkVFHFDmUa4EDYyyXuRBiKBDnbNAGkynJYV9N81PmM96jEK5Feu+O+E1cCZT4gP117iaNfSer4vHI2rvIfopFmUKQyzq25u/3WkGhgYUVcshX1xgxPoZGznxGwmI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784969534; c=relaxed/simple; bh=/PEV/96tL7IeQaV6YFXp57nvXNsU92kBu4Ax2foSVKQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nsxwVy+zyW40YqTVVuF+UbEuZHcRwvJYEkdmWlHj/qP6VZUDU9CUVMbzDC9pFwX0+j28qoP3JErpw0AfVOa3yWUTtSY+GFpiD4BxncPNz/EFM7KixIxqIYHyGliXgukhuzfFpZpXElsAIoUMzSZcatUysjTonviJodr59Th/TuE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sI+vtOeZ; 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="sI+vtOeZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 073611F000E9; Sat, 25 Jul 2026 08:52:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784969533; bh=m4q4j8RMR4qXxXZmWEI17j6i96pVxvOAtaMbcJDPH9Y=; h=From:To:Cc:Subject:Date:Reply-To; b=sI+vtOeZGQ7m0VFJ+D2qxWi9/iUrWV3yb6puPpK1R1M1utQDehXwg2gTjkmUlJpn1 I0GVowixAHDiotwQ7uvSrRba8IxFiJaBJqFkw6hZJTmNkifBEBIz6foTWb3FA22jve DEmfvwSX4PQhdfka18TsV1lNtx6YU3SaY8UIJwoc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64291: iommufd: Set veventq_depth upper bound Date: Sat, 25 Jul 2026 10:48:28 +0200 Message-ID: <2026072504-CVE-2026-64291-7b0c@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=2359; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=u2jZiJEE6O6/7Z7TNowlfTmjBGJvdQmcr9AjYsBfxsE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkpFS62Lo26ZeeE4lJ1t/C2s0u/eO8tbCG7OUv8/9zKv qrZHvUdsSwMgkwMsmKKLF+28RzdX3FI0cvQ9jTMHFYmkCEMXJwCMJF1XAxzBdMZIt+kxz3onqXL tKdXhZ1Det9bhnm6na5nHuxWZZQJ79TRbrN4l1TqcRoA 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: Set veventq_depth upper bound iommufd_veventq_alloc() accepts any !0 veventq_depth from userspace, with an upper bound at U32_MAX. This leaves a vulnerability where userspace can allocate excessively large queues to exhaust kernel memory reserves. Cap the veventq_depth (maximum number of entries) to 1 << 19, matching the maximum number of entries in the SMMUv3 EVTQ (the largest use case today). The Linux kernel CVE team has assigned CVE-2026-64291 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit e36ba5ab808ef6237c3148d469c8238674230e2b and fixed in 6.18.39 with commit f565297edf316016be4a1a9e2eb9f39359313f43 Issue introduced in 6.15 with commit e36ba5ab808ef6237c3148d469c8238674230e2b and fixed in 7.1.4 with commit e7b5e55652746b1221b9c10ff80eae8a154101ba Issue introduced in 6.15 with commit e36ba5ab808ef6237c3148d469c8238674230e2b and fixed in 7.2-rc1 with commit 6ebf2eb46fbd5b40393ff8fbb847ba96925beaff 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-64291 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/eventq.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/f565297edf316016be4a1a9e2eb9f39359313f43 https://git.kernel.org/stable/c/e7b5e55652746b1221b9c10ff80eae8a154101ba https://git.kernel.org/stable/c/6ebf2eb46fbd5b40393ff8fbb847ba96925beaff