{"id":"CVE-2023-53552","state":"PUBLISHED","title":"drm/i915: mark requests for GuC virtual engines to avoid use-after-free","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/i915: mark requests for GuC virtual engines to avoid use-after-free\n\nReferences to i915_requests may be trapped by userspace inside a\nsync_file or dmabuf (dma-resv) and held indefinitely across different\nproceses. To counter-act the memory leaks, we try to not to keep\nreferences from the request past their completion.\nOn the other side on fence release we need to know if rq->engine\nis valid and points to hw engine (true for non-virtual requests).\nTo make it possible extra bit has been added to rq->execution_mask,\nfor marking virtual engines.\n\n(cherry picked from commit 280410677af763f3871b93e794a199cfcf6fb580)","publishedAt":"2025-10-04T15:16:58.429Z","updatedAt":"2026-08-05T09:14:45.743Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"bcb9aa45d5a0e11ef91245330c53cde214d15e8d","status":"affected","lessThan":"8017a27cec32eac8c8f9430b0a3055840136b856","versionType":"git"},{"version":"bcb9aa45d5a0e11ef91245330c53cde214d15e8d","status":"affected","lessThan":"7fb464d52fa41c31a6fd1ad82888e67c65935d94","versionType":"git"},{"version":"bcb9aa45d5a0e11ef91245330c53cde214d15e8d","status":"affected","lessThan":"5eefc5307c983b59344a4cb89009819f580c84fa","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/i915/gt/intel_engine_types.h","drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c","drivers/gpu/drm/i915/i915_request.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.0","versionType":"semver"},{"version":"6.1.54","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.5.4","status":"unaffected","lessThanOrEqual":"6.5.*","versionType":"semver"},{"version":"6.6","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/i915/gt/intel_engine_types.h","drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c","drivers/gpu/drm/i915/i915_request.c"]}],"references":["https://git.kernel.org/stable/c/8017a27cec32eac8c8f9430b0a3055840136b856","https://git.kernel.org/stable/c/7fb464d52fa41c31a6fd1ad82888e67c65935d94","https://git.kernel.org/stable/c/5eefc5307c983b59344a4cb89009819f580c84fa"],"weaknesses":[],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/53xxx/CVE-2023-53552.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-53552","state":"PUBLISHED","datePublished":"2025-10-04T15:16:58.429Z","dateUpdated":"2026-08-05T09:14:45.743Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-10-04T15:14:15.922Z"},"containers":{"cna":{"title":"drm/i915: mark requests for GuC virtual engines to avoid use-after-free","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/i915: mark requests for GuC virtual engines to avoid use-after-free\n\nReferences to i915_requests may be trapped by userspace inside a\nsync_file or dmabuf (dma-resv) and held indefinitely across different\nproceses. To counter-act the memory leaks, we try to not to keep\nreferences from the request past their completion.\nOn the other side on fence release we need to know if rq->engine\nis valid and points to hw engine (true for non-virtual requests).\nTo make it possible extra bit has been added to rq->execution_mask,\nfor marking virtual engines.\n\n(cherry picked from commit 280410677af763f3871b93e794a199cfcf6fb580)"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"bcb9aa45d5a0e11ef91245330c53cde214d15e8d","status":"affected","lessThan":"8017a27cec32eac8c8f9430b0a3055840136b856","versionType":"git"},{"version":"bcb9aa45d5a0e11ef91245330c53cde214d15e8d","status":"affected","lessThan":"7fb464d52fa41c31a6fd1ad82888e67c65935d94","versionType":"git"},{"version":"bcb9aa45d5a0e11ef91245330c53cde214d15e8d","status":"affected","lessThan":"5eefc5307c983b59344a4cb89009819f580c84fa","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/i915/gt/intel_engine_types.h","drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c","drivers/gpu/drm/i915/i915_request.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.0","versionType":"semver"},{"version":"6.1.54","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.5.4","status":"unaffected","lessThanOrEqual":"6.5.*","versionType":"semver"},{"version":"6.6","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/i915/gt/intel_engine_types.h","drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c","drivers/gpu/drm/i915/i915_request.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/8017a27cec32eac8c8f9430b0a3055840136b856"},{"url":"https://git.kernel.org/stable/c/7fb464d52fa41c31a6fd1ad82888e67c65935d94"},{"url":"https://git.kernel.org/stable/c/5eefc5307c983b59344a4cb89009819f580c84fa"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerability is reached only through the i915 DRM device node (/dev/dri/renderD* or card node) via GEM context-create/submit ioctls and fence export; there is no network path.\nAC:L - The attacker controls both the freeing of the virtual engine (destroying the GEM context) and the release of the trapped fence, so the dangling-pointer dereference can be ordered deterministically without winning any uncontrollable race.\nPR:L - Creating parallel/virtual GuC contexts and submitting work requires only access to the DRM render node, available to any ordinary local user with GPU access; no CAP_SYS_ADMIN or real root is needed.\nUI:N - The entire sequence (context create, submit, fence trap, context destroy, fence release) is performed by the attacker's own process with no victim action required.\nS:U - The use-after-free corrupts kernel heap memory within the kernel's own security authority; there is no crossing of a VM, IOMMU, or sandbox boundary.\nC:H - The freed guc_virtual_engine object is read (engine->flags) after being reallocated, and the attacker can spray controlled contents into it, enabling disclosure of kernel memory contents.\nI:H - Beyond controlling freed-object contents, the power-of-2/single-sibling path performs a cmpxchg write into the freed engine's request_pool field, providing a UAF write primitive usable for heap corruption and control-flow influence.\nA:H - Dereferencing the dangling rq->engine on the fence-release path readily causes a kernel oops/panic, a reliable denial of service."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T09:14:45.743Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.1.54"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.5.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.6"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2023-53552","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-06-10T20:40:34.258783Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-11T18:44:03.036Z"}}]}}}