diff options
| author | Linfeng Sun <linfeng.sun.dev@gmail.com> | 2026-10-11 15:33:30 +0800 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2026-11-03 07:32:13 -0500 |
| commit | 509f6bd229e94fc39506e01be692c4aa22338b49 (patch) | |
| tree | 22fd01e1b0ea7271baabcc4601d2e039ac81da4a /scripts/Makefile.thinlto | |
| parent | a543346b96a174fcee6812ac2764acc8dc993358 (diff) | |
| download | linux-next-509f6bd229e94fc39506e01be692c4aa22338b49.tar.gz linux-next-509f6bd229e94fc39506e01be692c4aa22338b49.zip | |
vhost: reject backend enable without a kick file
Enabling a backend without VHOST_SET_VRING_KICK dereferences a NULL
vq->kick in vhost_poll_start(). Reject the request with -EINVAL.
Fixes: 264ee5aa81ec ("tools/virtio: Add --reset")
Assisted-by: OpenAI-Codex:GPT-5.6
Signed-off-by: Linfeng Sun <linfeng.sun.dev@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20261011-fix-null-pointer-in-vhost_test_set_backend-v1-1-60b2f12d64c6@gmail.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
