[PATCH] vhost: fix possible null pointer dereference
Maxime Coquelin
maxime.coquelin at redhat.com
Thu Mar 16 15:47:33 CET 2023
On 3/9/23 12:36, Maxime Coquelin wrote:
> When handling VHOST_USER_SET_MEM_TABLE request ending
> up in changing existing memory map, a device's memory
> pointer may ends up being dereference while being NULL in
> IOTLB cache flush function.
>
> Coverity issue: 383646
> Fixes: dea092d0addb ("vhost: fix madvise arguments alignment")
>
> Signed-off-by: Maxime Coquelin <maxime.coquelin at redhat.com>
> ---
> lib/vhost/vhost_user.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
Applied to dpdk-next-virtio/main.
Thanks,
Maxime
More information about the dev
mailing list