Description
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 (requested_num_queues > xenvif_max_queues)
but not zero, allowing requested_num_queues=0 to reach
vzalloc(array_size(0, sizeof(struct xenvif_queue))), which triggers
WARN_ON_ONCE(!size) in __vmalloc_node_range().

On systems with panic_on_warn=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.
Published: 2026-05-27
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A Xen guest can write the value zero to the xenbus key "multi-queue-num-queues". The backend connect function only checks that the requested number of queues does not exceed the maximum allowed, but it does not reject a zero value. This results in a memory allocation of size zero that triggers a WARN_ON_ONCE in the memory allocator. On systems where panic_on_warn is enabled, this warning escalates to a kernel panic, causing a guest‑to‑host denial of service. The vulnerability is an input validation weakness (CWE‑20) that allows a guest to influence kernel memory allocation parameters, leading to host downtime without compromising confidentiality or integrity.

Affected Systems

All Linux kernel versions running Xen, as the vulnerability is present in the xen‑netback backend code for any distribution that includes the affected kernel sources. No specific version numbers are listed in the CNA data, so the advisory applies broadly to any host kernel that implements xen‑netback without the zero‑value guard.

Risk and Exploitability

The CVSS score is not provided and the EPSS score is unavailable, but the vulnerability is not currently listed in the CISA KEV catalog. The attack requires a Xen guest with the ability to write to xenbus keys, which is usually confined to privileged or misconfigured virtual machines. The exploit does not require network exposure to the host and pivots entirely within the virtualized environment; however, if the guest is user‑controlled, denial of service can be actively triggered. Due to the lack of public exploitation data, the risk is considered moderate to high for environments where panic_on_warn is enabled and guests can manipulate xenbus.

Generated by OpenCVE AI on May 27, 2026 at 16:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes the zero‑value check added in the xen‑netback commit
  • If an upgrade is not immediately possible, set sysctl kernel.panic_on_warn=0 to prevent the guest‑initiated panic
  • Restrict guest write access to the xenbus key "multi-queue-num-queues" or isolate the guest to limit its ability to alter Xen network configuration

Generated by OpenCVE AI on May 27, 2026 at 16:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 27 May 2026 17:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Wed, 27 May 2026 14:15:00 +0000

Type Values Removed Values Added
Description 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 (requested_num_queues > xenvif_max_queues) but not zero, allowing requested_num_queues=0 to reach vzalloc(array_size(0, sizeof(struct xenvif_queue))), which triggers WARN_ON_ONCE(!size) in __vmalloc_node_range(). On systems with panic_on_warn=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.
Title xen-netback: reject zero-queue configuration from guest
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-27T12:17:01.466Z

Reserved: 2026-05-13T15:03:33.083Z

Link: CVE-2026-45890

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-27T14:17:03.040

Modified: 2026-05-27T14:48:31.480

Link: CVE-2026-45890

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-27T19:30:35Z

Weaknesses