Return-Path: Received: from imap1.codethink.co.uk ([176.9.8.82]:37150 "EHLO imap1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726602AbeLJS22 (ORCPT ); Mon, 10 Dec 2018 13:28:28 -0500 Message-ID: <1544466505.2867.214.camel@codethink.co.uk> Subject: Re: FAILED: patch "[PATCH] vhost/vsock: fix use-after-free in network stack callers" failed to apply to 4.4-stable tree From: Ben Hutchings To: gregkh@linuxfoundation.org, stefanha@redhat.com, jasowang@redhat.com, mst@redhat.com Cc: stable@vger.kernel.org Date: Mon, 10 Dec 2018 18:28:25 +0000 In-Reply-To: <1544443920131118@kroah.com> References: <1544443920131118@kroah.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: On Mon, 2018-12-10 at 13:12 +0100, gregkh@linuxfoundation.org wrote: > The patch below does not apply to the 4.4-stable tree. > If someone wants it applied there, or to any other stable or longterm > tree, then please email the backport, including the original git commit > id to . The vhost/vsock code was introduced in 4.8 so this fix is not needed for 4.4. I notice that this also failed to apply to 4.9. If you pick commit 6c083c2b8a0a "vsock: lookup and setup guest_cid inside vhost_vsock_lock" first then this should apply cleanly (with 1 line fuzz for one hunk). Ben. > thanks, > > greg k-h > > ------------------ original commit in Linus's tree ------------------ > > From 834e772c8db0c6a275d75315d90aba4ebbb1e249 Mon Sep 17 00:00:00 2001 > From: Stefan Hajnoczi > Date: Mon, 5 Nov 2018 10:35:47 +0000 > Subject: [PATCH] vhost/vsock: fix use-after-free in network stack callers [...] -- Ben Hutchings, Software Developer   Codethink Ltd https://www.codethink.co.uk/ Dale House, 35 Dale Street Manchester, M1 2HF, United Kingdom