Patch "drm/syncobj: Fix use-after-free" has been added to the 5.10-stable tree

2021-01-24 Thread gregkh
This is a note to let you know that I've just added the patch titled drm/syncobj: Fix use-after-free to the 5.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: drm-syncobj-fix-use-aft

Patch "drm/syncobj: Fix use-after-free" has been added to the 5.4-stable tree

2021-01-24 Thread gregkh
This is a note to let you know that I've just added the patch titled drm/syncobj: Fix use-after-free to the 5.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: drm-syncobj-fix-use-afte

Re: [PATCH] drm/syncobj: Fix use-after-free

2021-01-20 Thread Daniel Vetter
On Tue, Jan 19, 2021 at 02:08:12PM +0100, Christian König wrote: > Am 19.01.21 um 14:03 schrieb Daniel Vetter: > > While reviewing Christian's annotation patch I noticed that we have a > > user-after-free for the WAIT_FOR_SUBMIT case: We drop the syncobj > > reference before we've completed the wai

Re: [PATCH] drm/syncobj: Fix use-after-free

2021-01-19 Thread Christian König
Am 19.01.21 um 14:03 schrieb Daniel Vetter: While reviewing Christian's annotation patch I noticed that we have a user-after-free for the WAIT_FOR_SUBMIT case: We drop the syncobj reference before we've completed the waiting. Of course usually there's nothing bad happening here since userspace k

[PATCH] drm/syncobj: Fix use-after-free

2021-01-19 Thread Daniel Vetter
While reviewing Christian's annotation patch I noticed that we have a user-after-free for the WAIT_FOR_SUBMIT case: We drop the syncobj reference before we've completed the waiting. Of course usually there's nothing bad happening here since userspace keeps the reference, but we can't rely on users