---
id: CVE-2023-54254
title: 'drm/ttm: Don''t leak a resource on eviction error'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  drm/ttm: Don't leak a resource on eviction error

  On eviction errors other than -EMULTIHOP we were leaking a resource.
  Fix.

  v2:
  - Avoid yet another goto (Andi Shyti)
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 403797925768d9fa870f5b1ebcd20016b397083b <
    7738335d73d0686ec8995e0448e5d1b48cffb2a4
  - >-
    Linux >= 403797925768d9fa870f5b1ebcd20016b397083b <
    e9c44738cb1f537b177cc1beabcf6913690460cd
  - >-
    Linux >= 403797925768d9fa870f5b1ebcd20016b397083b <
    6aea0032380bbb1efebd598ad733d16925167921
  - >-
    Linux >= 403797925768d9fa870f5b1ebcd20016b397083b <
    e8188c461ee015ba0b9ab2fc82dbd5ebca5a5532
  - Linux 6c68fbafb9cd13e13476043fd9f6e10f792f685a
  - Linux >= 5.14.6 < 5.15
  - Linux 5.15
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-15T21:39:48.494148Z'
published: '2025-12-30'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T21:41:43.208Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2023-54254'
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'
tags:
  - cve.org
epss: 0.00154
epssPercentile: 0.04114
ingestedAt: '2026-10-15T22:48:25.436Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

drm/ttm: Don't leak a resource on eviction error

On eviction errors other than -EMULTIHOP we were leaking a resource.
Fix.

v2:
- Avoid yet another goto (Andi Shyti)

## Affected

- `Linux >= 403797925768d9fa870f5b1ebcd20016b397083b < 7738335d73d0686ec8995e0448e5d1b48cffb2a4`
- `Linux >= 403797925768d9fa870f5b1ebcd20016b397083b < e9c44738cb1f537b177cc1beabcf6913690460cd`
- `Linux >= 403797925768d9fa870f5b1ebcd20016b397083b < 6aea0032380bbb1efebd598ad733d16925167921`
- `Linux >= 403797925768d9fa870f5b1ebcd20016b397083b < e8188c461ee015ba0b9ab2fc82dbd5ebca5a5532`
- `Linux 6c68fbafb9cd13e13476043fd9f6e10f792f685a`
- `Linux >= 5.14.6 < 5.15`
- `Linux 5.15`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
