CVE-2022-50842
drm/virtio: Check whether transferred 2D BO is shmem
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= f651c8b055423057d9f41525dfdc37b4796015d1, < f134f261d76ae3d5ecf68db642eaa746ceb84cfb; >= f651c8b055423057d9f41525dfdc37b4796015d1, < f122bcb34f1a4b02ef3d95058d8fd1316ea03785; >= f651c8b055423057d9f41525dfdc37b4796015d1, < 989164305b933af06d69bb91044dafbd01025371; >= f651c8b055423057d9f41525dfdc37b4796015d1, < 36e133af33ea54193378b190cf92c47c12a43d34; >= f651c8b055423057d9f41525dfdc37b4796015d1, < e473216b42aa1fd9fc6b94b608b42c210c655908
- Anyone running Linux 5.7
Vulnerability facts
- Affected
- Linux >= f651c8b055423057d9f41525dfdc37b4796015d1, < f134f261d76ae3d5ecf68db642eaa746ceb84cfb; >= f651c8b055423057d9f41525dfdc37b4796015d1, < f122bcb34f1a4b02ef3d95058d8fd1316ea03785; >= f651c8b055423057d9f41525dfdc37b4796015d1, < 989164305b933af06d69bb91044dafbd01025371; >= f651c8b055423057d9f41525dfdc37b4796015d1, < 36e133af33ea54193378b190cf92c47c12a43d34; >= f651c8b055423057d9f41525dfdc37b4796015d1, < e473216b42aa1fd9fc6b94b608b42c210c655908; Linux 5.7
- Fixed in
- Linux 989164305b933af06d69bb91044dafbd01025371, Linux 36e133af33ea54193378b190cf92c47c12a43d34
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.26% chance of exploitation in 30 days (percentile 11, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= f651c8b055423057d9f41525dfdc37b4796015d1, < f134f261d76ae3d5ecf68db642eaa746ceb84cfb; >= f651c8b055423057d9f41525dfdc37b4796015d1, < f122bcb34f1a4b02ef3d95058d8fd1316ea03785; >= f651c8b055423057d9f41525dfdc37b4796015d1, < 989164305b933af06d69bb91044dafbd01025371; >= f651c8b055423057d9f41525dfdc37b4796015d1, < 36e133af33ea54193378b190cf92c47c12a43d34; >= f651c8b055423057d9f41525dfdc37b4796015d1, < e473216b42aa1fd9fc6b94b608b42c210c655908 | — | cvelist |
| Linux | 5.7 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-50842. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50842.md Affected: Linux >= f651c8b055423057d9f41525dfdc37b4796015d1, < f134f261d76ae3d5ecf68db642eaa746ceb84cfb; >= f651c8b055423057d9f41525dfdc37b4796015d1, < f122bcb34f1a4b02ef3d95058d8fd1316ea03785; >= f651c8b055423057d9f41525dfdc37b4796015d1, < 989164305b933af06d69bb91044dafbd01025371; >= f651c8b055423057d9f4152… Fixed in: Linux 989164305b933af06d69bb91044dafbd01025371, Linux 36e133af33ea54193378b190cf92c47c12a43d34 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/f134f261d76ae3d5ecf68db642eaa746ceb84cfb
- https://git.kernel.org/stable/c/f122bcb34f1a4b02ef3d95058d8fd1316ea03785
- https://git.kernel.org/stable/c/989164305b933af06d69bb91044dafbd01025371
- https://git.kernel.org/stable/c/36e133af33ea54193378b190cf92c47c12a43d34
- https://git.kernel.org/stable/c/e473216b42aa1fd9fc6b94b608b42c210c655908
FAQ
Is CVE-2022-50842 being exploited?
There is no confirmed exploitation: CVE-2022-50842 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50842?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2022-50842?
Linux >= f651c8b055423057d9f41525dfdc37b4796015d1, < f134f261d76ae3d5ecf68db642eaa746ceb84cfb; >= f651c8b055423057d9f41525dfdc37b4796015d1, < f122bcb34f1a4b02ef3d95058d8fd1316ea03785; >= f651c8b055423057d9f41525dfdc37b4796015d1, < 989164305b933af06d69bb91044dafbd01025371; >= f651c8b055423057d9f41525dfdc37b4796015d1, < 36e133af33ea54193378b190cf92c47c12a43d34; >= f651c8b055423057d9f41525dfdc37b4796015d1, < e473216b42aa1fd9fc6b94b608b42c210c655908; Linux 5.7.
Is there a fix for CVE-2022-50842?
Yes. Fixed in Linux 989164305b933af06d69bb91044dafbd01025371, Linux 36e133af33ea54193378b190cf92c47c12a43d34. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-50842?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.