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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-06-24T16:30:03.463Z
- Modified: 2026-07-21T17:29:42.990Z
- Weaknesses: CWE-476
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from c932ced6b58524eeb948ff252f6512cd6bcb9d9f before 5302015daf26ef6b48e067f2b86c9482ac19e015; from c932ced6b58524eeb948ff252f6512cd6bcb9d9f before a3611554e599d1a24b45fd8415bacb72ce861e4b; from c932ced6b58524eeb948ff252f6512cd6bcb9d9f before cf2ac2cac8b319f89b3a3851ca0c5ffb6a549575; from c932ced6b58524eeb948ff252f6512cd6bcb9d9f before 1af3b42e08a957e53bab8e1897393fe0a27d9fbf; from c932ced6b58524eeb948ff252f6512cd6bcb9d9f before 43d6508ddbf9fb974fbc359a033154f78c9d4c8b; 6.6 (not affected: before 6.6; from 6.6.141 up to 6.6.*; from 6.12.91 up to 6.12.*; from 6.18.33 up to 6.18.*; from 7.0.10 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.6 before 6.6.141; from 6.7 before 6.12.91; from 6.13 before 6.18.33; from 6.19 before 7.0.10

## References

- <https://git.kernel.org/stable/c/5302015daf26ef6b48e067f2b86c9482ac19e015> (patch)
- <https://git.kernel.org/stable/c/a3611554e599d1a24b45fd8415bacb72ce861e4b> (patch)
- <https://git.kernel.org/stable/c/cf2ac2cac8b319f89b3a3851ca0c5ffb6a549575> (patch)
- <https://git.kernel.org/stable/c/1af3b42e08a957e53bab8e1897393fe0a27d9fbf> (patch)
- <https://git.kernel.org/stable/c/43d6508ddbf9fb974fbc359a033154f78c9d4c8b> (patch)

## Sources

- CVE List: [CVE-2026-53058](https://www.cve.org/CVERecord?id=CVE-2026-53058), CVE Terms of Use, modified 2026-06-24
- NVD: [CVE-2026-53058](https://nvd.nist.gov/vuln/detail/CVE-2026-53058), Public domain, modified 2026-07-21

---

Page: https://cve.day/CVE-2026-53058 · Whole record: https://cve.day/CVE-2026-53058.json · Rebuilt by cve.day 2026-11-25T22:59:25.676Z
