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).
{
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22998.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "6.0.3"
}
],
"source": "DESCRIPTION"
}
]
}
]
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-22998.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "287617123639362035475896845056026835307",
"length": 1243
},
"id": "CVE-2023-22998-966a1a36",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/c24968734abfed81c8f93dc5f44a7b7a9aecadfa",
"target": {
"file": "drivers/gpu/drm/virtio/virtgpu_object.c",
"function": "virtio_gpu_object_shmem_init"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"31405883226817740552659852082032609981",
"12406025362864217494749029018027577898",
"248823931034652275626882528079259120624",
"71593507735420792735023538260627440712",
"39483834706956324806390575496318063765",
"143031133193427342456258675837967450685"
],
"threshold": 0.9
},
"id": "CVE-2023-22998-f281144d",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/c24968734abfed81c8f93dc5f44a7b7a9aecadfa",
"target": {
"file": "drivers/gpu/drm/virtio/virtgpu_object.c"
}
}
]
"2026-10-21T08:29:36Z"