Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 before d33d5ef8225538f76e4598c09e2074834667bb8d; affected 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 before 1586ee6107acab3b14510ac6af939f1253269df8; affected 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 before 83c899104496677068fbbd2e42f28fd625f9cd85; affected 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 before 77dee8e9106d62bf4f51b646c801f51f8ee77339; affected 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 before 574ae9fa5fd3658bee23cb544fe5a0d1d750016a; affected 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 before b516446a25bf365cfffe3d7884ea6637f7f70862; affected 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 before 749d8bb964b3414ef967d5ec80f2f1b5b3a510d9; affected 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 before 477bc3068fc3777b9d8ffd79e265b0dfdf2d3a6b |
| Linux / Linux | affected 4.4; unaffected 0 before 4.4; unaffected 5.10.271 through 5.10.*; unaffected 5.15.222 through 5.15.*; unaffected 6.1.189 through 6.1.*; unaffected 6.6.158 through 6.6.*; unaffected 6.12.112 through 6.12.*; unaffected 6.18.55 through 6.18.*; unaffected 7.2.9 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/d33d5ef8225538f76e4598c09e2074834667bb8d
- https://git.kernel.org/stable/c/1586ee6107acab3b14510ac6af939f1253269df8
- https://git.kernel.org/stable/c/83c899104496677068fbbd2e42f28fd625f9cd85
- https://git.kernel.org/stable/c/77dee8e9106d62bf4f51b646c801f51f8ee77339
- https://git.kernel.org/stable/c/574ae9fa5fd3658bee23cb544fe5a0d1d750016a
- https://git.kernel.org/stable/c/b516446a25bf365cfffe3d7884ea6637f7f70862
- https://git.kernel.org/stable/c/749d8bb964b3414ef967d5ec80f2f1b5b3a510d9
- https://git.kernel.org/stable/c/477bc3068fc3777b9d8ffd79e265b0dfdf2d3a6b