{"api_version":"1","generated_at":"2026-10-15T23:43:34+00:00","cve":"CVE-2023-54254","urls":{"html":"https://cve.report/CVE-2023-54254","api":"https://cve.report/api/cve/CVE-2023-54254.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-54254","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-54254"},"summary":{"title":"drm/ttm: Don't leak a resource on eviction error","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/ttm: Don't leak a resource on eviction error\n\nOn eviction errors other than -EMULTIHOP we were leaking a resource.\nFix.\n\nv2:\n- Avoid yet another goto (Andi Shyti)","state":"PUBLISHED","assigner":"Linux","published_at":"2025-12-30 13:16:14","updated_at":"2026-10-15 22:17:56"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"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","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"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"}}],"references":[{"url":"https://git.kernel.org/stable/c/7738335d73d0686ec8995e0448e5d1b48cffb2a4","name":"https://git.kernel.org/stable/c/7738335d73d0686ec8995e0448e5d1b48cffb2a4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e8188c461ee015ba0b9ab2fc82dbd5ebca5a5532","name":"https://git.kernel.org/stable/c/e8188c461ee015ba0b9ab2fc82dbd5ebca5a5532","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6aea0032380bbb1efebd598ad733d16925167921","name":"https://git.kernel.org/stable/c/6aea0032380bbb1efebd598ad733d16925167921","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e9c44738cb1f537b177cc1beabcf6913690460cd","name":"https://git.kernel.org/stable/c/e9c44738cb1f537b177cc1beabcf6913690460cd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-54254","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54254","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 403797925768d9fa870f5b1ebcd20016b397083b 7738335d73d0686ec8995e0448e5d1b48cffb2a4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 403797925768d9fa870f5b1ebcd20016b397083b e9c44738cb1f537b177cc1beabcf6913690460cd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 403797925768d9fa870f5b1ebcd20016b397083b 6aea0032380bbb1efebd598ad733d16925167921 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 403797925768d9fa870f5b1ebcd20016b397083b e8188c461ee015ba0b9ab2fc82dbd5ebca5a5532 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6c68fbafb9cd13e13476043fd9f6e10f792f685a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.14.6 5.15 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.15","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.124 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.43 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.4.5 6.4.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.5 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2023","cve_id":"54254","cve":"CVE-2023-54254","epss":"0.001340000","percentile":"0.032790000","score_date":"2026-08-06","updated_at":"2026-08-07 00:14:20"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2023-54254","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","timestamp":"2026-10-15T21:39:48.494148Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-10-15T21:41:43.208Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/gpu/drm/ttm/ttm_bo.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"7738335d73d0686ec8995e0448e5d1b48cffb2a4","status":"affected","version":"403797925768d9fa870f5b1ebcd20016b397083b","versionType":"git"},{"lessThan":"e9c44738cb1f537b177cc1beabcf6913690460cd","status":"affected","version":"403797925768d9fa870f5b1ebcd20016b397083b","versionType":"git"},{"lessThan":"6aea0032380bbb1efebd598ad733d16925167921","status":"affected","version":"403797925768d9fa870f5b1ebcd20016b397083b","versionType":"git"},{"lessThan":"e8188c461ee015ba0b9ab2fc82dbd5ebca5a5532","status":"affected","version":"403797925768d9fa870f5b1ebcd20016b397083b","versionType":"git"},{"status":"affected","version":"6c68fbafb9cd13e13476043fd9f6e10f792f685a","versionType":"git"},{"lessThan":"5.15","status":"affected","version":"5.14.6","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/gpu/drm/ttm/ttm_bo.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.15"},{"lessThan":"5.15","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.124","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.43","versionType":"semver"},{"lessThanOrEqual":"6.4.*","status":"unaffected","version":"6.4.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"6.5","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.124","versionStartIncluding":"5.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.43","versionStartIncluding":"5.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.4.5","versionStartIncluding":"5.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.5","versionStartIncluding":"5.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14.6","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/ttm: Don't leak a resource on eviction error\n\nOn eviction errors other than -EMULTIHOP we were leaking a resource.\nFix.\n\nv2:\n- Avoid yet another goto (Andi Shyti)"}],"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 vulnerable path is reached only through DRM ioctls (GEM create / command submission / buffer validation) on a local device node such as /dev/dri/renderD128. There is no network-facing consumer of ttm_bo_evict().\nAC:L - The attacker controls both preconditions: it fills VRAM/GTT with its own BOs to force the eviction path, then delivers a signal to its own ioctl thread so the interruptible wait inside the driver move callback returns -ERESTARTSYS, a non-EMULTIHOP error that leaks the resource. This is deterministic and can be repeated in a tight loop.\nPR:L - An ordinary unprivileged local user needs only an open FD on a DRM render node, which is granted to the render/video group on desktops, to every GPU-using app on Android and ChromeOS, and to containers with GPU passthrough. No capability or root access is involved.\nUI:N - The attacking process drives allocation, eviction and signal delivery entirely on its own. No action by any other user is required.\nS:U - The leaked resource, the dangling res->bo pointer, and all subsequent corruption remain within the kernel's own security authority. No hypervisor, IOMMU, or sandbox boundary is crossed.\nC:H - The orphaned ttm_resource retains a dangling res->bo to a freed ttm_buffer_object that later LRU walkers dereference without any validity check, giving a use-after-free whose freed-object contents the attacker can groom via heap spray to read kernel memory through the bo->base.resv / bo->bdev / bo->resource pointer chains.\nI:H - The same use-after-free yields write and control-flow primitives: ttm_bo_evict_swapout_allowable() calls dma_resv_trylock() through an attacker-controlled bo->base.resv pointer and indirect-calls bo->bdev->funcs->eviction_valuable() read from reclaimed slab memory.\nA:H - Each triggered error permanently leaks a VRAM/GTT range and an LRU entry, so repeated invocation exhausts GPU memory device-wide and denies service to all users including the display server; additionally the never-empty LRU makes ttm_resource_manager_evict_all() spin forever at suspend/unload, and the use-after-free crashes the kernel."}]}],"providerMetadata":{"dateUpdated":"2026-08-05T09:18:27.491Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/7738335d73d0686ec8995e0448e5d1b48cffb2a4"},{"url":"https://git.kernel.org/stable/c/e9c44738cb1f537b177cc1beabcf6913690460cd"},{"url":"https://git.kernel.org/stable/c/6aea0032380bbb1efebd598ad733d16925167921"},{"url":"https://git.kernel.org/stable/c/e8188c461ee015ba0b9ab2fc82dbd5ebca5a5532"}],"title":"drm/ttm: Don't leak a resource on eviction error","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2023-54254","datePublished":"2025-12-30T12:15:50.163Z","dateReserved":"2025-12-30T12:06:44.515Z","dateUpdated":"2026-10-15T21:41:43.208Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2025-12-30 13:16:14","lastModifiedDate":"2026-10-15 22:17:56","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"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","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-10-15T21:39:48.494148Z","id":"CVE-2023-54254","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2023","CveId":"54254","Ordinal":"1","Title":"drm/ttm: Don't leak a resource on eviction error","CVE":"CVE-2023-54254","Year":"2023"},"notes":[{"CveYear":"2023","CveId":"54254","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/ttm: Don't leak a resource on eviction error\n\nOn eviction errors other than -EMULTIHOP we were leaking a resource.\nFix.\n\nv2:\n- Avoid yet another goto (Andi Shyti)","Type":"Description","Title":"drm/ttm: Don't leak a resource on eviction error"}]}}}