CVE-2022-50181
published 2025-06-18CVE-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…
PriorityP418medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.21%
11.0th percentile
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 ]
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.0.2-1 (bookworm) | linux 6.0.2-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 < 259773fc874258606c0121767a4a27466ff337eb | 259773fc874258606c0121767a4a27466ff337eb |
| linux | linux | >= 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 < 39caef09666c1d8274abf9472c72bcac236dc5fb | 39caef09666c1d8274abf9472c72bcac236dc5fb |
| linux | linux | >= 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 < adbdd21983fa292e53aec3eab97306b2961ea887 | adbdd21983fa292e53aec3eab97306b2961ea887 |
| linux | linux | >= 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 < 367882a5a9448b5e1ba756125308092d614cb96c | 367882a5a9448b5e1ba756125308092d614cb96c |
| linux | linux | >= 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 < bd63f11f4c3c46afec07d821f74736161ff6e526 | bd63f11f4c3c46afec07d821f74736161ff6e526 |
| linux | linux_kernel | >= 0 < 5.10.140-1 | 5.10.140-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 4.4 < 5.10.137 | 5.10.137 |
| linux | linux_kernel | >= 5.11 < 5.15.61 | 5.15.61 |
| linux | linux_kernel | >= 5.16 < 5.18.18 | 5.18.18 |
| linux | linux_kernel | >= 5.19 < 5.19.2 | 5.19.2 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: virtio-gpu: fix a missing check to avoid NULL dereference
vendor_redhat·2025-06-18·CVSS 5.5
CVE-2022-50181 [MEDIUM] kernel: virtio-gpu: fix a missing check to avoid NULL dereference
kernel: virtio-gpu: fix a missing check to avoid NULL dereference
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 ]
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Fix deferred
Package: kernel-rt (Red Hat Enterprise Linux 7) - Fix deferred
Package: kernel-rt (Red Hat Enterprise Linux 8) - Affected
Package: kernel-rt (Red Hat Enterprise Linux 9) - Affected
Debian
CVE-2022-50181: linux - In the Linux kernel, the following vulnerability has been resolved: virtio-gpu:...
vendor_debian·2022·CVSS 5.5
CVE-2022-50181 [MEDIUM] CVE-2022-50181: linux - In the Linux kernel, the following vulnerability has been resolved: virtio-gpu:...
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 ]
Scope: local
bookworm: resolved (fixed in 6.0.2-1)
bullseye: resolved (fixed in 5.10.140-1)
forky: resolved (fixed in 6.0.2-1)
sid: resolved (fixed in 6.0.2-1)
trixie: resolved (fixed in 6.0.2-1)
OSV
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
osv·2025-06-18·CVSS 5.5
CVE-2022-50181 [MEDIUM] 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
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 ]
GHSA
GHSA-r98c-6vfm-m459: In the Linux kernel, the following vulnerability has been resolved:
virtio-gpu: fix a missing check to avoid NULL dereference
'cache_ent' could be s
ghsa_unreviewed·2025-06-18
CVE-2022-50181 [MEDIUM] CWE-476 GHSA-r98c-6vfm-m459: In the Linux kernel, the following vulnerability has been resolved:
virtio-gpu: fix a missing check to avoid NULL dereference
'cache_ent' could be s
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 ]
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/259773fc874258606c0121767a4a27466ff337ebhttps://git.kernel.org/stable/c/367882a5a9448b5e1ba756125308092d614cb96chttps://git.kernel.org/stable/c/39caef09666c1d8274abf9472c72bcac236dc5fbhttps://git.kernel.org/stable/c/adbdd21983fa292e53aec3eab97306b2961ea887https://git.kernel.org/stable/c/bd63f11f4c3c46afec07d821f74736161ff6e526
2025-06-18
Published