CVE-2022-50181 Details
Description
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 ]
A vulnerability in the Linux kernel's virtio-gpu component could lead to a NULL pointer dereference. This issue arises because 'cache_ent' may be set to NULL within the 'virtio_gpu_cmd_get_capset()' function. The vulnerability is created when this NULL value is later accessed without a proper check, leading to a dereference error.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/259773fc874258606c0121767a4a27466ff337eb | kernel.org | Patch |
| https://git.kernel.org/stable/c/367882a5a9448b5e1ba756125308092d614cb96c | kernel.org | Patch |
| https://git.kernel.org/stable/c/39caef09666c1d8274abf9472c72bcac236dc5fb | kernel.org | Patch |
| https://git.kernel.org/stable/c/adbdd21983fa292e53aec3eab97306b2961ea887 | kernel.org | Patch |
| https://git.kernel.org/stable/c/bd63f11f4c3c46afec07d821f74736161ff6e526 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.4, < 5.10.137 >= 5.11, < 5.15.61 >= 5.16, < 5.18.18 >= 5.19, < 5.19.2 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 20, 2025 | Initial Analysis | [email protected] |
| Jun 18, 2025 | New CVE Received | kernel.org |