In the Linux kernel before 6.0.3, drivers/gpu/drm/virtio/virtgpuobject.c misinterprets the drmgemshmemgetsgtable return value (expects it to be NULL in the error case, whereas it is actually an error pointer).
[
{
"digest": {
"length": 1243.0,
"function_hash": "287617123639362035475896845056026835307"
},
"source": "https://github.com/torvalds/linux/commit/c24968734abfed81c8f93dc5f44a7b7a9aecadfa",
"deprecated": false,
"id": "CVE-2023-22998-966a1a36",
"signature_type": "Function",
"target": {
"function": "virtio_gpu_object_shmem_init",
"file": "drivers/gpu/drm/virtio/virtgpu_object.c"
},
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"31405883226817740552659852082032609981",
"12406025362864217494749029018027577898",
"248823931034652275626882528079259120624",
"71593507735420792735023538260627440712",
"39483834706956324806390575496318063765",
"143031133193427342456258675837967450685"
]
},
"source": "https://github.com/torvalds/linux/commit/c24968734abfed81c8f93dc5f44a7b7a9aecadfa",
"deprecated": false,
"id": "CVE-2023-22998-f281144d",
"signature_type": "Line",
"target": {
"file": "drivers/gpu/drm/virtio/virtgpu_object.c"
},
"signature_version": "v1"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-22998.json"