CVE-2022-50181 virtio-gpu: fix a missing check to avoid NULL dereference
설명
In the Linux kernel, the following vulnerability has been resolved: virtio-gpu: fix a missing check to avoid NULL dereference 'cache_ent' could be set NULL inside virtio_gpu_cmd_get_capset() and it will lead to a NULL dereference by a lately use of it (i.e., ptr = cache_ent->caps_cache). Fix it with a NULL check. [ kraxel: minor codestyle fixup ]
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 4.4
해결 버전
- 4.4 미만
- 5.10.137 이상
- 5.15.61 이상
- 5.18.18 이상
- 5.19.2 이상
참고 자료 5건
- git.kernel.org https://git.kernel.org/stable/c/259773fc874258606c0121767a4a27466ff337eb (새 창)
- git.kernel.org https://git.kernel.org/stable/c/367882a5a9448b5e1ba756125308092d614cb96c (새 창)
- git.kernel.org https://git.kernel.org/stable/c/39caef09666c1d8274abf9472c72bcac236dc5fb (새 창)
- git.kernel.org https://git.kernel.org/stable/c/adbdd21983fa292e53aec3eab97306b2961ea887 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/bd63f11f4c3c46afec07d821f74736161ff6e526 (새 창)