Linux kernel -stable discussions
 help / color / mirror / Atom feed
* af_key: Add lock to key dump
@ 2017-07-27 22:51 Mark Salyzyn
  2017-07-28  1:08 ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Salyzyn @ 2017-07-27 22:51 UTC (permalink / raw)
  To: stable

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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-07-28 15:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-27 22:51 af_key: Add lock to key dump Mark Salyzyn
2017-07-28  1:08 ` Greg KH
2017-07-28 15:13   ` Mark Salyzyn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox