CVE-2023-52773: drm/amd/display: fix a NULL pointer dereference in amdgpu_dm_i2c_xfer()

Description

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

drm/amd/display: fix a NULL pointer dereference in amdgpu_dm_i2c_xfer()

When ddc_service_construct() is called, it explicitly checks both the
link type and whether there is something on the link which will
dictate whether the pin is marked as hw_supported.

If the pin isn't set or the link is not set (such as from
unloading/reloading amdgpu in an IGT test) then fail the
amdgpu_dm_i2c_xfer() call.

Classification

CVE ID: CVE-2023-52773

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 5.06% (scored less or equal to compared to others)

EPSS Date: 2025-02-03 (when was this score calculated)

References

https://git.kernel.org/stable/c/fb5c134ca589fe670430acc9e7ebf2691ca2476d
https://git.kernel.org/stable/c/5b14cf37b9f01de0b28c6f8960019d4c7883ce42
https://git.kernel.org/stable/c/1d07b7e84276777dad3c8cfebdf8e739606f90c9
https://git.kernel.org/stable/c/b71f4ade1b8900d30c661d6c27f87c35214c398c

Timeline