CVE-2023-53095

published 2 May 2025 · updated 7 Nov 2026

drm/ttm: Fix a NULL pointer dereference

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.1.21, Kernel 6.2.8, Kernel 9ba1720f6c4a0f13c3f3cb5c28132ee75555d04f and 2 more.

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().

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=5.19 <6.1.21, >=6.2 <6.2.8, =6.3, >=6a9b028994025f5033f10d1da30b29dfdc713384 <9ba1720f6c4a0f13c3f3cb5c28132ee75555d04f, >=6a9b028994025f5033f10d1da30b29dfdc713384 <9d9b1f9f7a72d83ebf173534e76b246349f32374, =5.19, >=6a9b028994025f5033f10d1da30b29dfdc713384 <9a9a8fe26751334b7739193a94eba741073b8a556.1.21, 6.2.8, 9ba1720f6c4a0f13c3f3cb5c28132ee75555d04f, 9d9b1f9f7a72d83ebf173534e76b246349f32374, 9a9a8fe26751334b7739193a94eba741073b8a55
linux-kernel: Kernel>=5.19.0 <6.1.21, >=6.2.0 <6.2.86.1.21, 6.2.8

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-53095 severity on Zeptric[![CVE-2023-53095](https://zeptric.io/badge/cve/CVE-2023-53095.svg)](https://zeptric.io/cve/CVE-2023-53095)