cve/2021/CVE-2021-47659.md
2025-09-29 21:09:30 +02:00

1.1 KiB

CVE-2021-47659

Description

In the Linux kernel, the following vulnerability has been resolved:drm/plane: Move range check for format_count earlierWhile 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 thenleak the plane->format_types array and fail to calldrm_mode_object_unregister() leaking the modeset identifier. Move it tothe start of the function to avoid allocating those resources in thefirst place.

POC

Reference

No PoCs from references.

Github