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

Medium 5.5 Published Updated

A NULL pointer dereference in the AMD display driver can cause a system crash, requiring a kernel patch to prevent denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-52773?

CVE-2023-52773 is a medium-severity vulnerability in Linux kernel, published on 21 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-476

Which versions are affected by CVE-2023-52773?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-52773?

Apply the vendor's patch.

Is CVE-2023-52773 being exploited?

There is no known exploitation of CVE-2023-52773 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-52773, DEBIAN-CVE-2023-52773, GHSA-7wpw-cr6j-83q8, UBUNTU-CVE-2023-52773.

Is CVE-2023-52773 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free