CVE-2023-53002

drm/i915: Fix a memory leak with reused mmap_offset

Medium · published March 27, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
12.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00228 · 12.9th percentile
Published
2025-03-27T16:43Z
EPSS history
Timeline
  • 27 MAR 16:43Z
    drm/i915: Fix a memory leak with reused mmap_offset
    cvelistv5