Files
linux/drivers/gpu/drm/vmwgfx
Rafael Mendonca a40c7f61d1 drm/vmwgfx: Fix memory leak in vmw_mksstat_add_ioctl()
If the copy of the description string from userspace fails, then the page
for the instance descriptor doesn't get freed before returning -EFAULT,
which leads to a memleak.

Fixes: 7a7a933edd ("drm/vmwgfx: Introduce VMware mks-guest-stats")
Signed-off-by: Rafael Mendonca <[email protected]>
Reviewed-by: Martin Krastev <[email protected]>
Signed-off-by: Zack Rusin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
2022-09-21 12:15:15 -04:00
..
…
…
2022-08-04 11:30:46 -04:00
2022-08-04 11:30:46 -04:00
2022-08-04 11:30:46 -04:00
2022-08-04 11:30:46 -04:00