From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:46710 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751551AbdG1BI7 (ORCPT ); Thu, 27 Jul 2017 21:08:59 -0400 Date: Thu, 27 Jul 2017 18:08:53 -0700 From: Greg KH To: Mark Salyzyn Cc: stable@vger.kernel.org Subject: Re: af_key: Add lock to key dump Message-ID: <20170728010853.GB19160@kroah.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: stable-owner@vger.kernel.org List-ID: On Thu, Jul 27, 2017 at 03:51:43PM -0700, Mark Salyzyn wrote: > 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 3.18 is under "special" support (i.e. I'm maintaining it as a favor for some companies for now...) > 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 Thanks, now queued up for 3.18, 4.4, and 4.9. But really, it should go back farther than 3.10, 3.2 should get it as well... thanks, greg k-h