CVE-2026-53058

drm/bridge: cadence: cdns-mhdp8546-core: Set the mhdp connector earlier in atomic_enable()

State
Published
Severity
Not scored
Published
Jun 24, 2026
Updated
Jun 24, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

drm/bridge: cadence: cdns-mhdp8546-core: Set the mhdp connector earlier in atomic_enable()

In case if we get errors in cdns_mhdp_link_up() or cdns_mhdp_reg_read() in atomic_enable, we will go to cdns_mhdp_modeset_retry_fn() and will hit NULL pointer while trying to access the mutex. We need the connector to be set before that. Unlike in legacy cases with flag !DRM_BRIDGE_ATTACH_NO_CONNECTOR, we do not have connector initialised in bridge_attach(), so add the mhdp->connector_ptr in device structure to handle both cases with DRM_BRIDGE_ATTACH_NO_CONNECTOR and !DRM_BRIDGE_ATTACH_NO_CONNECTOR, set it in atomic_enable() earlier to avoid possible NULL pointer dereference in recovery paths like modeset_retry_fn() with the DRM_BRIDGE_ATTACH_NO_CONNECTOR flag set.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c932ced6b58524eeb948ff252f6512cd6bcb9d9f to before 5302015daf26ef6b48e067f2b86c9482ac19e015Affected
  • c932ced6b58524eeb948ff252f6512cd6bcb9d9f to before a3611554e599d1a24b45fd8415bacb72ce861e4bAffected
  • c932ced6b58524eeb948ff252f6512cd6bcb9d9f to before cf2ac2cac8b319f89b3a3851ca0c5ffb6a549575Affected
  • c932ced6b58524eeb948ff252f6512cd6bcb9d9f to before 1af3b42e08a957e53bab8e1897393fe0a27d9fbfAffected
  • c932ced6b58524eeb948ff252f6512cd6bcb9d9f to before 43d6508ddbf9fb974fbc359a033154f78c9d4c8bAffected
LinuxLinux
  • 6.6Affected
  • before 6.6Not affected
  • 6.6.141 through 6.6.*Not affected
  • 6.12.91 through 6.12.*Not affected
  • 6.18.33 through 6.18.*Not affected
  • 7.0.10 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.