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=1792758571; b=qdxFyfVmWmxKgAV0xtsyjlM4ZK8RMPs+Mx1Is2BIPcsVln9A/bakaru7pQnKit2N7udN xzUT0aOJBRMRyPsTFbz31Hi4KhazXqd/IxYUCTulil9xDrhMuZC6czHrvOlVRMXgyYpDM QmZ0FaPvA/npY8Chw4zQtLysm7wZ0q+axuV7lqGGy5AO3bhCAW/rIPaVROfbmKpOBAEXB hlewQxjo+6QXBdyASVYnD6gD3/+LOzynRiJ453GKHkZcS+NAItHx2OKMkOsuC25Iaf6rz VBHtUNudKxRlNmMB+5b6L9mHJwHu3bX8XddyOg19zQlSRoHBZ1eFvgWu0+v7AwZlf6A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792758571; 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=AXR0d9mq5CLabf2CrA8oj8qqMoMkGW4QlJWVOFGsghw=; b=MW3jeDGlcdoSZz9qZms74xon72GuCANDZElZn4hx288jqrXAUwTEjgwl9c0rUlnxg0hP j36r3egzkPqPmoTjmG1QfXJVJhdygk2JSMnoaSwOvIvY+L5mIrLEA93oWqXta/7igF5NK tPzPnqZ7Ir2bpE6i7s1inS/qULqzwzR6dwYtYJ9xaJEkETAYQ7FojlaNAsQgkHygd4jQd xGr1L2PKUuNn0vkMHzP86kbBWRO+94agkEZEFA0XAdmN85/dqSCnKiUEybUX/LOnIDByR rZYNmCwQmWltLhF6mldlg6pU0uCmL+wZU/r3+shdjb6kaXVMFYFQlg0TdDRa6rU3aug== 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=V+3yofUF; 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 78D85606A31A for ; Fri, 23 Oct 2026 12:29:31 +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=V+3yofUF Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7630E1F01825; Fri, 23 Oct 2026 12:29:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792758571; bh=AXR0d9mq5CLabf2CrA8oj8qqMoMkGW4QlJWVOFGsghw=; h=From:To:Cc:Subject:Date:Reply-To; b=V+3yofUF1ASTo0qg5axoz3foVaGAihI65aunhrIrk6qunqyewrH/D8dnrRSHFwA9Q XVTAgnjnoir/hFBNfadBlk+z6XYo5C9s3dEJor5DVIHHC3xKeHhJVMXqAvdWt64/eO njYidYKrwLsVFR/v3DmenZU9SSiZYbnft42GLOXU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98949: drm/imagination: Fix reference and vm_bo handling in remap() Date: Fri, 23 Oct 2026 14:19:11 +0200 Message-ID: <2026102306-CVE-2026-98949-295a@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=3479; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=NDu02B5I4EvqCqf8Yyw+DOtvF/4cdrSLmt8gr9q7dec=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3A3ZN5Hpz4kvCFJt5aa9enHycvtP+69wETtFV06vdJ 0QKF7ze3hHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQAT+XeeYa6Q+Jmut1ZuWVrp l1iqO2fJaPed/sAwV8b499aiMzvkueco31rx4KzgAR2x3wA= 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: Fix reference and vm_bo handling in remap() When a map overlaps part of an existing mapping, pvr_vm_gpuva_remap() splits the mapping into prev/next parts covering what the request did not take, instead of creating something new. It gets two things wrong. - A GEM reference is taken for each part but it's never needed and never dropped, so it leaks one reference per split (remap-next-in-2m in tests/imagination/pvr_vm_map.c): CRITICAL: 33558528 bytes of shmem still held after close - The parts still belong to the original object being split, but pvr_vm_gpuva_remap() links them to ctx->gpuvm_bo, the new object's vm_bo: prev_va --obj--> BO_A BO_B <--obj-- vm_bo (ctx->gpuvm_bo) \___________link___________/ (mismatch: BO_A != BO_B) drm_gpuva_link() catches the mismatch: WARNING: drivers/gpu/drm/drm_gpuvm.c:2108 at drm_gpuva_link+0x2ec/0x310 drm_WARN_ON(obj != vm_bo->obj) Call trace: drm_gpuva_link pvr_vm_gpuva_remap __drm_gpuvm_sm_map pvr_vm_map pvr_ioctl_vm_map Link them to op->remap.unmap->va->vm_bo instead. The locking of the GPUVA lists of the other objects touched by a split is not addressed here; it is handled by switching the GPUVM to immediate mode. The Linux kernel CVE team has assigned CVE-2026-98949 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit ff5f643de0bf27874c4033cd57a0bd034b5c7d11 and fixed in 6.12.113 with commit 521cf8403a185a9d5790fe324bb43ba7ea85f51c Issue introduced in 6.8 with commit ff5f643de0bf27874c4033cd57a0bd034b5c7d11 and fixed in 6.18.57 with commit 9caa2eca5cc8372517ff36a83f321d4326abae93 Issue introduced in 6.8 with commit ff5f643de0bf27874c4033cd57a0bd034b5c7d11 and fixed in 7.2.11 with commit 784356aa88b82035d70e9faeded49b70cddeb29e Issue introduced in 6.8 with commit ff5f643de0bf27874c4033cd57a0bd034b5c7d11 and fixed in 7.3 with commit 196d4d10c1b33ae176685ff42a9994a5952b1d0f 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-98949 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_vm.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/521cf8403a185a9d5790fe324bb43ba7ea85f51c https://git.kernel.org/stable/c/9caa2eca5cc8372517ff36a83f321d4326abae93 https://git.kernel.org/stable/c/784356aa88b82035d70e9faeded49b70cddeb29e https://git.kernel.org/stable/c/196d4d10c1b33ae176685ff42a9994a5952b1d0f