CVE-2022-50181

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 ]
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

20 Nov 2025, 22:05

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CWE CWE-476
First Time Linux linux Kernel
Linux
References () https://git.kernel.org/stable/c/259773fc874258606c0121767a4a27466ff337eb - () https://git.kernel.org/stable/c/259773fc874258606c0121767a4a27466ff337eb - Patch
References () https://git.kernel.org/stable/c/367882a5a9448b5e1ba756125308092d614cb96c - () https://git.kernel.org/stable/c/367882a5a9448b5e1ba756125308092d614cb96c - Patch
References () https://git.kernel.org/stable/c/39caef09666c1d8274abf9472c72bcac236dc5fb - () https://git.kernel.org/stable/c/39caef09666c1d8274abf9472c72bcac236dc5fb - Patch
References () https://git.kernel.org/stable/c/adbdd21983fa292e53aec3eab97306b2961ea887 - () https://git.kernel.org/stable/c/adbdd21983fa292e53aec3eab97306b2961ea887 - Patch
References () https://git.kernel.org/stable/c/bd63f11f4c3c46afec07d821f74736161ff6e526 - () https://git.kernel.org/stable/c/bd63f11f4c3c46afec07d821f74736161ff6e526 - Patch

Information

Published : 2025-06-18 11:15

Updated : 2025-11-20 22:05


NVD link : CVE-2022-50181

Mitre link : CVE-2022-50181

CVE.ORG link : CVE-2022-50181


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference