Skip to content

Fix CVE-2019-3900 in stable v4.14

Balbir Singh stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7vhost-net: set packet weight of tx polling to 2 * vq sizedrivers/vhost/net.c+7 -10 replies
2/7vhost_net: use packet weight for rx handler, toodrivers/vhost/net.c+8 -40 replies
3/7vhost_net: introduce vhost_exceeds_weight()drivers/vhost/net.c+8 -50 replies
4/7vhost: introduce vhost_exceeds_weight()drivers/vhost/net.c drivers/vhost/scsi.c drivers/vhost/vhost.c +2 more+46 -170 replies
5/7vhost_net: fix possible infinite loopdrivers/vhost/net.c+10 -100 replies
6/7vhost: vsock: add weight supportdrivers/vhost/vsock.c+10 -60 replies
7/7vhost: scsi: add weight supportdrivers/vhost/scsi.c+3 -30 replies

Reviews trailers per patch

4 of 7 patches have a Reviewed-by or Acked-by.

PatchStefan HajnocziJason WangMichael S. Tsirkin
1/7A-b
2/7A-b
3/7
4/7
5/7R-b
6/7R-b
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

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

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(-)
Signature · 1 line
2.16.5