CVE-2024-39498 drm/mst: Fix NULL pointer dereference at drm_dp_add_payload_part2
A NULL pointer dereference in the Linux kernel's DRM MST subsystem allows local attackers to cause a system 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-39498?
CVE-2024-39498 is a medium-severity vulnerability in Linux kernel, published on 12 Jul 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/mst: Fix NULL pointer dereference at drm_dp_add_payload_part2
[Why] Commit: - commit 5aa1dfcdf0a4 ("drm/mst: Refactor the flow for payload allocation/removement") accidently overwrite the commit - commit 54d217406afe ("drm: use mgr->dev in drm_dbg_kms in drm_dp_add_payload_part2") which cause regression.
[How] Recover the original NULL fix and remove the unnecessary input parameter 'state' for drm_dp_add_payload_part2().
(cherry picked from commit 4545614c1d8da603e57b60dd66224d81b6ffc305)
Weakness: CWE-476
Which versions are affected by CVE-2024-39498?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-39498?
Apply the vendor's patch.
Is CVE-2024-39498 being exploited?
There is no known exploitation of CVE-2024-39498 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-39498, DEBIAN-CVE-2024-39498, GHSA-52j9-mgvj-v9gh, UBUNTU-CVE-2024-39498.