CVE-2024-38548

drm: bridge: cdns-mhdp8546: Fix possible null pointer dereference

State
Published
Severity
5.5 Medium
Published
Jun 19, 2024
Updated
May 11, 2026
Reserved
Jun 18, 2024

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • fb43aa0acdfd600c75b8c877bdf9f6e9893ffc9b to before 85d1a27402f81f2e04b0e67d20f749c2a14edbb3Affected
  • fb43aa0acdfd600c75b8c877bdf9f6e9893ffc9b to before 89788cd9824c28ffcdea40232c458233353d1896Affected
  • fb43aa0acdfd600c75b8c877bdf9f6e9893ffc9b to before ca53b7efd4ba6ae92fd2b3085cb099c745e96965Affected
  • fb43aa0acdfd600c75b8c877bdf9f6e9893ffc9b to before dcf53e6103b26e7458be71491d0641f49fbd5840Affected
  • fb43aa0acdfd600c75b8c877bdf9f6e9893ffc9b to before 32fb2ef124c3301656ac6c789a2ef35ef69a66daAffected
  • fb43aa0acdfd600c75b8c877bdf9f6e9893ffc9b to before 47889711da20be9b43e1e136e5cb68df37cbcc79Affected
  • fb43aa0acdfd600c75b8c877bdf9f6e9893ffc9b to before 935a92a1c400285545198ca2800a4c6c519c650aAffected
LinuxLinux
  • 5.10Affected
  • before 5.10Not affected
  • 5.10.219 through 5.10.*Not affected
  • 5.15.161 through 5.15.*Not affected
  • 6.1.93 through 6.1.*Not affected
  • 6.6.33 through 6.6.*Not affected
  • 6.8.12 through 6.8.*Not affected
  • 6.9.3 through 6.9.*Not affected
  • 6.10 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.