Re: [dpdk-dev] [PATCH 1/3] vhost: fix split ring potential buffer overflow

2021-03-31 Thread Xia, Chenbo
> -Original Message- > From: Liu, Yong > Sent: Wednesday, March 31, 2021 2:50 PM > To: maxime.coque...@redhat.com; Xia, Chenbo > Cc: dev@dpdk.org; Liu, Yong ; sta...@dpdk.org > Subject: [PATCH 1/3] vhost: fix split ring potential buffer overflow > > In vhost datapath, descriptor's length

[dpdk-dev] [PATCH 1/3] vhost: fix split ring potential buffer overflow

2021-03-30 Thread Marvin Liu
In vhost datapath, descriptor's length are mostly used in two coherent operations. First step is used for address translation, second step is used for memory transaction from guest to host. But the iterval between two steps will give a window for malicious guest, in which can change descriptor leng

[dpdk-dev] [PATCH 1/3] vhost: fix split ring potential buffer overflow

2021-03-24 Thread Marvin Liu
In vhost datapath, descriptor's length are mostly used in two coherent operations. First step is used for address translation, second step is used for memory transaction from guest to host. But the iterval between two steps will give a window for malicious guest, in which can change descriptor leng