Skip to content
CVE Ledger
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • Data statusPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
  • Support the projectPage
Back

CVE-2024-57798

drm/dp_mst: Ensure mst_primary pointer is valid in drm_dp_mst_handle_up_req()

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.

Timeline

  1. ID reserved

    By Linux

  2. Published

  3. · 16 months later

    Record updated

Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.

Scores

CVSS scores of CVE-2024-57798, by who scored it
Scored byCVSSScoreVector
CISA-ADPADP (enrichment)3.1High7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVDNVD · Modified3.1High7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS (exploitation in 30 days)
0.22% · top 87% of all CVEs (10 Nov 2026)
CISA SSVC
Exploitation: none · Automatable: no · Technical impact: total
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.

Affected products

  • Linux · Linux

    • affected 9408cc94eb041d0c2f9f00189a613b94c0449450 – < f61b2e5e7821f868d6afc22382a66a30ee780ba0
    • affected 9408cc94eb041d0c2f9f00189a613b94c0449450 – < 9735d40f5fde9970aa46e828ecc85c32571d58a2
    • affected 9408cc94eb041d0c2f9f00189a613b94c0449450 – < ce55818b2d3a999f886af91679589e4644ff1dc8
    • affected 9408cc94eb041d0c2f9f00189a613b94c0449450 – < e54b00086f7473dbda1a7d6fc47720ced157c6a8
  • Linux · Linux

    • affected 5.5
    • unaffected < 5.5
    • unaffected 6.1.123 – ≤ 6.1.*
    • unaffected 6.6.69 – ≤ 6.6.*
    • unaffected 6.12.8 – ≤ 6.12.*
    • unaffected 6.13 – ≤ *

References

5

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2024-57798 badge
[![CVE-2024-57798](https://cveledger.app/badge/CVE-2024-57798.svg)](https://cveledger.app/cve/CVE-2024-57798)

Record last updated .