CVE-2023-22998

kernel: drm/virtio: improper return value check in virtio_gpu_object_shmem_init()

Published Feb 28, 2023 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel before 6.0.3, drivers/gpu/drm/virtio/virtgpu_object.c misinterprets the drm_gem_shmem_get_sg_table return value (expects it to be NULL in the error case, whereas it is actually an error pointer).

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3404-1 linux-5.10 security update
EUVD EUVD EUVD-2023-27098 In the Linux kernel before 6.0.3, drivers/gpu/drm/virtio/virtgpu_object.c misinterprets the drm_gem_shmem_get_sg_table return value (expects it to be NULL in the error case, whereas it is actually an error pointer).
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Mar 19, 2025, 4:06 PM
Reserved
Jan 11, 2023, 12:00 AM
Status
Modified
Published
Feb 28, 2023, 9:15 PM
Modified
Jun 17, 2026, 5:36 AM
Severity
Low
Public date
Feb 28, 2023, 12:00 AM