From: Linus Torvalds <torvalds@linux-foundation.org>
To: Cong Wang <xiyou.wangcong@gmail.com>
Cc: Network Development <netdev@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Gene Blue <geneblue.mail@gmail.com>,
Andrew Morton <akpm@linux-foundation.org>,
Manfred Spraul <manfred@colorfullife.com>
Subject: Re: [Patch v2] mqueue: fix a use-after-free in sys_mq_notify()
Date: Sun, 9 Jul 2017 14:37:48 -0700 [thread overview]
Message-ID: <CA+55aFz=RecjG8PYT_DyT99HpPKFaK9CGX2WA+FZDRm=95uNug@mail.gmail.com> (raw)
In-Reply-To: <1499631595-12625-1-git-send-email-xiyou.wangcong@gmail.com>
On Sun, Jul 9, 2017 at 1:19 PM, Cong Wang <xiyou.wangcong@gmail.com> wrote:
>
> Setting 'sock' to NULL here should be sufficient to fix it.
Thanks. Applied and marked for stable.
Linus
prev parent reply other threads:[~2017-07-09 21:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-09 20:19 [Patch v2] mqueue: fix a use-after-free in sys_mq_notify() Cong Wang
2017-07-09 21:37 ` Linus Torvalds [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='CA+55aFz=RecjG8PYT_DyT99HpPKFaK9CGX2WA+FZDRm=95uNug@mail.gmail.com' \
--to=torvalds@linux-foundation.org \
--cc=akpm@linux-foundation.org \
--cc=geneblue.mail@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=manfred@colorfullife.com \
--cc=netdev@vger.kernel.org \
--cc=xiyou.wangcong@gmail.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).