Re: [PATCH] vhost: fix possible null pointer dereference

2023-03-16 Thread Maxime Coquelin
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 mad

RE: [PATCH] vhost: fix possible null pointer dereference

2023-03-09 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Thursday, March 9, 2023 7:37 PM > To: dev@dpdk.org; m...@redhat.com; Xia, Chenbo ; > david.march...@redhat.com > Cc: Maxime Coquelin > Subject: [PATCH] vhost: fix possible null pointer dereferen

[PATCH] vhost: fix possible null pointer dereference

2023-03-09 Thread Maxime Coquelin
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: Ma