diff options
| author | Jason Wang <jasowang@redhat.com> | 2026-01-30 08:07:50 +0300 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2026-06-10 09:16:59 +0300 |
| commit | 9c1523803445ee0348f62b77793266dd981596e0 (patch) | |
| tree | 13962cce24656d38b2d7d6e04f1080d5339e8499 /include/linux/timerqueue.h | |
| parent | ae9c13b6fd79087cc5a216ee1649b6f012c2a238 (diff) | |
| download | linux-9c1523803445ee0348f62b77793266dd981596e0.tar.xz | |
VDUSE: avoid leaking information to userspace
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@vger.kernel.org
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Xie Yongji <xieyongji@bytedance.com>
Reviewed-by: Eugenio Pérez <eperezma@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20260130050750.4050-1-jasowang@redhat.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
