Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: drm/i915: Fix a memory leak with reused mmap_offset drm_vma_node_allow() and drm_vma_node_revoke() should be called in balanced pairs. We call drm_vma_node_allow() once per-file everytime a user calls mmap_offset, but only call drm_vma_node_revoke once per-file on each mmap_offset. As the mmap_offset is reused by the client, the per-file vm_count may remain non-zero and the rbtree leaked. Call drm_vma_node_allow_once() instead to prevent that memory leak.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.7, < 6.1.9 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/0220e4fe178c3390eb0291cdb34912d66972db8aPatch
- https://git.kernel.org/stable/c/0bdc4b4ba7206c452ee81c82fa66e39d0e1780fbPatch
FAQ
What is CVE-2023-53002?
CVE-2023-53002 is a vulnerability with a CVSS score of 5.5 (MEDIUM). In the Linux kernel, the following vulnerability has been resolved: drm/i915: Fix a memory leak with reused mmap_offset drm_vma_node_allow() and drm_vma_node_revoke() should be called in balanced pa...
How severe is CVE-2023-53002?
CVE-2023-53002 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-53002?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.