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 stable@vger.kernel.org.
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 stefanha@redhat.com Date: Mon, 5 Nov 2018 10:35:47 +0000 Subject: [PATCH] vhost/vsock: fix use-after-free in network stack callers
[...]