CVE-2024-49992 drm/stm: Avoid use-after-free issues with crtc and plane
A use-after-free vulnerability in the Linux kernel's STM DRM driver allows attackers to potentially execute code or escalate privileges via improper memory management.
- 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-49992?
CVE-2024-49992 is a high-severity use after free vulnerability in Linux kernel, published on 21 Oct 2024. 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/stm: Avoid use-after-free issues with crtc and plane
ltdc_load() calls functions drm_crtc_init_with_planes(), drm_universal_plane_init() and drm_encoder_init(). These functions should not be called with parameters allocated with devm_kzalloc() to avoid use-after-free issues [1].
Use allocations managed by the DRM framework.
Found by Linux Verification Center (linuxtesting.org).
[1] https://lore.kernel.org/lkml/u366i76e3qhh3ra5oxrtngjtm2u5lterkekcz6y2jkndhuxzli@diujon4h7qwb/
Weakness: CWE-416
Which versions are affected by CVE-2024-49992?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-49992?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2024-49992 being exploited?
There is no known exploitation of CVE-2024-49992 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-49992, DEBIAN-CVE-2024-49992, GHSA-m7hg-2r4m-qcxr, ROOT-OS-DEBIAN-11-CVE-2024-49992, ROOT-OS-UBUNTU-2204-CVE-2024-49992, UBUNTU-CVE-2024-49992.