CVE-2023-52815

drm/amdgpu/vkms: fix a possible null pointer dereference

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/amdgpu/vkms: fix a possible null pointer dereference In amdgpu_vkms_conn_get_modes(), the return value of drm_cvt_mode() is assigned to mode, which will lead to a NULL pointer dereference on failure of drm_cvt_mode(). Add a check to avoid null pointer dereference.

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 d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < eaa03ea366c85ae3cb69c8d4bbc67c8bc2167a27 ; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 33fb1a555354bd593f785935ddcb5d9dd4d3847f ; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 8c6c85a073768df68c1a3fea143d013a38c66d34 ; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 70f831f21155c692bb336c434936fd6f24f3f81a ; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < cd90511557fdfb394bb4ac4c3b539b007383914c
Linux · Linuxaffected 4.2 ; unaffected 0 < 4.2 ; unaffected 5.15.140 ≤ 5.15.* ; unaffected 6.1.64 ≤ 6.1.* ; unaffected 6.5.13 ≤ 6.5.* ; unaffected 6.6.3 ≤ 6.6.*

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