These series of patches are required to fix the specified CVE in v4.14. I've tested these patches with a VM running vhost. Jason Wang who originally wrote the patches, helped identify other patches to backport and also tested this version and provided feedback on the patches. Jason Wang (5): vhost_net: introduce vhost_exceeds_weight() vhost: introduce vhost_exceeds_weight() vhost_net: fix possible infinite loop vhost: vsock: add weight support vhost: scsi: add weight support Paolo Abeni (1): vhost_net: use packet weight for rx handler, too haibinzhang(张海斌) (1): vhost-net: set packet weight of tx polling to 2 * vq size drivers/vhost/net.c | 33 +++++++++++++++++++-------------- drivers/vhost/scsi.c | 14 ++++++++++---- drivers/vhost/vhost.c | 20 +++++++++++++++++++- drivers/vhost/vhost.h | 6 +++++- drivers/vhost/vsock.c | 27 ++++++++++++++++++++------- 5 files changed, 73 insertions(+), 27 deletions(-) -- 2.16.5