[dpdk-dev] [master PATCH v2 1/2] vhost: fix possible denial of service on SET_VRING_NUM

David Marchand david.marchand at redhat.com
Tue Nov 12 16:23:06 CET 2019


On 12/11/2019 16:19, Maxime Coquelin wrote:
> vhost_user_set_vring_num() performs multiple allocations
> without checking whether data were previously allocated.
> 
> It may cause a denial of service because of the memory leaks
> that happen if a malicious vhost-user master keeps sending
> VHOST_USER_SET_VRING_NUM request until the slave runs out
> of memory.
> 
> This issue has been assigned CVE-2019-14818
> 
> Fixes: b0a985d1f340 ("vhost: add dequeue zero copy")
> 
> Reported-by: Jason Wang <jasowang at redhat.com>
> Signed-off-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Applied, thanks.


-- 
David Marchand



More information about the dev mailing list