From: Mark Salyzyn <salyzyn@android.com>
To: stable@vger.kernel.org
Subject: af_key: Add lock to key dump
Date: Thu, 27 Jul 2017 15:51:43 -0700 [thread overview]
Message-ID: <b08bf970-54de-1b0c-b053-97a3bb9ede4e@android.com> (raw)
Subject: af_key: Add lock to key dump upstream sha
89e357d83c06b6fac581c3ca7f0ee3ae7e67109e
Please apply to 3.10, 3.18 (?, I see it is not under longterm support),
4.4 and 4.9 stable trees
Along with the stated reason (prevent a NULL pointer access), this also
prevents unbounded reference counter activities which can lead to a Use
After Free situation.
FYI: The back-port to 3.10.y has a minor conflict resolved by dropping
one of the patch fragments. 4.4 and 4.9 were clear.
Signed-off-by: Mark Salyzyn <salyzyn@android.com>
next reply other threads:[~2017-07-27 22:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-27 22:51 Mark Salyzyn [this message]
2017-07-28 1:08 ` af_key: Add lock to key dump Greg KH
2017-07-28 15:13 ` Mark Salyzyn
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=b08bf970-54de-1b0c-b053-97a3bb9ede4e@android.com \
--to=salyzyn@android.com \
--cc=stable@vger.kernel.org \
/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