CVE-2023-52931 (GCVE-0-2023-52931)
Vulnerability from cvelistv5
Published
2025-03-27 16:37
Modified
2026-08-05 09:12
Severity ?
VLAI Severity ?
EPSS score ?
Summary
In the Linux kernel, the following vulnerability has been resolved:
drm/i915: Avoid potential vm use-after-free
Adding the vm to the vm_xa table makes it visible to userspace, which
could try to race with us to close the vm. So we need to take our extra
reference before putting it in the table.
(cherry picked from commit 99343c46d4e2b34c285d3d5f68ff04274c2f9fb4)
References
Impacted products
{
"containers": {
"adp": [
{
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
}
},
{
"other": {
"content": {
"id": "CVE-2023-52931",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2025-03-28T15:22:44.463272Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-416",
"description": "CWE-416 Use After Free",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2025-03-28T15:31:59.802Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/gpu/drm/i915/gem/i915_gem_context.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "764accc2c1b8fd1507be2e7f436c94cdce887a00",
"status": "affected",
"version": "9ec8795e7d91bc650db03dc6f5315667555dae11",
"versionType": "git"
},
{
"lessThan": "41d419382ec7e257e54b7b6ff0d3623aafb1316d",
"status": "affected",
"version": "9ec8795e7d91bc650db03dc6f5315667555dae11",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/gpu/drm/i915/gem/i915_gem_context.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.16"
},
{
"lessThan": "5.16",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.11",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "6.2",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.11",
"versionStartIncluding": "5.16",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.2",
"versionStartIncluding": "5.16",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/i915: Avoid potential vm use-after-free\n\nAdding the vm to the vm_xa table makes it visible to userspace, which\ncould try to race with us to close the vm. So we need to take our extra\nreference before putting it in the table.\n\n(cherry picked from commit 99343c46d4e2b34c285d3d5f68ff04274c2f9fb4)"
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 7.8,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - The bug is reached only via DRM ioctls (I915_GEM_CONTEXT_GETPARAM / I915_GEM_VM_DESTROY) on a local i915 render or primary node; it is not reachable from the network stack or adjacent protocols.\nAC:L - The attacker controls both sides of the race from concurrent threads on the same DRM fd (GETPARAM publishing the vm into vm_xa vs VM_DESTROY), and the allocated vm_id is predictable under XA_FLAGS_ALLOC1, so success does not depend on conditions outside attacker control.\nPR:L - The affected ioctls are DRM_RENDER_ALLOW and require only an unprivileged open of /dev/dri/renderD* (typically render-group or session uaccess), not real root or init-namespace admin capabilities.\nUI:N - Exploitation is fully self-driven by the attacker\u0027s own ioctls after opening the render node; no separate victim action is required.\nS:U - A successful kernel UAF yields privilege escalation within the same host kernel security authority and does not cross a VM, IOMMU, or other explicit security boundary.\nC:H - The bug is a use-after-free of struct i915_address_space (ctx-\u003evm left dangling after an unmatched i915_vm_put), which can be reclaimed and leveraged for arbitrary kernel memory disclosure.\nI:H - The same UAF on a refcounted kernel object enables heap reuse and write primitives suitable for control-flow hijacking or arbitrary kernel memory modification.\nA:H - Triggering the race can free the live context VM and cause kernel oops/panic or GPU/context teardown failures, producing a full availability impact even without full exploitation."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-05T09:12:07.864Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/764accc2c1b8fd1507be2e7f436c94cdce887a00"
},
{
"url": "https://git.kernel.org/stable/c/41d419382ec7e257e54b7b6ff0d3623aafb1316d"
}
],
"title": "drm/i915: Avoid potential vm use-after-free",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2023-52931",
"datePublished": "2025-03-27T16:37:12.969Z",
"dateReserved": "2024-08-21T06:07:11.019Z",
"dateUpdated": "2026-08-05T09:12:07.864Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"vulnrichment": {
"containers": "{\"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-52931\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-03-28T15:22:44.463272Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-416\", \"description\": \"CWE-416 Use After Free\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-03-28T15:22:46.129Z\"}}], \"cna\": {\"title\": \"drm/i915: Avoid potential vm use-after-free\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.8, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:L - The bug is reached only via DRM ioctls (I915_GEM_CONTEXT_GETPARAM / I915_GEM_VM_DESTROY) on a local i915 render or primary node; it is not reachable from the network stack or adjacent protocols.\\nAC:L - The attacker controls both sides of the race from concurrent threads on the same DRM fd (GETPARAM publishing the vm into vm_xa vs VM_DESTROY), and the allocated vm_id is predictable under XA_FLAGS_ALLOC1, so success does not depend on conditions outside attacker control.\\nPR:L - The affected ioctls are DRM_RENDER_ALLOW and require only an unprivileged open of /dev/dri/renderD* (typically render-group or session uaccess), not real root or init-namespace admin capabilities.\\nUI:N - Exploitation is fully self-driven by the attacker\u0027s own ioctls after opening the render node; no separate victim action is required.\\nS:U - A successful kernel UAF yields privilege escalation within the same host kernel security authority and does not cross a VM, IOMMU, or other explicit security boundary.\\nC:H - The bug is a use-after-free of struct i915_address_space (ctx-\u003evm left dangling after an unmatched i915_vm_put), which can be reclaimed and leveraged for arbitrary kernel memory disclosure.\\nI:H - The same UAF on a refcounted kernel object enables heap reuse and write primitives suitable for control-flow hijacking or arbitrary kernel memory modification.\\nA:H - Triggering the race can free the live context VM and cause kernel oops/panic or GPU/context teardown failures, producing a full availability impact even without full exploitation.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"9ec8795e7d91bc650db03dc6f5315667555dae11\", \"lessThan\": \"764accc2c1b8fd1507be2e7f436c94cdce887a00\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"9ec8795e7d91bc650db03dc6f5315667555dae11\", \"lessThan\": \"41d419382ec7e257e54b7b6ff0d3623aafb1316d\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/gpu/drm/i915/gem/i915_gem_context.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.16\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.16\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.1.11\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.2\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/gpu/drm/i915/gem/i915_gem_context.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/764accc2c1b8fd1507be2e7f436c94cdce887a00\"}, {\"url\": \"https://git.kernel.org/stable/c/41d419382ec7e257e54b7b6ff0d3623aafb1316d\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm/i915: Avoid potential vm use-after-free\\n\\nAdding the vm to the vm_xa table makes it visible to userspace, which\\ncould try to race with us to close the vm. So we need to take our extra\\nreference before putting it in the table.\\n\\n(cherry picked from commit 99343c46d4e2b34c285d3d5f68ff04274c2f9fb4)\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.11\", \"versionStartIncluding\": \"5.16\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.2\", \"versionStartIncluding\": \"5.16\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T09:12:07.864Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2023-52931\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-05T09:12:07.864Z\", \"dateReserved\": \"2024-08-21T06:07:11.019Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2025-03-27T16:37:12.969Z\", \"assignerShortName\": \"Linux\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…