UBUNTU-CVE-2026-97989: Low severity ubuntu/linux-hwe-edge vulnerability
In the Linux kernel, the following vulnerability has been resolved: vduse: validate virtqueue alignment vdusevalidateconfig() only checks the upper bound of vqalign. Invalid values can therefore reach vringcreatevirtqueuemap(). The split-ring helpers use align - 1 as a bit mask, so the alignment must be a non-zero power of two. A zero value makes vringsize() drop the descriptor and available-ring part and vringinit() leave the used ring pointer NULL. The VIRTIO spec requires the used ring to start at an address aligned to at least 4 bytes. Reject values below VRINGUSEDALIGNSIZE as well as non-power-of-two values before they reach the virtio ring helpers. Opening a virtio-net device created with vqalign=0 triggered: BUG: KASAN: null-ptr-deref in virtqueuekickpreparesplit+0xe3/0x100 Read of size 2 at addr 0000000000000000 by task systemd-network/1062 Call Trace (relevant frames): dumpstacklvl printreport kasanreport asanload2 virtqueuekickpreparesplit+0xe3/0x100 virtqueuekickprepare+0x40/0x60 tryfillrecv+0x857/0x1250 virtnetopen+0x189/0x460 devopen+0x225/0x390 devchangeflags+0x368/0x3b0 netifchangeflags+0x56/0xc0 dosetlink.isra.0+0x68c/0x1e30 Validate the value before it reaches the virtio ring helpers.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/linux-hwe-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42~24.04.1 - Upgrade
Upgrade
ubuntu/linux-riscv-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1~24.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 7.0.0-42.42 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 7.0.0-1016.17 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 7.0.0-1016.18 - Upgrade
Upgrade
ubuntu/linux-ibmto a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oem-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 7.0.0-1015.16 - Upgrade
Upgrade
ubuntu/linux-riscvto a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1 - Configuration
Validate and reject vq_align values below VRING_USED_ALIGN_SIZE or values that are not powers of two before passing them to the virtio ring helpers.
vduse virtqueues vq_align = A non-zero power of two greater than or equal to VRING_USED_ALIGN_SIZE