CVE-2022-50181

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
18/06/2025
Last modified:
20/11/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> virtio-gpu: fix a missing check to avoid NULL dereference<br /> <br /> &amp;#39;cache_ent&amp;#39; could be set NULL inside virtio_gpu_cmd_get_capset()<br /> and it will lead to a NULL dereference by a lately use of it<br /> (i.e., ptr = cache_ent-&gt;caps_cache). Fix it with a NULL check.<br /> <br /> <br /> [ kraxel: minor codestyle fixup ]

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.4 (including) 5.10.137 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.15.61 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 5.18.18 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.19 (including) 5.19.2 (excluding)