CVE-2021-47659

MEDIUM

Linux Kernel 4.14-4.19.247 - Memory Leak in DRM Plane Initialization

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: drm/plane: Move range check for format_count earlier While the check for format_count > 64 in __drm_universal_plane_init() shouldn't be hit (it's a WARN_ON), in its current position it will then leak the plane->format_types array and fail to call drm_mode_object_unregister() leaking the modeset identifier. Move it to the start of the function to avoid allocating those resources in the first place.

Scores

CVSS v3 5.5
EPSS 0.0027
EPSS Percentile 18.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

Status published
Products (17)
Linux/Linux < 4.14
Linux/Linux 4.14
Linux/Linux 4.19.247 - 4.19.*
Linux/Linux 5.10.121 - 5.10.*
Linux/Linux 5.15.46 - 5.15.*
Linux/Linux 5.17.14 - 5.17.*
Linux/Linux 5.18.3 - 5.18.*
Linux/Linux 5.19
Linux/Linux 5.4.198 - 5.4.*
Linux/Linux e6fc3b68558e4c6d8d160b5daf2511b99afa8814 - 1e29d829ad51d1472dd035487953a6724b56fc33
... and 7 more
Published Feb 26, 2025
Tracked Since Feb 18, 2026