On Thu, 2018-11-08 at 14:03 +0200, Sakari Ailus wrote: > Hi Ben, > > The two patches fix a use-after-free issue in V4L2 event handling. The > first patch that fixes that issue is already in the other stable trees (as > well as Linus's tree) whereas the second that fixes a bug in the first > one, is in the media tree only as of yet. Thanks. I'll apply the first now and hold the second until the corresponding commit gets into Linus's tree. Ben. > > > Sakari Ailus (2): > v4l: event: Prevent freeing event subscriptions while accessed > v4l: event: Add subscription to list before calling "add" operation > > drivers/media/v4l2-core/v4l2-event.c | 63 ++++++++++++++++++++---------------- > drivers/media/v4l2-core/v4l2-fh.c | 2 ++ > include/media/v4l2-fh.h | 1 + > 3 files changed, 38 insertions(+), 28 deletions(-) > -- Ben Hutchings Knowledge is power. France is bacon.