CVE-2023-53095

drm/ttm: Fix a NULL pointer dereference

published May 2, 2025

CVSS
—
EPSS
0%
Percentile
9.2
In the wild
Unconfirmed
What it is

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

drm/ttm: Fix a NULL pointer dereference

The LRU mechanism may look up a resource in the process of being removed

from an object. The locking rules here are a bit unclear but it looks

currently like res->bo assignment is protected by the LRU lock, whereas

bo->resource is protected by the object lock, while *clearing* of

bo->resource is also protected by the LRU lock. This means that if

we check that bo->resource points to the LRU resource under the LRU

lock we should be safe.

So perform that check before deciding to swap out a bo. That avoids

dereferencing a NULL bo->resource in ttm_bo_swapout().

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00199 · 9.2th percentile
Published
2025-05-02T15:55Z
EPSS history
Timeline
  • 02 MAY 15:55Z
    drm/ttm: Fix a NULL pointer dereference
    cvelistv5