{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-53084","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-05-02T15:51:43.550Z","datePublished":"2025-05-02T15:55:32.319Z","dateUpdated":"2026-08-05T09:12:40.219Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T09:12:40.219Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/shmem-helper: Remove another errant put in error path\n\ndrm_gem_shmem_mmap() doesn't own reference in error code path, resulting\nin the dma-buf shmem GEM object getting prematurely freed leading to a\nlater use-after-free."}],"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 bug is reached via local DRM render-node ioctls (PRIME_FD_TO_HANDLE, driver MMAP_BO) and mmap(2) on the DRM device fd, not via network packet processing.\nAC:L - An attacker fully controls the trigger by importing a dma-buf and mmaping it such that dma_buf_mmap fails (e.g., MAP_PRIVATE against exporters like CMA heap/udmabuf that reject private mappings), causing a deterministic double-put with no uncontrolled race.\nPR:L - Render nodes (/dev/dri/renderD*) and PRIME/MMAP_BO ioctls are available to unprivileged users (DRM_RENDER_ALLOW), including Android apps and desktop users in the render/video group; no real root or CAP_SYS_ADMIN is required.\nUI:N - The attacker opens their own DRM render node, imports their own dma-buf, and mmaps it; no action by another user is required.\nS:U - This is a standard in-kernel use-after-free enabling local privilege escalation within the same OS security authority, with no VM/IOMMU/sandbox boundary crossed.\nC:H - The errant put frees the imported shmem GEM object while a handle still references it, yielding a classic use-after-free that can be leveraged for arbitrary kernel memory disclosure.\nI:H - Use-after-free of the GEM object enables heap reuse and corruption primitives suitable for arbitrary write and control-flow hijacking in the kernel.\nA:H - The premature free leads to kernel oops/panic on subsequent use of the dangling GEM object, so availability impact is high even without full exploitation."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/drm_gem_shmem_helper.c"],"versions":[{"version":"f49a51bfdc8ea717c97ccd4cc98b7e6daaa5553a","lessThan":"684c7372bbd6447c2e86a2a84e97a1478604d21f","status":"affected","versionType":"git"},{"version":"f49a51bfdc8ea717c97ccd4cc98b7e6daaa5553a","lessThan":"5cfb617967b05f8f27e862c97db1fabd8485f4db","status":"affected","versionType":"git"},{"version":"f49a51bfdc8ea717c97ccd4cc98b7e6daaa5553a","lessThan":"dede8c14a37a7ac458f9add56154a074ed78e7cf","status":"affected","versionType":"git"},{"version":"f49a51bfdc8ea717c97ccd4cc98b7e6daaa5553a","lessThan":"77d26c824aa5a7e0681ef1d5b75fe538d746addc","status":"affected","versionType":"git"},{"version":"f49a51bfdc8ea717c97ccd4cc98b7e6daaa5553a","lessThan":"ee9adb7a45516cfa536ca92253d7ae59d56db9e4","status":"affected","versionType":"git"},{"version":"4655afcf0e3874af03afff8c8704b52350bdba47","status":"affected","versionType":"git"},{"version":"5.9.5","lessThan":"5.10","status":"affected","versionType":"semver"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/drm_gem_shmem_helper.c"],"versions":[{"version":"5.10","status":"affected"},{"version":"0","lessThan":"5.10","status":"unaffected","versionType":"semver"},{"version":"5.10.176","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.104","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.21","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2.8","lessThanOrEqual":"6.2.*","status":"unaffected","versionType":"semver"},{"version":"6.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"5.10.176"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"5.15.104"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.1.21"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.2.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.9.5"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/684c7372bbd6447c2e86a2a84e97a1478604d21f"},{"url":"https://git.kernel.org/stable/c/5cfb617967b05f8f27e862c97db1fabd8485f4db"},{"url":"https://git.kernel.org/stable/c/dede8c14a37a7ac458f9add56154a074ed78e7cf"},{"url":"https://git.kernel.org/stable/c/77d26c824aa5a7e0681ef1d5b75fe538d746addc"},{"url":"https://git.kernel.org/stable/c/ee9adb7a45516cfa536ca92253d7ae59d56db9e4"}],"title":"drm/shmem-helper: Remove another errant put in error path","x_generator":{"engine":"bippy-1.2.0"}}}}