{"id":"CVE-2023-52930","state":"PUBLISHED","title":"drm/i915: Fix potential bit_17 double-free","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/i915: Fix potential bit_17 double-free\n\nA userspace with multiple threads racing I915_GEM_SET_TILING to set the\ntiling to I915_TILING_NONE could trigger a double free of the bit_17\nbitmask.  (Or conversely leak memory on the transition to tiled.)  Move\nallocation/free'ing of the bitmask within the section protected by the\nobj lock.\n\n[tursulin: Correct fixes tag and added cc stable.]\n(cherry picked from commit 10e0cbaaf1104f449d695c80bcacf930dcd3c42e)","publishedAt":"2025-03-27T16:37:12.302Z","updatedAt":"2026-08-05T09:12:06.760Z","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":"2850748ef8763ab46958e43a4d1c445f29eeb37d","status":"affected","lessThan":"b591abac78e25269b12e3d7170c99463f8c5cb02","versionType":"git"},{"version":"2850748ef8763ab46958e43a4d1c445f29eeb37d","status":"affected","lessThan":"e3ebc3e23bd9028a8a9a26cbc5985f99be445f65","versionType":"git"},{"version":"2850748ef8763ab46958e43a4d1c445f29eeb37d","status":"affected","lessThan":"0769f997a7b6d5cb8336db0b4ec3d2d311b8097c","versionType":"git"},{"version":"2850748ef8763ab46958e43a4d1c445f29eeb37d","status":"affected","lessThan":"7057a8f126f14f14b040faecfa220fd27c6c2f85","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/i915/gem/i915_gem_tiling.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.5","versionType":"semver"},{"version":"5.10.168","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.93","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.11","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.2","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/gem/i915_gem_tiling.c"]}],"references":["https://git.kernel.org/stable/c/b591abac78e25269b12e3d7170c99463f8c5cb02","https://git.kernel.org/stable/c/e3ebc3e23bd9028a8a9a26cbc5985f99be445f65","https://git.kernel.org/stable/c/0769f997a7b6d5cb8336db0b4ec3d2d311b8097c","https://git.kernel.org/stable/c/7057a8f126f14f14b040faecfa220fd27c6c2f85"],"weaknesses":["CWE-415"],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/52xxx/CVE-2023-52930.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-52930","state":"PUBLISHED","datePublished":"2025-03-27T16:37:12.302Z","dateUpdated":"2026-08-05T09:12:06.760Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-08-21T06:07:11.019Z"},"containers":{"cna":{"title":"drm/i915: Fix potential bit_17 double-free","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/i915: Fix potential bit_17 double-free\n\nA userspace with multiple threads racing I915_GEM_SET_TILING to set the\ntiling to I915_TILING_NONE could trigger a double free of the bit_17\nbitmask.  (Or conversely leak memory on the transition to tiled.)  Move\nallocation/free'ing of the bitmask within the section protected by the\nobj lock.\n\n[tursulin: Correct fixes tag and added cc stable.]\n(cherry picked from commit 10e0cbaaf1104f449d695c80bcacf930dcd3c42e)"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2850748ef8763ab46958e43a4d1c445f29eeb37d","status":"affected","lessThan":"b591abac78e25269b12e3d7170c99463f8c5cb02","versionType":"git"},{"version":"2850748ef8763ab46958e43a4d1c445f29eeb37d","status":"affected","lessThan":"e3ebc3e23bd9028a8a9a26cbc5985f99be445f65","versionType":"git"},{"version":"2850748ef8763ab46958e43a4d1c445f29eeb37d","status":"affected","lessThan":"0769f997a7b6d5cb8336db0b4ec3d2d311b8097c","versionType":"git"},{"version":"2850748ef8763ab46958e43a4d1c445f29eeb37d","status":"affected","lessThan":"7057a8f126f14f14b040faecfa220fd27c6c2f85","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/i915/gem/i915_gem_tiling.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.5","versionType":"semver"},{"version":"5.10.168","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.93","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.11","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.2","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/gem/i915_gem_tiling.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/b591abac78e25269b12e3d7170c99463f8c5cb02"},{"url":"https://git.kernel.org/stable/c/e3ebc3e23bd9028a8a9a26cbc5985f99be445f65"},{"url":"https://git.kernel.org/stable/c/0769f997a7b6d5cb8336db0b4ec3d2d311b8097c"},{"url":"https://git.kernel.org/stable/c/7057a8f126f14f14b040faecfa220fd27c6c2f85"}],"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 only via the local DRM ioctl I915_GEM_SET_TILING on /dev/dri/renderD* or card*, not via network packet processing or adjacent-link protocols.\nAC:L - An attacker fully controls both sides of the race by issuing concurrent I915_GEM_SET_TILING ioctls from multiple threads on the same GEM object after first establishing a tiled state that allocates bit_17.\nPR:L - I915_GEM_SET_TILING is DRM_RENDER_ALLOW and is usable by an unprivileged local user with access to an i915 render node; it does not require CAP_SYS_ADMIN, DRM_MASTER, or root in the init namespace.\nUI:N - Exploitation requires only the attacker's own ioctls and threads; no victim action such as opening a file or mounting a filesystem is needed.\nS:U - This is a host-kernel heap corruption bug within the same OS security authority and does not cross a VM, IOMMU, or other security boundary.\nC:H - A kernel heap double-free of the bit_17 bitmap enables classic allocator metadata corruption and use-after-free primitives that can be leveraged for arbitrary kernel memory disclosure.\nI:H - The same double-free/use-after-free heap corruption provides write primitives suitable for control-flow hijacking and arbitrary kernel memory modification / privilege escalation.\nA:H - Double-free of kernel heap memory can immediately oops/panic the kernel, and use-after-free paths similarly cause high-availability impact even when not fully exploited for code execution."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T09:12:06.760Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.10.168"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.15.93"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"6.1.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"6.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.8,"attackVector":"LOCAL","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"id":"CVE-2023-52930","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2025-10-01T19:25:16.883410Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-415","lang":"en","type":"CWE","description":"CWE-415 Double Free"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-01T19:26:36.577Z"}}]}}}