What’s Vulnerable › Vulnerabilities
CVE-2023-53002: drm/i915: Fix a memory leak with reused mmap_offset
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-03-27 · updated 2026-06-17
- Weakness: CWE-401
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.
Affected products
- Linux kernel: from 5.7 before 6.1.9; 6.2-rc1, 6.2-rc2, 6.2-rc3, 6.2-rc4, 6.2-rc5 — fixed in 6.1.9
How to fix
Upgrade to a fixed version: Linux kernel 6.1.9. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0220e4fe178c3390eb0291cdb34912d66972db8a
- https://git.kernel.org/stable/c/0bdc4b4ba7206c452ee81c82fa66e39d0e1780fb
Get alerted when CVE-2023-53002 or the next vulnerability affects your stack