{"id":"CVE-2022-50181","published":"2025-06-18T11:03:30Z","modified":"2026-05-11T19:14:21Z","title":"virtio-gpu: fix a missing check to avoid NULL dereference","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio-gpu: fix a missing check to avoid NULL dereference\n\n'cache_ent' could be set NULL inside virtio_gpu_cmd_get_capset()\nand it will lead to a NULL dereference by a lately use of it\n(i.e., ptr = cache_ent->caps_cache). Fix it with a NULL check.\n\n\n[ kraxel: minor codestyle fixup ]","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00263,"percentile":0.18317,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/259773fc874258606c0121767a4a27466ff337eb","tags":[]},{"url":"https://git.kernel.org/stable/c/39caef09666c1d8274abf9472c72bcac236dc5fb","tags":[]},{"url":"https://git.kernel.org/stable/c/adbdd21983fa292e53aec3eab97306b2961ea887","tags":[]},{"url":"https://git.kernel.org/stable/c/367882a5a9448b5e1ba756125308092d614cb96c","tags":[]},{"url":"https://git.kernel.org/stable/c/bd63f11f4c3c46afec07d821f74736161ff6e526","tags":[]}],"priority":{"score":3.7,"factors":[{"name":"EPSS percentile","points":3.66}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257, < 259773fc874258606c0121767a4a27466ff337eb",">= 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257, < 39caef09666c1d8274abf9472c72bcac236dc5fb",">= 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257, < adbdd21983fa292e53aec3eab97306b2961ea887",">= 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257, < 367882a5a9448b5e1ba756125308092d614cb96c",">= 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257, < bd63f11f4c3c46afec07d821f74736161ff6e526"]},{"vendor":"Linux","product":"Linux","versions":["4.4"]}],"euvd":{"id":"EUVD-2022-55445","exploited":false,"provenance":"source"}}