CVE-2024-57798
drm/dp_mst: Ensure mst_primary pointer is valid in drm_dp_mst_handle_up_req()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 9408cc94eb041d0c2f9f00189a613b94c0449450, < f61b2e5e7821f868d6afc22382a66a30ee780ba0; >= 9408cc94eb041d0c2f9f00189a613b94c0449450, < 9735d40f5fde9970aa46e828ecc85c32571d58a2; >= 9408cc94eb041d0c2f9f00189a613b94c0449450, < ce55818b2d3a999f886af91679589e4644ff1dc8; >= 9408cc94eb041d0c2f9f00189a613b94c0449450, < e54b00086f7473dbda1a7d6fc47720ced157c6a8
- Anyone running Linux 5.5
Vulnerability facts
- Affected
- Linux >= 9408cc94eb041d0c2f9f00189a613b94c0449450, < f61b2e5e7821f868d6afc22382a66a30ee780ba0; >= 9408cc94eb041d0c2f9f00189a613b94c0449450, < 9735d40f5fde9970aa46e828ecc85c32571d58a2; >= 9408cc94eb041d0c2f9f00189a613b94c0449450, < ce55818b2d3a999f886af91679589e4644ff1dc8; >= 9408cc94eb041d0c2f9f00189a613b94c0449450, < e54b00086f7473dbda1a7d6fc47720ced157c6a8; Linux 5.5
- Fixed in
- Linux 9735d40f5fde9970aa46e828ecc85c32571d58a2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- CWE
- CWE-416, CWE-476
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 9408cc94eb041d0c2f9f00189a613b94c0449450, < f61b2e5e7821f868d6afc22382a66a30ee780ba0; >= 9408cc94eb041d0c2f9f00189a613b94c0449450, < 9735d40f5fde9970aa46e828ecc85c32571d58a2; >= 9408cc94eb041d0c2f9f00189a613b94c0449450, < ce55818b2d3a999f886af91679589e4644ff1dc8; >= 9408cc94eb041d0c2f9f00189a613b94c0449450, < e54b00086f7473dbda1a7d6fc47720ced157c6a8 | — | cvelist |
| Linux | 5.5 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-57798. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-57798.md Affected: Linux >= 9408cc94eb041d0c2f9f00189a613b94c0449450, < f61b2e5e7821f868d6afc22382a66a30ee780ba0; >= 9408cc94eb041d0c2f9f00189a613b94c0449450, < 9735d40f5fde9970aa46e828ecc85c32571d58a2; >= 9408cc94eb041d0c2f9f00189a613b94c0449450, < ce55818b2d3a999f886af91679589e4644ff1dc8; >= 9408cc94eb041d0c2f9f001… Fixed in: Linux 9735d40f5fde9970aa46e828ecc85c32571d58a2 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2024-57798 being exploited?
There is no confirmed exploitation: CVE-2024-57798 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-57798?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-57798?
Linux >= 9408cc94eb041d0c2f9f00189a613b94c0449450, < f61b2e5e7821f868d6afc22382a66a30ee780ba0; >= 9408cc94eb041d0c2f9f00189a613b94c0449450, < 9735d40f5fde9970aa46e828ecc85c32571d58a2; >= 9408cc94eb041d0c2f9f00189a613b94c0449450, < ce55818b2d3a999f886af91679589e4644ff1dc8; >= 9408cc94eb041d0c2f9f00189a613b94c0449450, < e54b00086f7473dbda1a7d6fc47720ced157c6a8; Linux 5.5.
Is there a fix for CVE-2024-57798?
Yes. Fixed in Linux 9735d40f5fde9970aa46e828ecc85c32571d58a2. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-57798?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.