drm/virtio: fix object leaks in virtio_gpu_resource_create_blob_ioctl()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel eea473532a286cd1b13cddbec5c645989f43a3aa, Kernel 02df4e24dc4c0bf5b0425a6acabc5201d7f04fc2, Kernel 0455867bbd95ffa9d9db0a1c6dda500f8126232c and 10 more.
In the Linux kernel, the following vulnerability has been resolved: drm/virtio: fix object leaks in virtio_gpu_resource_create_blob_ioctl() virtio_gpu_resource_create_blob_ioctl() calls drm_gem_object_release() on both the virtio_gpu_resource_assign_uuid() and drm_gem_handle_create() error paths instead of dropping the reference it owns, so obj->funcs->free() never runs and the virtio_gpu_object, the resource id and the host-side resource are leaked. Use drm_gem_object_put() instead.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=897b4d1acaf56314652c6a8e75d9f86b5e45638d <eea473532a286cd1b13cddbec5c645989f43a3aa, >=897b4d1acaf56314652c6a8e75d9f86b5e45638d <02df4e24dc4c0bf5b0425a6acabc5201d7f04fc2, >=897b4d1acaf56314652c6a8e75d9f86b5e45638d <0455867bbd95ffa9d9db0a1c6dda500f8126232c, >=897b4d1acaf56314652c6a8e75d9f86b5e45638d <24b6d5c7641412c9ebef0d4c8b888d49a0e6b880, >=897b4d1acaf56314652c6a8e75d9f86b5e45638d <73ea38a89b923fa08047885a0845d1cd89261ead, >=897b4d1acaf56314652c6a8e75d9f86b5e45638d <81c6769e069d703154087377d1749af2f1b74e49, >=897b4d1acaf56314652c6a8e75d9f86b5e45638d <88c60c06a2a5244f5dd32ec098e633add114890f, =5.11 | eea473532a286cd1b13cddbec5c645989f43a3aa, 02df4e24dc4c0bf5b0425a6acabc5201d7f04fc2, 0455867bbd95ffa9d9db0a1c6dda500f8126232c, 24b6d5c7641412c9ebef0d4c8b888d49a0e6b880, 73ea38a89b923fa08047885a0845d1cd89261ead, 81c6769e069d703154087377d1749af2f1b74e49, 88c60c06a2a5244f5dd32ec098e633add114890f |
| linux-kernel: Kernel | >=5.16.0 <6.1.189, >=6.13.0 <6.18.55, >=6.19.0 <7.2.9, >=6.2.0 <6.6.158, >=6.7.0 <6.12.112, >=5.11.0 <5.15.222 | 6.1.189, 6.18.55, 7.2.9, 6.6.158, 6.12.112, 5.15.222 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket