On Mon, 2018-12-10 at 13:12 +0100, gregkh@xxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxx>. 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@xxxxxxxxxx> > 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