drm/vmwgfx: avoid null_ptr_deref in vmw_framebuffer_surface_create_handle
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.11.106.12In the Linux kernel, the following vulnerability has been resolved:
drm/vmwgfx: avoid null_ptr_deref in vmw_framebuffer_surface_create_handle
The 'vmw_user_object_buffer' function may return NULL with incorrect inputs. To avoid possible null pointer dereference, add a check whether the 'bo' is NULL in the vmw_framebuffer_surface_create_handle.
From the CVE record · Linux
The Linux kernel's vmwgfx component may dereference a null pointer in vmw_framebuffer_surface_create_handle when vmw_user_object_buffer returns NULL for incorrect inputs. The input does not specify who can trigger this condition, whether authentication or user interaction is required, or what the resulting impact is.
Anyone running a Linux kernel with the vmwgfx component should check their version; affected versions are not specified.