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.
Metrics
Affected Vendors & Products
References
History
Thu, 27 Feb 2025 01:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
| |
Metrics |
threat_severity
|
cvssV3_1
|
Wed, 26 Feb 2025 02:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
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. | |
Title | drm/plane: Move range check for format_count earlier | |
References |
|
|

Status: PUBLISHED
Assigner: Linux
Published: 2025-02-26T02:05:56.954Z
Updated: 2025-03-26T17:44:50.132Z
Reserved: 2025-02-26T02:04:38.057Z
Link: CVE-2021-47659

No data.

Status : Received
Published: 2025-02-26T06:37:07.640
Modified: 2025-02-26T06:37:07.640
Link: CVE-2021-47659
