From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:56202 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752735AbeDJMxv (ORCPT ); Tue, 10 Apr 2018 08:53:51 -0400 Date: Tue, 10 Apr 2018 14:53:44 +0200 From: Greg Kroah-Hartman To: Nathan Chancellor Cc: stable@vger.kernel.org Subject: Re: Further fixes for 48a1df65334b Message-ID: <20180410125344.GA29689@kroah.com> References: <20180410012150.6573-1-natechancellor@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180410012150.6573-1-natechancellor@gmail.com> Sender: stable-owner@vger.kernel.org List-ID: On Mon, Apr 09, 2018 at 06:21:41PM -0700, Nathan Chancellor wrote: > The backport of 48a1df65334b ("skbuff: return -EMSGSIZE in skb_to_sgvec > to prevent overflow") was missing three supplemental commits: > > 3f29770723fe ("ipsec: check return value of skb_to_sgvec always") > 89a5ea996625 ("rxrpc: check return value of skb_to_sgvec always") > e2fcad58fd23 ("virtio_net: check return value of skb_to_sgvec always") > > I already sent the first one, this thread contains the other two for > 3.18, 4.4, and 4.9. There is an additional patch because these trees do > not contain f6b10209b90d ("virtio-net: switch to use build_skb() for > small buffer"), which removed another call to skb_to_sgvec, which was > before f6b10209b90d. If you feel it should be squashed in f6b10209b90d, > please by all means feel free to do so. I was not 100% confident on if > the dev_kfree_skb call was necessary in the error path so I hope one of > the authors can comment on that. Thanks for all of these, now queued up. greg k-h