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

CVE-2023-52773
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 15 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 22676bc500c27d987a0b42cbe162aebf783f1c38 < fb5c134ca589fe670430acc9e7ebf2691ca2476d ; affected 22676bc500c27d987a0b42cbe162aebf783f1c38 < 5b14cf37b9f01de0b28c6f8960019d4c7883ce42 ; affected 22676bc500c27d987a0b42cbe162aebf783f1c38 < 1d07b7e84276777dad3c8cfebdf8e739606f90c9 ; affected 22676bc500c27d987a0b42cbe162aebf783f1c38 < b71f4ade1b8900d30c661d6c27f87c35214c398c
Linux · Linuxaffected 6.0 ; unaffected 0 < 6.0 ; unaffected 6.1.64 ≤ 6.1.* ; unaffected 6.5.13 ≤ 6.5.* ; unaffected 6.6.3 ≤ 6.6.* ; unaffected 6.7 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD