drm/virtio: fix object leak in virtio_gpu_resource_create_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.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.112, and 2 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 leak in virtio_gpu_resource_create_ioctl() virtio_gpu_resource_create_ioctl() calls drm_gem_object_release() on the drm_gem_handle_create() error path instead of dropping the reference it owns, so obj->funcs->free() never runs and the virtio_gpu_object, its pages and sg table, 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 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 · fixed in d33d5ef8225538f76e4598c09e2074834667bb8d; From 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 · fixed in 1586ee6107acab3b14510ac6af939f1253269df8; From 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 · fixed in 83c899104496677068fbbd2e42f28fd625f9cd85; From 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 · fixed in 77dee8e9106d62bf4f51b646c801f51f8ee77339; From 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 · fixed in 574ae9fa5fd3658bee23cb544fe5a0d1d750016a; From 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 · fixed in b516446a25bf365cfffe3d7884ea6637f7f70862; From 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 · fixed in 749d8bb964b3414ef967d5ec80f2f1b5b3a510d9; From 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 · fixed in 477bc3068fc3777b9d8ffd79e265b0dfdf2d3a6b
- Linux Linux
4.4
- KernelLinux
From 4.4.0 · fixed in 5.10.271; 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 8
git.kernel.org
- stable/c/d33d5ef8225538f76e4598c09e2074834667bb8d
- stable/c/1586ee6107acab3b14510ac6af939f1253269df8
- stable/c/83c899104496677068fbbd2e42f28fd625f9cd85
- stable/c/77dee8e9106d62bf4f51b646c801f51f8ee77339
- stable/c/574ae9fa5fd3658bee23cb544fe5a0d1d750016a
- stable/c/b516446a25bf365cfffe3d7884ea6637f7f70862
- stable/c/749d8bb964b3414ef967d5ec80f2f1b5b3a510d9
- stable/c/477bc3068fc3777b9d8ffd79e265b0dfdf2d3a6b