{"id":"CVE-2026-68260","aliases":["CVE-2026-68260"],"related":[],"kind":"vulnerability","state":"published","title":"drm/imagination: acquire vm_ctx->lock before mapping memory to GPU VM","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/imagination: acquire vm_ctx->lock before mapping memory to GPU VM\n\nThe drm gpuvm code doesn't protect find operation against map operation,\nand the driver needs to ensure a map operation shouldn't happen when a\nfind operation is in progress.\n\nIn some cases a find operation will be in progress when doing map/unmap\noperations, and the find operation will do a NULL pointer dereference.\n\nAn example of the stack trace of such NULL dereference is shown below:\n\n```\nUnable to handle kernel access to user memory without uaccess routines at\nvirtual address 0000000000000010\n\n[<ffffffff01e989d4>] drm_gpuva_find+0x28/0x6c [drm_gpuvm]\n[<ffffffff01ed3a40>] pvr_vm_unmap+0x34/0x68 [powervr]\n[<ffffffff01ec69da>] pvr_ioctl_vm_unmap+0x2e/0x50 [powervr]\n[<ffffffff8080ce0a>] drm_ioctl_kernel+0x8e/0xdc\n[<ffffffff8080d016>] drm_ioctl+0x1be/0x3e0\n[<ffffffff802bec3e>] __riscv_sys_ioctl+0xba/0xc4\n[<ffffffff80d858b2>] do_trap_ecall_u+0x23e/0x3f4\n[<ffffffff80d92288>] handle_exception+0x168/0x174\n```\n\nAs all occurences of drm_gpuva_find*() are already guarded by\nvm_ctx->lock, make pvr_vm_map() to acquire this lock to prevent\ndisturbing any find operation. This fixes the NULL deference problem in\ndrm_gpuva_find*().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/imagination: acquire vm_ctx->lock before mapping memory to GPU VM\n\nThe drm gpuvm code doesn't protect find operation against map operation,\nand the driver needs to ensure a map operation shouldn't happen when a\nfind operation is in progress.\n\nIn some cases a find operation will be in progress when doing map/unmap\noperations, and the find operation will do a NULL pointer dereference.\n\nAn example of the stack trace of such NULL dereference is shown below:\n\n```\nUnable to handle kernel access to user memory without uaccess routines at\nvirtual address 0000000000000010\n\n[<ffffffff01e989d4>] drm_gpuva_find+0x28/0x6c [drm_gpuvm]\n[<ffffffff01ed3a40>] pvr_vm_unmap+0x34/0x68 [powervr]\n[<ffffffff01ec69da>] pvr_ioctl_vm_unmap+0x2e/0x50 [powervr]\n[<ffffffff8080ce0a>] drm_ioctl_kernel+0x8e/0xdc\n[<ffffffff8080d016>] drm_ioctl+0x1be/0x3e0\n[<ffffffff802bec3e>] __riscv_sys_ioctl+0xba/0xc4\n[<ffffffff80d858b2>] do_trap_ecall_u+0x23e/0x3f4\n[<ffffffff80d92288>] handle_exception+0x168/0x174\n```\n\nAs all occurences of drm_gpuva_find*() are already guarded by\nvm_ctx->lock, make pvr_vm_map() to acquire this lock to prevent\ndisturbing any find operation. This fixes the NULL deference problem in\ndrm_gpuva_find*().","source":"cvelist"}],"published":"2026-08-10T12:01:34.414Z","modified":"2026-08-17T05:18:28.340Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ff5f643de0bf27874c4033cd57a0bd034b5c7d11","fixed":"1f1f2618e44b21a7d4eb30d3bbd7e015ffbbbadf","status":"affected"},{"type":"git","introduced":"ff5f643de0bf27874c4033cd57a0bd034b5c7d11","fixed":"6253bb56bb2ebdf317d8b599ce737a2510cc2e17","status":"affected"},{"type":"git","introduced":"ff5f643de0bf27874c4033cd57a0bd034b5c7d11","fixed":"15f58d44c24477a6ebffa44ec05207b81cfa55d9","status":"affected"},{"type":"git","introduced":"ff5f643de0bf27874c4033cd57a0bd034b5c7d11","fixed":"17e2030f37600994440f875dc410615d5c66ee6d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.8","status":"unaffected"},{"type":"semver","introduced":"6.12.101","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.42","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.6","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/1f1f2618e44b21a7d4eb30d3bbd7e015ffbbbadf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6253bb56bb2ebdf317d8b599ce737a2510cc2e17","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/15f58d44c24477a6ebffa44ec05207b81cfa55d9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/17e2030f37600994440f875dc410615d5c66ee6d","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-68260","url":"https://www.cve.org/CVERecord?id=CVE-2026-68260","licence":"CVE Terms of Use","modified":"2026-08-17T05:01:52.352Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-68260","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68260","licence":"Public domain","modified":"2026-08-17T05:18:28.340Z"}],"updatedAt":"2026-11-25T22:59:32.062Z","epss":{"score":0.00168,"percentile":0.06396,"date":"2026-12-01T12:00:22.000Z"}}