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.
Metrics
CVSS 3.1 5.5/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < eaa03ea366c85ae3cb69c8d4bbc67c8bc2167a27; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 33fb1a555354bd593f785935ddcb5d9dd4d3847f; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 8c6c85a073768df68c1a3fea143d013a38c66d34; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 70f831f21155c692bb336c434936fd6f24f3f81a; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < cd90511557fdfb394bb4ac4c3b539b007383914c |
| Linux | Linux | 4.2 |
References
- https://git.kernel.org/stable/c/33fb1a555354bd593f785935ddcb5d9dd4d3847fPatch
- https://git.kernel.org/stable/c/70f831f21155c692bb336c434936fd6f24f3f81aPatch
- https://git.kernel.org/stable/c/8c6c85a073768df68c1a3fea143d013a38c66d34Patch
- https://git.kernel.org/stable/c/cd90511557fdfb394bb4ac4c3b539b007383914cPatch
- https://git.kernel.org/stable/c/eaa03ea366c85ae3cb69c8d4bbc67c8bc2167a27Patch
- https://git.kernel.org/stable/c/33fb1a555354bd593f785935ddcb5d9dd4d3847fPatch
- https://git.kernel.org/stable/c/70f831f21155c692bb336c434936fd6f24f3f81aPatch
- https://git.kernel.org/stable/c/8c6c85a073768df68c1a3fea143d013a38c66d34Patch
- https://git.kernel.org/stable/c/cd90511557fdfb394bb4ac4c3b539b007383914cPatch
- https://git.kernel.org/stable/c/eaa03ea366c85ae3cb69c8d4bbc67c8bc2167a27Patch
Timeline
- Published
- May 21, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Modified