Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-143329

vduse: avoid infinite loop when no affinity CPU is online

Description

In the Linux kernel, the following vulnerability has been resolved: vduse: avoid infinite loop when no affinity CPU is online If all CPUs in vq->irq_affinity are offline, cpumask_next() walks to the end of the mask, and the loop then resets the cursor to IRQ_UNBOUND and restarts the scan. When VDUSE_VQ_INJECT_IRQ is issued, the intersection of vq->irq_affinity and cpu_online_mask is empty, so the caller busy-loops in kernel context on its current CPU (e.g. CPU2). Replace the while loop in vduse_vq_update_effective_cpu() with cpumask_next_and_wrap() to find the intersection of vq->irq_affinity and cpu_online_mask in a single wrapped scan. If the intersection is empty, set curr_cpu to IRQ_UNBOUND and let the existing unbound workqueue handle injection, avoiding repeated rescans when all CPUs in the affinity are offline. Use cpus_read_lock()/cpus_read_unlock() to keep the selected CPU online.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 28f6288eb63d5979fa6758e64f52e4d55cf184a8 to < 373185bdfb886a01b404ac10c4d2d5a92f3c04cbaffected
  • 28f6288eb63d5979fa6758e64f52e4d55cf184a8 to < 9a323a3ef0bcbae72bf2593058c029ba09dccbbaaffected
  • 28f6288eb63d5979fa6758e64f52e4d55cf184a8 to < cf0a5805d43236e308f14188f9737ddcf83fb53aaffected

Linux Linux

Default version status: affected

  • 6.4affected
  • 0 to < 6.4unaffected
  • 6.18.66 to ≤ 6.18.*unaffected
  • 7.3.7 to ≤ 7.3.*unaffected
  • 7.4-rc2 to ≤ *unaffected

References