CVE-2022-50181

Source
https://cve.org/CVERecord?id=CVE-2022-50181
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50181.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50181
Downstream
Related
Published
2025-06-18T11:03:30.273Z
Modified
2026-06-18T03:55:27.735770593Z
Summary
virtio-gpu: fix a missing check to avoid NULL dereference
Details

In the Linux kernel, the following vulnerability has been resolved:

virtio-gpu: fix a missing check to avoid NULL dereference

'cacheent' could be set NULL inside virtiogpucmdgetcapset() and it will lead to a NULL dereference by a lately use of it (i.e., ptr = cacheent->caps_cache). Fix it with a NULL check.

[ kraxel: minor codestyle fixup ]

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50181.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257
Fixed
259773fc874258606c0121767a4a27466ff337eb
Fixed
39caef09666c1d8274abf9472c72bcac236dc5fb
Fixed
adbdd21983fa292e53aec3eab97306b2961ea887
Fixed
367882a5a9448b5e1ba756125308092d614cb96c
Fixed
bd63f11f4c3c46afec07d821f74736161ff6e526

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50181.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.4.0
Fixed
5.10.137
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.61
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.18.18
Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
5.19.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50181.json"