{"id":"CVE-2023-53095","summary":"drm/ttm: Fix a NULL pointer dereference","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/ttm: Fix a NULL pointer dereference\n\nThe LRU mechanism may look up a resource in the process of being removed\nfrom an object. The locking rules here are a bit unclear but it looks\ncurrently like res-\u003ebo assignment is protected by the LRU lock, whereas\nbo-\u003eresource is protected by the object lock, while *clearing* of\nbo-\u003eresource is also protected by the LRU lock. This means that if\nwe check that bo-\u003eresource points to the LRU resource under the LRU\nlock we should be safe.\nSo perform that check before deciding to swap out a bo. That avoids\ndereferencing a NULL bo-\u003eresource in ttm_bo_swapout().","modified":"2026-04-03T13:14:24.564052Z","published":"2025-05-02T15:55:39.661Z","related":["SUSE-SU-2025:01966-1","SUSE-SU-2025:02173-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53095.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/9a9a8fe26751334b7739193a94eba741073b8a55"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9ba1720f6c4a0f13c3f3cb5c28132ee75555d04f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9d9b1f9f7a72d83ebf173534e76b246349f32374"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53095.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53095"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6a9b028994025f5033f10d1da30b29dfdc713384"},{"fixed":"9ba1720f6c4a0f13c3f3cb5c28132ee75555d04f"},{"fixed":"9d9b1f9f7a72d83ebf173534e76b246349f32374"},{"fixed":"9a9a8fe26751334b7739193a94eba741073b8a55"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53095.json"}}],"schema_version":"1.7.5"}