FAILED: Patch "drm/vmwgfx: Fix possible null pointer derefence with invalid contexts" failed to apply to 5.4-stable tree

2024-03-27 Thread Sasha Levin
>From 517621b7060096e48e42f545fa6646fc00252eac Mon Sep 17 00:00:00 2001 From: Zack Rusin Date: Wed, 10 Jan 2024 15:03:05 -0500 Subject: [PATCH] drm/vmwgfx: Fix possible null pointer derefence with invalid contexts vmw_context_cotable can return either an error or a null pointer and its usage s

Re: [PATCH] drm/vmwgfx: Fix possible null pointer derefence with invalid contexts

2024-01-11 Thread Martin Krastev
On Wed, Jan 10, 2024 at 10:03 PM Zack Rusin wrote: > > vmw_context_cotable can return either an error or a null pointer and its > usage sometimes went unchecked. Subsequent code would then try to access > either a null pointer or an error value. > > The invalid dereferences were only possible with

Re: [PATCH] drm/vmwgfx: Fix possible null pointer derefence with invalid contexts

2024-01-10 Thread Maaz Mombasawala
On 1/10/24 12:03, Zack Rusin wrote: > vmw_context_cotable can return either an error or a null pointer and its > usage sometimes went unchecked. Subsequent code would then try to access > either a null pointer or an error value. > > The invalid dereferences were only possible with malformed usersp

[PATCH] drm/vmwgfx: Fix possible null pointer derefence with invalid contexts

2024-01-10 Thread Zack Rusin
vmw_context_cotable can return either an error or a null pointer and its usage sometimes went unchecked. Subsequent code would then try to access either a null pointer or an error value. The invalid dereferences were only possible with malformed userspace apps which never properly initialized the