Vulnerability Description
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().
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.19, < 6.1.21 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/9a9a8fe26751334b7739193a94eba741073b8a55Patch
- https://git.kernel.org/stable/c/9ba1720f6c4a0f13c3f3cb5c28132ee75555d04fPatch
- https://git.kernel.org/stable/c/9d9b1f9f7a72d83ebf173534e76b246349f32374Patch
FAQ
What is CVE-2023-53095?
CVE-2023-53095 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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. T...
How severe is CVE-2023-53095?
CVE-2023-53095 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-53095?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.