CVE-2024-38548

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

Medium · published June 19, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
15.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00250 · 15.4th percentile
Published
2024-06-19T13:35Z
EPSS history
Timeline
  • 19 JUN 13:35Z
    drm: bridge: cdns-mhdp8546: Fix possible null pointer dereference
    cvelistv5