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).
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-22998.json"
[
{
"id": "CVE-2023-22998-966a1a36",
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/virtio/virtgpu_object.c",
"function": "virtio_gpu_object_shmem_init"
},
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/c24968734abfed81c8f93dc5f44a7b7a9aecadfa",
"digest": {
"function_hash": "287617123639362035475896845056026835307",
"length": 1243.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-22998-f281144d",
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/virtio/virtgpu_object.c"
},
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/c24968734abfed81c8f93dc5f44a7b7a9aecadfa",
"digest": {
"line_hashes": [
"31405883226817740552659852082032609981",
"12406025362864217494749029018027577898",
"248823931034652275626882528079259120624",
"71593507735420792735023538260627440712",
"39483834706956324806390575496318063765",
"143031133193427342456258675837967450685"
],
"threshold": 0.9
},
"signature_type": "Line"
}
]