{"id":"CVE-2026-143329","summary":"vduse: avoid infinite loop when no affinity CPU is online","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nvduse: avoid infinite loop when no affinity CPU is online\n\nIf all CPUs in vq-\u003eirq_affinity are offline, cpumask_next() walks to the\nend of the mask, and the loop then resets the cursor to IRQ_UNBOUND and\nrestarts the scan. When VDUSE_VQ_INJECT_IRQ is issued, the intersection of\nvq-\u003eirq_affinity and cpu_online_mask is empty, so the caller busy-loops in\nkernel context on its current CPU (e.g. CPU2).\n\nReplace the while loop in vduse_vq_update_effective_cpu() with\ncpumask_next_and_wrap() to find the intersection of vq-\u003eirq_affinity and\ncpu_online_mask in a single wrapped scan. If the intersection is empty, set\ncurr_cpu to IRQ_UNBOUND and let the existing unbound workqueue handle\ninjection, avoiding repeated rescans when all CPUs in the affinity are\noffline. Use cpus_read_lock()/cpus_read_unlock() to keep the selected CPU\nonline.","modified":"2026-12-03T11:02:03.140418124Z","published":"2026-12-03T09:21:54.243Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143329.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/373185bdfb886a01b404ac10c4d2d5a92f3c04cb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9a323a3ef0bcbae72bf2593058c029ba09dccbba"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cf0a5805d43236e308f14188f9737ddcf83fb53a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143329.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143329"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"28f6288eb63d5979fa6758e64f52e4d55cf184a8"},{"fixed":"373185bdfb886a01b404ac10c4d2d5a92f3c04cb"},{"fixed":"9a323a3ef0bcbae72bf2593058c029ba09dccbba"},{"fixed":"cf0a5805d43236e308f14188f9737ddcf83fb53a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143329.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.4.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143329.json"}}],"schema_version":"1.9.2"}