CVE-2024-57798

High

Description

In the Linux kernel, the following vulnerability has been resolved: drm/dp_mst: Ensure mst_primary pointer is valid in drm_dp_mst_handle_up_req() While receiving an MST up request message from one thread in drm_dp_mst_handle_up_req(), the MST topology could be removed from another thread via drm_dp_mst_topology_mgr_set_mst(false), freeing mst_primary and setting drm_dp_mst_topology_mgr::mst_primary to NULL. This could lead to a NULL deref/use-after-free of mst_primary in drm_dp_mst_handle_up_req(). Avoid the above by holding a reference for mst_primary in drm_dp_mst_handle_up_req() while it's used. v2: Fix kfreeing the request if getting an mst_primary reference fails.

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedJan 11, 2025
First seenJan 11, 2025

How to fix

Update
  • linux linux_kernel6.1.123, 6.6.69, 6.12.8 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernelv < 6.1.123, 6.2 ≤ v < 6.6.69, 6.7 ≤ v < 6.12.8, 6.136.1.123, 6.6.69, 6.12.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.