← CVE Intelligence

CVE-2024-56775

drm/amd/display: Fix handling of plane refcount PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix handling of plane refcount [Why] The mechanism to backup and restore plane states doesn't maintain refcount, which can cause issues if the refcount of the plane changes in between backup and restore operations, such as memory leaks if the refcount was supposed to go down, or double frees / invalid memory accesses if the refcount was supposed to go up. [How] Cache and re-apply current refcount when restoring plane states.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 8cb2f6793845f135b28361ba8e96901cae3e5790; affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 27227a234c1487cb7a684615f0749c455218833a
Linux / Linuxaffected 4.15; unaffected 0 before 4.15; unaffected 6.12.4 through 6.12.*; unaffected 6.13 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.