Re: [PATCH] VDUSE: avoid leaking information to userspace

From: Yongji Xie

Date: Fri Jan 30 2026 - 01:41:29 EST


On Fri, Jan 30, 2026 at 1:08 PM Jason Wang <jasowang@xxxxxxxxxx> wrote:
>
> The bounceing is not necessarily page aligned, so current VDUSE can
> leak kernel information through mapping bounce pages to
> userspace. Allocate bounce pages with __GFP_ZERO to avoid leaking
> information to userspace.
>
> Fixes: 8c773d53fb7b ("vduse: Implement an MMU-based software IOTLB")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Jason Wang <jasowang@xxxxxxxxxx>

Thanks for catching this!

Reviewed-by: Xie Yongji <xieyongji@xxxxxxxxxxxxx>

Thanks,
Yongji