CVE-2021-47659

Source
https://cve.org/CVERecord?id=CVE-2021-47659
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47659.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-47659
Downstream
Related
Published
2025-02-26T06:37:07Z
Modified
2026-03-15T22:43:17Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git /

Affected ranges

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47659.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "4.14"
            },
            {
                "fixed": "4.19.247"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "4.20"
            },
            {
                "fixed": "5.4.198"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.5"
            },
            {
                "fixed": "5.10.121"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.11"
            },
            {
                "fixed": "5.15.46"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.16"
            },
            {
                "fixed": "5.17.14"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.18"
            },
            {
                "fixed": "5.18.3"
            }
        ]
    }
]