{"id":"CVE-2021-47659","aliases":["CVE-2021-47659"],"related":[],"kind":"vulnerability","state":"published","title":"drm/plane: Move range check for format_count earlier","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/plane: Move range check for format_count earlier\n\nWhile the check for format_count > 64 in __drm_universal_plane_init()\nshouldn't be hit (it's a WARN_ON), in its current position it will then\nleak the plane->format_types array and fail to call\ndrm_mode_object_unregister() leaking the modeset identifier. Move it to\nthe start of the function to avoid allocating those resources in the\nfirst place.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/plane: Move range check for format_count earlier\n\nWhile the check for format_count > 64 in __drm_universal_plane_init()\nshouldn't be hit (it's a WARN_ON), in its current position it will then\nleak the plane->format_types array and fail to call\ndrm_mode_object_unregister() leaking the modeset identifier. Move it to\nthe start of the function to avoid allocating those resources in the\nfirst place.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/plane: mover la comprobación de rango para format_count antes Si bien la comprobación para format_count &gt; 64 en __drm_universal_plane_init() no debería verse afectada (es un WARN_ON), en su posición actual perderá la matriz plane-&gt;format_types y no podrá llamar a drm_mode_object_unregister(), lo que filtra el identificador modeset. Muévalo al inicio de la función para evitar asignar esos recursos en primer lugar.","source":"nvd"}],"published":"2025-02-26T02:05:56.954Z","modified":"2026-11-05T20:16:56.093Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e6fc3b68558e4c6d8d160b5daf2511b99afa8814","fixed":"4ab7e453a3ee88c274cf97bee9487ab92a66d313","status":"affected"},{"type":"git","introduced":"e6fc3b68558e4c6d8d160b5daf2511b99afa8814","fixed":"1e29d829ad51d1472dd035487953a6724b56fc33","status":"affected"},{"type":"git","introduced":"e6fc3b68558e4c6d8d160b5daf2511b99afa8814","fixed":"b5cd108143513e4498027b96ec4710702d186f11","status":"affected"},{"type":"git","introduced":"e6fc3b68558e4c6d8d160b5daf2511b99afa8814","fixed":"978e3d023256bfaf34a0033d40c94e8a8e70cf3c","status":"affected"},{"type":"git","introduced":"e6fc3b68558e4c6d8d160b5daf2511b99afa8814","fixed":"787163d19bc3cdc6ca4b96223f62208534d1cf6b","status":"affected"},{"type":"git","introduced":"e6fc3b68558e4c6d8d160b5daf2511b99afa8814","fixed":"ad6dd7a2bac86118985c7b3426e175b9d3c1ec4f","status":"affected"},{"type":"git","introduced":"e6fc3b68558e4c6d8d160b5daf2511b99afa8814","fixed":"4b674dd69701c2e22e8e7770c1706a69f3b17269","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.14","status":"unaffected"},{"type":"semver","introduced":"4.19.247","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.198","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.121","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.46","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.17.14","lastAffected":"5.17.*","status":"unaffected"},{"type":"semver","introduced":"5.18.3","lastAffected":"5.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.14","fixed":"4.19.247"},{"status":"affected","introduced":"4.20","fixed":"5.4.198"},{"status":"affected","introduced":"5.5","fixed":"5.10.121"},{"status":"affected","introduced":"5.11","fixed":"5.15.46"},{"status":"affected","introduced":"5.16","fixed":"5.17.14"},{"status":"affected","introduced":"5.18","fixed":"5.18.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/4ab7e453a3ee88c274cf97bee9487ab92a66d313","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1e29d829ad51d1472dd035487953a6724b56fc33","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b5cd108143513e4498027b96ec4710702d186f11","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/978e3d023256bfaf34a0033d40c94e8a8e70cf3c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/787163d19bc3cdc6ca4b96223f62208534d1cf6b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ad6dd7a2bac86118985c7b3426e175b9d3c1ec4f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4b674dd69701c2e22e8e7770c1706a69f3b17269","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T19:42:32.788Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47659","url":"https://www.cve.org/CVERecord?id=CVE-2021-47659","licence":"CVE Terms of Use","modified":"2026-11-05T19:49:35.497Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47659","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47659","licence":"Public domain","modified":"2026-11-05T20:16:56.093Z"}],"updatedAt":"2026-11-25T22:58:09.010Z","epss":{"score":0.00268,"percentile":0.20261,"date":"2026-12-01T12:00:22.000Z"}}