CVE-2024-38548: drm: bridge: cdns-mhdp8546: Fix possible null pointer dereference
In the Linux kernel, the following vulnerability has been resolved:
drm: bridge: cdns-mhdp8546: Fix possible null pointer dereference
In cdns_mhdp_atomic_enable(), the return value of drm_mode_duplicate() is
assigned to mhdp_state->current_mode, and there is a dereference of it in
drm_mode_set_name(), which will lead to a NULL pointer dereference on
failure of drm_mode_duplicate().
Fix this bug add a check of mhdp_state->current_mode.
Security readout for executives and security teams
Plain-English summary
CVE-2024-38548 is a Linux kernel availability bug in the Cadence MHDP8546 DRM bridge driver. If an internal kernel allocation fails, later code can dereference a null pointer and crash the affected path. The published CVSS is medium, and the impact is availability only.
Executive priority
Treat as a scheduled kernel maintenance item unless affected display systems are exposed to untrusted local users. It is not a remote code execution issue in the provided evidence.
Technical view
In cdns_mhdp_atomic_enable(), drm_mode_duplicate() can return NULL. The vulnerable code stores that value in mhdp_state->current_mode and then passes it to drm_mode_set_name(), causing a possible NULL pointer dereference. The fix adds a NULL check before dereference.
Likely exposure
Exposure is most likely on Linux systems running affected kernel versions with the cdns-mhdp8546 DRM bridge driver present or used. The bundle does not identify affected distributions or downstream package versions.
Exploitation context
The CVSS vector is local, low complexity, low privileges, no user interaction, with high availability impact. The source bundle does not report active exploitation, and KEV status is false.
Researcher notes
The vulnerability is CWE-476 and maps cleanly to a defensive NULL-check fix. Evidence is limited to the CVE description, CVSS vector, KEV false status, affected kernel version metadata, and upstream stable commit references.
Mitigation direction
Update to a vendor kernel containing the referenced stable fixes.
Prioritize systems using Cadence MHDP8546 display bridge support.
Check distribution advisories for backported fixed kernel package versions.
If immediate patching is unavailable, reduce untrusted local access where practical.
Validation and detection
Inventory kernel versions against vendor fixed package guidance.
Check whether the cdns-mhdp8546 driver is built, loaded, or required.
Confirm patched source includes a NULL check for mhdp_state->current_mode.
Review crash logs for NULL pointer dereferences in the DRM bridge path.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-476: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-476 · source CWE mapping
NULL Pointer Dereference
NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.