Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2021-47659

MEDIUM 5.5EPSS 14%

drm/plane: Move range check for format_count earlier

Mitigation

  • Upgrade Linux to 4b674dd69701c2e22e8e7770c1706a69f3b17269 or later.

Who should check

  • Anyone running Linux >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < 4ab7e453a3ee88c274cf97bee9487ab92a66d313; >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < 1e29d829ad51d1472dd035487953a6724b56fc33; >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < b5cd108143513e4498027b96ec4710702d186f11; >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < 978e3d023256bfaf34a0033d40c94e8a8e70cf3c; >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < 787163d19bc3cdc6ca4b96223f62208534d1cf6b; >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < ad6dd7a2bac86118985c7b3426e175b9d3c1ec4f; >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < 4b674dd69701c2e22e8e7770c1706a69f3b17269
  • Anyone running Linux 4.14

Vulnerability facts

Affected
Linux >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < 4ab7e453a3ee88c274cf97bee9487ab92a66d313; >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < 1e29d829ad51d1472dd035487953a6724b56fc33; >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < b5cd108143513e4498027b96ec4710702d186f11; >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < 978e3d023256bfaf34a0033d40c94e8a8e70cf3c; >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < 787163d19bc3cdc6ca4b96223f62208534d1cf6b; >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < ad6dd7a2bac86118985c7b3426e175b9d3c1ec4f; >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < 4b674dd69701c2e22e8e7770c1706a69f3b17269; Linux 4.14
Fixed in
Linux 4ab7e453a3ee88c274cf97bee9487ab92a66d313, Linux 1e29d829ad51d1472dd035487953a6724b56fc33, Linux 978e3d023256bfaf34a0033d40c94e8a8e70cf3c, Linux 787163d19bc3cdc6ca4b96223f62208534d1cf6b, Linux 4b674dd69701c2e22e8e7770c1706a69f3b17269
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < 4ab7e453a3ee88c274cf97bee9487ab92a66d313; >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < 1e29d829ad51d1472dd035487953a6724b56fc33; >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < b5cd108143513e4498027b96ec4710702d186f11; >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < 978e3d023256bfaf34a0033d40c94e8a8e70cf3c; >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < 787163d19bc3cdc6ca4b96223f62208534d1cf6b; >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < ad6dd7a2bac86118985c7b3426e175b9d3c1ec4f; >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < 4b674dd69701c2e22e8e7770c1706a69f3b17269—cvelist
Linux4.14—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2021-47659. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47659.md
Affected: Linux >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < 4ab7e453a3ee88c274cf97bee9487ab92a66d313; >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < 1e29d829ad51d1472dd035487953a6724b56fc33; >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < b5cd108143513e4498027b96ec4710702d186f11; >= e6fc3b68558e4c6d8d160b5…
Fixed in: Linux 4ab7e453a3ee88c274cf97bee9487ab92a66d313, Linux 1e29d829ad51d1472dd035487953a6724b56fc33, Linux 978e3d023256bfaf34a0033d40c94e8a8e70cf3c, Linux 787163d19bc3cdc6ca4b96223f62208534d1cf6b, Linux 4b674dd69701c2e22e8e7770c1706a69f3b17269

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2021-47659 being exploited?

There is no confirmed exploitation: CVE-2021-47659 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2021-47659?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2021-47659?

Linux >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < 4ab7e453a3ee88c274cf97bee9487ab92a66d313; >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < 1e29d829ad51d1472dd035487953a6724b56fc33; >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < b5cd108143513e4498027b96ec4710702d186f11; >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < 978e3d023256bfaf34a0033d40c94e8a8e70cf3c; >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < 787163d19bc3cdc6ca4b96223f62208534d1cf6b; >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < ad6dd7a2bac86118985c7b3426e175b9d3c1ec4f; >= e6fc3b68558e4c6d8d160b5daf2511b99afa8814, < 4b674dd69701c2e22e8e7770c1706a69f3b17269; Linux 4.14.

Is there a fix for CVE-2021-47659?

Yes. Fixed in Linux 4ab7e453a3ee88c274cf97bee9487ab92a66d313, Linux 1e29d829ad51d1472dd035487953a6724b56fc33, Linux 978e3d023256bfaf34a0033d40c94e8a8e70cf3c, Linux 787163d19bc3cdc6ca4b96223f62208534d1cf6b, Linux 4b674dd69701c2e22e8e7770c1706a69f3b17269. Upgrade Linux to 4b674dd69701c2e22e8e7770c1706a69f3b17269 or later.

How do I check if I'm affected by CVE-2021-47659?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors