In the Linux kernel, the following vulnerability has been resolved:
virtio-gpu: fix a missing check to avoid NULL dereference
'cacheent' could be set NULL inside virtiogpucmdgetcapset() and it will lead to a NULL dereference by a lately use of it (i.e., ptr = cacheent->caps_cache). Fix it with a NULL check.
[ kraxel: minor codestyle fixup ]
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50181.json"
}