CVE-2026-45890: xen-netback: reject zero-queue configuration from guest
In the Linux kernel, the following vulnerability has been resolved:
xen-netback: reject zero-queue configuration from guest
A malicious or buggy Xen guest can write "0" to the xenbus key "multi-queue-num-queues". The connect() function in the backend only validates the upper bound (requestednumqueues > xenvifmaxqueues) but not zero, allowing requestednumqueues=0 to reach vzalloc(arraysize(0, sizeof(struct xenvifqueue))), which triggers WARNONONCE(!size) in vmallocnoderange().
On systems with paniconwarn=1, this allows a guest-to-host denial of service.
The Xen network interface specification requires the queue count to be "greater than zero".
Add a zero check to match the validation already present in xen-blkback, which has included this guard since its multi-queue support was added.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Add/ensure the zero check in the backend connect() validation path so that a Xen guest cannot send requested_num_queues=0 (reject zero-queue configuration).
Xen network backend (xen-blkback / xen-netback) requested_num_queues = must be greater than zero