Re: [PATCH v3.16 1/2] v4l: event: Prevent freeing event subscriptions while accessed

2018-11-25 Thread Greg KH
On Thu, Nov 08, 2018 at 02:03:49PM +0200, Sakari Ailus wrote: > [ upstream commit ad608fbcf166fec809e402d548761768f602702c ] This is already in 3.18.124. thanks, greg k-h

[PATCH v3.16 1/2] v4l: event: Prevent freeing event subscriptions while accessed

2018-11-08 Thread Sakari Ailus
[ upstream commit ad608fbcf166fec809e402d548761768f602702c ] The event subscriptions are added to the subscribed event list while holding a spinlock, but that lock is subsequently released while still accessing the subscription object. This makes it possible to unsubscribe the event --- and