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=1792758863; b=qO+AhSdUWeoGn/YExvUplhRaUgcW5cVPjTwNAqOzgL/XEON5HpgqEc0WwxVbSzFqFej1 ZLhV57rXVJtQ/4l6NqSEAZym7J2sEpvKdNgNuMRumeFFsD4RNmhk8YX+JE8YM7q7pQplH Vmf3B9t2aL2XUE3S8TRA0XB5pNKOz49etiUvtJFpE4iV1gVDAUWn4FjB/+Q8TcRVrYOQ9 WF8GJCwbxbRBBPIndcdNJrMBrcGfI8atkUGDTgOm4Nw11Z/vw+P0QTb10Gig8ody0tuOx jLy+AP/xvXgplwXo5lCWsFtM3UlHmt2MxbJsyuk8lumQ/308HKUtI1x7dqcU7LzN2eA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792758863; 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=KhFaAXlxib8PpiXx6k3gWSgfArqvaxVMZClLJ6dzrX0=; b=OXxye7rbpBIAvjrX6CMQ+rZRY4orsnFj4A6CTQeGv3IPjkajSId9xUM5X8NYdakD7IwK NTeX6CGtfVfRMWkqYo0/MbeifegSJ9556aONEFGkmonFKay2BnuRQhsQnJbWR4wUiEFXV nmgvyCIUmZOnAoxsfLQYU996tbTta1oyIcH0AyABOcWBy+67lxVD5+jQyoX6s6crPeVz2 SclNRToiTK4I6PvwPM3DjUR0KnRlLIM7i6x+dBdo8qa7k/NPqkU7Zhc0pH94OTkulTUS7 ylJVmzpuQ3493txttXv1LISurfUPsmnZr00MC5WHfEK1xopU4UfGEDerh3ALOzc2a3g== 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=ftQI613C; 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 62194606A31B for ; Fri, 23 Oct 2026 12:34:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=ftQI613C Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54BB71F01825; Fri, 23 Oct 2026 12:34:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792758863; bh=KhFaAXlxib8PpiXx6k3gWSgfArqvaxVMZClLJ6dzrX0=; h=From:To:Cc:Subject:Date:Reply-To; b=ftQI613CSpBhgusdyt6g99NcRCOX9kzL8UjfcTF1KdvMjbXZ8cTtoq4ME81xM6Fy7 ITjq2VLOMi+PYZ8b3vNy9MkA0IOKfDeptRG54SQBp91RHXlg0js7C3uziA54+V4onK yMwwfkmXjEY4GBcVdFo9uqRzHrOyGckWDPUKZS2U= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99004: drm/imagination: Size page table preallocation by device address Date: Fri, 23 Oct 2026 14:20:06 +0200 Message-ID: <2026102318-CVE-2026-99004-c99f@gregkh> X-Mailer: git-send-email 2.56.0 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=3178; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=UCGVkXNZqpyzEUD6arnxwh67zgLuW7rLmh8byy14KhU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3A47ViNtMWTb/BdecDzyiZuZ7/idua+vZ8WDLd5eIi A11pe0BHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR9LcMCzZez1zLHti8X+mN YtQdliifi7ynljPMFXRTLrbPEzCNjltpmnR5yZN83bLvAA== 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: drm/imagination: Size page table preallocation by device address Commit 0a8224058a58 ("drm/imagination: Fix page count for page table for map() interface") passed the device address to pvr_mmu_op_context_create(), but the preallocation is still sized from device_addr + sgt_offset with an exclusive end. The offset into the object's pages has no place in a device-virtual range, and the exclusive end allocates one table too many when the range ends on a table boundary. Count the tables from device_addr and the inclusive end of the range. The new calculation does not take page table indices into account. This fixes another issue with the previous implementation, where the difference between start and end indices could underflow when a mapping crossed a page table boundary. This would lead to the driver preallocating a huge number of MMU pages, exhausting system memory and triggering an out of memory panic. [Alessio: add paragraph to point out OOM bug being fixed, cc stable] The Linux kernel CVE team has assigned CVE-2026-99004 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit ff5f643de0bf27874c4033cd57a0bd034b5c7d11 and fixed in 6.12.113 with commit 51b56bad96fd20127034f660b337c00317c65151 Issue introduced in 6.8 with commit ff5f643de0bf27874c4033cd57a0bd034b5c7d11 and fixed in 6.18.57 with commit f9b215b3e37a5047c406545de51bf8a2aeb4cd1c Issue introduced in 6.8 with commit ff5f643de0bf27874c4033cd57a0bd034b5c7d11 and fixed in 7.2.11 with commit 7f73da0facf864fe796371ebaccacb1fee678aaf Issue introduced in 6.8 with commit ff5f643de0bf27874c4033cd57a0bd034b5c7d11 and fixed in 7.3 with commit 789f290b2e81d42820bddcb4010ffbc2ae2ded54 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-99004 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/gpu/drm/imagination/pvr_mmu.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/51b56bad96fd20127034f660b337c00317c65151 https://git.kernel.org/stable/c/f9b215b3e37a5047c406545de51bf8a2aeb4cd1c https://git.kernel.org/stable/c/7f73da0facf864fe796371ebaccacb1fee678aaf https://git.kernel.org/stable/c/789f290b2e81d42820bddcb4010ffbc2ae2ded54