diff options
| author | xiongweimin <xiongweimin@kylinos.cn> | 2026-07-16 11:02:36 +0800 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2026-08-19 06:38:47 -0400 |
| commit | 9059c62f11974d2c55b8acacd04a6d3777b4f9fe (patch) | |
| tree | 8a2eea9b46bb2be1188b1ffc16a6cedba2e82de3 /scripts/stackusage | |
| parent | 3e4cddec63db5dc5c199101df7ac0504975b1203 (diff) | |
| download | linux-9059c62f11974d2c55b8acacd04a6d3777b4f9fe.tar.gz linux-9059c62f11974d2c55b8acacd04a6d3777b4f9fe.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/stackusage')
0 files changed, 0 insertions, 0 deletions
