CVE-2022-50842 Details
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.
A vulnerability in the Linux kernel's handling of 2D buffer objects (BO) in the virtio graphics driver can lead to a NULL pointer dereference. This issue arises because transferred 2D BOs are required to be shared memory (shmem) BOs. The vulnerability occurs when userspace mistakenly sends a video RAM (VRAM) BO instead. The flaw has been addressed by adding a check to ensure that only shmem BOs are transferred, preventing the NULL dereference.
Users can upgrade to the patched version of the Linux kernel where this vulnerability has been addressed. The specific commit containing the fix is available in the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 30, 2025References 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/36e133af33ea54193378b190cf92c47c12a43d34 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/989164305b933af06d69bb91044dafbd01025371 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/e473216b42aa1fd9fc6b94b608b42c210c655908 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/f122bcb34f1a4b02ef3d95058d8fd1316ea03785 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/f134f261d76ae3d5ecf68db642eaa746ceb84cfb | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 30, 2025 | New CVE Received | kernel.org |
Volerion