drm/virtio: fix object leaks in virtio_gpu_resource_create_blob_ioctl()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.15.222, 6.1.189, 6.6.158, 6.12.112, 6.18.55, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 897b4d1acaf56314652c6a8e75d9f86b5e45638d · fixed in 73ea38a89b923fa08047885a0845d1cd89261ead; From 897b4d1acaf56314652c6a8e75d9f86b5e45638d · fixed in eea473532a286cd1b13cddbec5c645989f43a3aa; From 897b4d1acaf56314652c6a8e75d9f86b5e45638d · fixed in 88c60c06a2a5244f5dd32ec098e633add114890f; From 897b4d1acaf56314652c6a8e75d9f86b5e45638d · fixed in 0455867bbd95ffa9d9db0a1c6dda500f8126232c; From 897b4d1acaf56314652c6a8e75d9f86b5e45638d · fixed in 81c6769e069d703154087377d1749af2f1b74e49; From 897b4d1acaf56314652c6a8e75d9f86b5e45638d · fixed in 02df4e24dc4c0bf5b0425a6acabc5201d7f04fc2; From 897b4d1acaf56314652c6a8e75d9f86b5e45638d · fixed in 24b6d5c7641412c9ebef0d4c8b888d49a0e6b880
- Linux Linux
5.11
- KernelLinux
From 5.11.0 · fixed in 5.15.222; From 5.16.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.112; From 6.13.0 · fixed in 6.18.55; From 6.19.0 · fixed in 7.2.9
References 7
git.kernel.org
- stable/c/73ea38a89b923fa08047885a0845d1cd89261ead
- stable/c/eea473532a286cd1b13cddbec5c645989f43a3aa
- stable/c/88c60c06a2a5244f5dd32ec098e633add114890f
- stable/c/0455867bbd95ffa9d9db0a1c6dda500f8126232c
- stable/c/81c6769e069d703154087377d1749af2f1b74e49
- stable/c/02df4e24dc4c0bf5b0425a6acabc5201d7f04fc2
- stable/c/24b6d5c7641412c9ebef0d4c8b888d49a0e6b880