In the Linux kernel, the following vulnerability has been resolved:
drm/virtio: Ensure that objs is not NULL in virtio_gpu_array_put_free()
If virtio_gpu_object_shmem_init() fails (e.g. due to fault injection, as it happened in the bug report by syzbot), virtio_gpu_array_put_free() could be called with objs equal to NULL.
Ensure that objs is not NULL in virtio_gpu_array_put_free(), or otherwise return from the function.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-47657.json"
[
{
"events": [
{
"introduced": "5.11.20"
},
{
"fixed": "5.12"
}
]
},
{
"events": [
{
"introduced": "5.12.3"
},
{
"fixed": "5.15.32"
}
]
},
{
"events": [
{
"introduced": "5.16"
},
{
"fixed": "5.16.18"
}
]
},
{
"events": [
{
"introduced": "5.17"
},
{
"fixed": "5.17.1"
}
]
}
]