# CVE-2023-53002: drm/i915: Fix a memory leak with reused mmap_offset

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2025-03-27T16:43:34.479Z
- Modified: 2026-06-17T06:44:05.637Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 7865559872074a9ab169c87915504661d630addf before 0bdc4b4ba7206c452ee81c82fa66e39d0e1780fb; from 7865559872074a9ab169c87915504661d630addf before 0220e4fe178c3390eb0291cdb34912d66972db8a; 5.7 (not affected: before 5.7; from 6.1.9 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 5.7 before 6.1.9; 6.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/0bdc4b4ba7206c452ee81c82fa66e39d0e1780fb> (patch)
- <https://git.kernel.org/stable/c/0220e4fe178c3390eb0291cdb34912d66972db8a> (patch)

## Sources

- CVE List: [CVE-2023-53002](https://www.cve.org/CVERecord?id=CVE-2023-53002), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-53002](https://nvd.nist.gov/vuln/detail/CVE-2023-53002), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-53002 · Whole record: https://cve.day/CVE-2023-53002.json · Rebuilt by cve.day 2026-11-25T22:58:34.596Z
