NULL pointer dereference in Linux
CVE-2022-50181
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 ]
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.003, 18.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257, 4.4, 0
- Linux Kernel
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cve-scores). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/259773fc874258606c0121767a4a27466ff337eb (Patch)
- git.kernel.org/stable/c/39caef09666c1d8274abf9472c72bcac236dc5fb (Patch)
- git.kernel.org/stable/c/adbdd21983fa292e53aec3eab97306b2961ea887 (Patch)
- git.kernel.org/stable/c/367882a5a9448b5e1ba756125308092d614cb96c (Patch)
- git.kernel.org/stable/c/bd63f11f4c3c46afec07d821f74736161ff6e526 (Patch)