summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorxiongweimin <xiongweimin@kylinos.cn>2026-07-16 11:02:36 +0800
committerMichael S. Tsirkin <mst@redhat.com>2026-08-03 23:08:19 -0400
commit57c53140db212722945c2e37b1dd94d73fa22c26 (patch)
treec9957026f9af8f84b44741a4758417d9f5ca19ce /scripts
parente9660ae5f436f4af1b25ac4f6d72607f17173282 (diff)
downloadlinux-next-57c53140db212722945c2e37b1dd94d73fa22c26.tar.gz
linux-next-57c53140db212722945c2e37b1dd94d73fa22c26.zip
vhost: reject zero-size IOTLB INVALIDATE
Reject VHOST_IOTLB_INVALIDATE messages with size == 0 to prevent iova + size - 1 from underflowing to U64_MAX, which would incorrectly delete the entire IOTLB. Signed-off-by: xiongweimin <xiongweimin@kylinos.cn> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Message-ID: <20260716030236.124322-1-xiongwm2026@163.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions