CVE-2024-57798
Last modified
CVE-2024-57798 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | < 6.1.123 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.69 | — |
| Linux | Linux Kernel | >= 6.7, < 6.12.8 | — |
| Linux | Linux Kernel | 6.13 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-57798?
How severe is CVE-2024-57798?
How do I fix CVE-2024-57798?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-5779Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2024-57790IXON B.V. IXrouter IX2400 (Industrial Edge Gateway) v3.0 was…5.4
- CVE-2024-57791In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2024-57792In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-57793In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57795In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-57799In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-5780Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2024-57800In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57801In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-57802In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57804In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-57798?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
