First published: Sat Jan 11 2025(Updated: )
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.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | ||
Linux Kernel | <6.1.123 | |
Linux Kernel | >=6.2<6.6.69 | |
Linux Kernel | >=6.7<6.12.8 | |
Linux Kernel | =6.13-rc1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-57798 is classified as a high severity vulnerability due to its potential impact on system stability and security.
To remediate CVE-2024-57798, upgrade your Linux kernel to a version that is not affected by this vulnerability.
CVE-2024-57798 affects Linux kernel versions up to 6.1.123 and between 6.2 and 6.6.69, as well as between 6.7 and 6.12.8.
CVE-2024-57798 specifically affects the direct rendering manager (DRM) related to MST (Multi-Stream Transport) requests.
As of now, there are no widely known exploits reported for CVE-2024-57798.