CVE-2022-50842
drm/virtio: Check whether transferred 2D BO is shmem
Check your servers for CVE-2022-50842
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50842 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
drm/virtio: Check whether transferred 2D BO is shmem
Transferred 2D BO always must be a shmem BO. Add check for that to prevent NULL dereference if userspace passes a VRAM BO.
Exploitation
EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 18.3% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from f651c8b055423057d9f41525dfdc37b4796015d1, before f134f261d76ae3d5ecf68db642eaa746ceb84cfb affected from f651c8b055423057d9f41525dfdc37b4796015d1, before f122bcb34f1a4b02ef3d95058d8fd1316ea03785 affected from f651c8b055423057d9f41525dfdc37b4796015d1, before 989164305b933af06d69bb91044dafbd01025371 affected from f651c8b055423057d9f41525dfdc37b4796015d1, before 36e133af33ea54193378b190cf92c47c12a43d34 affected from f651c8b055423057d9f41525dfdc37b4796015d1, before e473216b42aa1fd9fc6b94b608b42c210c655908
Other versions: unaffected
|
| Linux |
affected 5.7 unaffected before 5.7 unaffected from 5.10.150 up to and including 5.10.* unaffected from 5.15.75 up to and including 5.15.* unaffected from 5.19.17 up to and including 5.19.* unaffected from 6.0.3 up to and including 6.0.* unaffected 6.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50842 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50842
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-50842
trivy image --scanners vuln IMAGE | grep CVE-2022-50842
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/f134f261d76ae3d5ecf68db642eaa746ceb84cfb git.kernel.org
- https://git.kernel.org/stable/c/f122bcb34f1a4b02ef3d95058d8fd1316ea03785 git.kernel.org
- https://git.kernel.org/stable/c/989164305b933af06d69bb91044dafbd01025371 git.kernel.org
- https://git.kernel.org/stable/c/36e133af33ea54193378b190cf92c47c12a43d34 git.kernel.org
- https://git.kernel.org/stable/c/e473216b42aa1fd9fc6b94b608b42c210c655908 git.kernel.org
Source: the record CVE-2022-50842 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse