From: Ben Hutchings <ben@decadent.org.uk>
To: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: Dave Stevenson <dave.stevenson@raspberrypi.org>,
Hans Verkuil <hans.verkuil@cisco.com>,
mchehab@kernel.org, linux-media@vger.kernel.org
Subject: Re: [PATCH v3.16 0/2] V4L2 event subscription fixes
Date: Fri, 09 Nov 2018 23:12:37 +0000 [thread overview]
Message-ID: <cc85eba9b0c59a12729115d11aa18598127edabb.camel@decadent.org.uk> (raw)
In-Reply-To: <20181108120350.17266-1-sakari.ailus@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 1037 bytes --]
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.
> <URL:https://git.linuxtv.org/media_tree.git/commit/?id=92539d3eda2c090b382699bbb896d4b54e9bdece>
>
> 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.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2018-11-10 8:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-08 12:03 [PATCH v3.16 0/2] V4L2 event subscription fixes Sakari Ailus
2018-11-08 12:03 ` [PATCH v3.16 1/2] v4l: event: Prevent freeing event subscriptions while accessed Sakari Ailus
2018-11-26 7:33 ` Greg KH
2018-11-08 12:03 ` [PATCH v3.16 2/2] v4l: event: Add subscription to list before calling "add" operation Sakari Ailus
2018-11-26 7:34 ` Greg KH
2019-01-02 19:01 ` Ben Hutchings
2019-01-03 0:58 ` Yi Qingliang
2019-01-03 10:15 ` Hans Verkuil
2019-01-03 12:00 ` Yi Qingliang
2018-11-09 23:12 ` Ben Hutchings [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cc85eba9b0c59a12729115d11aa18598127edabb.camel@decadent.org.uk \
--to=ben@decadent.org.uk \
--cc=dave.stevenson@raspberrypi.org \
--cc=hans.verkuil@cisco.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=sakari.ailus@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).