CVE-2024-56777 drm/sti: avoid potential dereference of error pointers in sti_gdp_atomic_check
A missing error check in the STI DRM driver allows dereferencing an error pointer, potentially causing a kernel crash.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-56777?
CVE-2024-56777 is a medium-severity vulnerability in Linux kernel, published on 8 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
drm/sti: avoid potential dereference of error pointers in sti_gdp_atomic_check
The return value of drm_atomic_get_crtc_state() needs to be checked. To avoid use of error pointer 'crtc_state' in case of the failure.
Weakness: CWE-754
Which versions are affected by CVE-2024-56777?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-56777?
Apply the vendor's patch.
Is CVE-2024-56777 being exploited?
There is no known exploitation of CVE-2024-56777 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-55355, AZL-55360, BELL-CVE-2024-56777, DEBIAN-CVE-2024-56777, GHSA-w4pw-p565-4p8w, ROOT-OS-DEBIAN-11-CVE-2024-56777 and 1 more.