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
- https://git.kernel.org/stable/c/eaa03ea366c85ae3cb69c8d4bbc67c8bc2167a27
- https://git.kernel.org/stable/c/33fb1a555354bd593f785935ddcb5d9dd4d3847f
- https://git.kernel.org/stable/c/8c6c85a073768df68c1a3fea143d013a38c66d34
- https://git.kernel.org/stable/c/70f831f21155c692bb336c434936fd6f24f3f81a
- https://git.kernel.org/stable/c/cd90511557fdfb394bb4ac4c3b539b007383914c
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2023-59531
- GCVE · GCVE-0-2023-52815
CERT-FR advisories
- CERTFR-2024-AVI-0717 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0693 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0632 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0526 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0496 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*< 5.15.140cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 6.1.64cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.2 < 6.5.13cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.6 < 6.6.3
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < eaa03ea366c85ae3cb69c8d4bbc67c8bc2167a27 ; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 33fb1a555354bd593f785935ddcb5d9dd4d3847f ; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 8c6c85a073768df68c1a3fea143d013a38c66d34 ; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 70f831f21155c692bb336c434936fd6f24f3f81a ; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < cd90511557fdfb394bb4ac4c3b539b007383914c |
| Linux · Linux | affected 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
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |