CVE-2023-53095

Source
https://cve.org/CVERecord?id=CVE-2023-53095
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53095.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-53095
Downstream
Related
Published
2025-05-02T15:55:39.661Z
Modified
2026-03-12T03:27:57.769835Z
Summary
drm/ttm: Fix a NULL pointer dereference
Details

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

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53095.json"
}
References

Affected packages

Git / 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/osv-test-cve-osv-conversion/osv-output/CVE-2023-53095.json"