{"id":"CVE-2022-50842","aliases":["CVE-2022-50842"],"related":[],"kind":"vulnerability","state":"published","title":"drm/virtio: Check whether transferred 2D BO is shmem","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/virtio: Check whether transferred 2D BO is shmem\n\nTransferred 2D BO always must be a shmem BO. Add check for that to prevent\nNULL dereference if userspace passes a VRAM BO.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/virtio: Check whether transferred 2D BO is shmem\n\nTransferred 2D BO always must be a shmem BO. Add check for that to prevent\nNULL dereference if userspace passes a VRAM BO.","source":"cvelist"}],"published":"2025-12-30T12:11:00.439Z","modified":"2026-06-17T05:24:16.870Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"f651c8b055423057d9f41525dfdc37b4796015d1","fixed":"f134f261d76ae3d5ecf68db642eaa746ceb84cfb","status":"affected"},{"type":"git","introduced":"f651c8b055423057d9f41525dfdc37b4796015d1","fixed":"f122bcb34f1a4b02ef3d95058d8fd1316ea03785","status":"affected"},{"type":"git","introduced":"f651c8b055423057d9f41525dfdc37b4796015d1","fixed":"989164305b933af06d69bb91044dafbd01025371","status":"affected"},{"type":"git","introduced":"f651c8b055423057d9f41525dfdc37b4796015d1","fixed":"36e133af33ea54193378b190cf92c47c12a43d34","status":"affected"},{"type":"git","introduced":"f651c8b055423057d9f41525dfdc37b4796015d1","fixed":"e473216b42aa1fd9fc6b94b608b42c210c655908","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.7","status":"unaffected"},{"type":"semver","introduced":"5.10.150","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.75","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.19.17","lastAffected":"5.19.*","status":"unaffected"},{"type":"semver","introduced":"6.0.3","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/f134f261d76ae3d5ecf68db642eaa746ceb84cfb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f122bcb34f1a4b02ef3d95058d8fd1316ea03785","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/989164305b933af06d69bb91044dafbd01025371","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/36e133af33ea54193378b190cf92c47c12a43d34","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e473216b42aa1fd9fc6b94b608b42c210c655908","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50842","url":"https://www.cve.org/CVERecord?id=CVE-2022-50842","licence":"CVE Terms of Use","modified":"2026-05-11T19:26:10.144Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50842","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50842","licence":"Public domain","modified":"2026-06-17T05:24:16.870Z"}],"updatedAt":"2026-11-25T22:58:21.376Z","epss":{"score":0.00256,"percentile":0.1836,"date":"2026-12-01T12:00:22.000Z"}}