In the Linux kernel, the following vulnerability has been resolved:EOL][EOL]virtio-gpu: fix a missing check to avoid NULL dereference[EOL][EOL]'cache_ent' could be set NULL inside virtio_gpu_cmd_get_capset()[EOL]and it will lead to a NULL dereference by a lately use of it[EOL](i.e., ptr = cache_ent->caps_cache). Fix it with a NULL check.[EOL][EOL][EOL][ kraxel: minor codestyle fixup ] CREATE(Triage):(User=lchen-cn) [CVE-2022-50181 (https://nvd.nist.gov/vuln/detail/CVE-2022-50181)