NetSight
medium5.5

CVE-2024-38548

In the Linux kernel, the following vulnerability has been resolved: drm: bridge: cdns-mhdp8546: Fix possible null pointer dereference In cdns_mhdp_atomic_enabl…

Impact

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.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 5.10 before 5.10.219
from 5.11 before 5.15.161
from 5.16 before 6.1.93
from 6.2 before 6.6.33
from 6.7 before 6.8.12
from 6.9 before 6.9.3

Weakness classification

References