[backport to v4.14 CVE-2019-3900 0/7] Fix CVE-2019-3900 in stable v4.14

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux