{"id":"CVE-2024-42134","aliases":["CVE-2024-42134"],"related":[],"kind":"vulnerability","state":"published","title":"virtio-pci: Check if is_avq is NULL","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio-pci: Check if is_avq is NULL\n\n[bug]\nIn the virtio_pci_common.c function vp_del_vqs, vp_dev->is_avq is involved\nto determine whether it is admin virtqueue, but this function vp_dev->is_avq\n may be empty. For installations, virtio_pci_legacy does not assign a value\n to vp_dev->is_avq.\n\n[fix]\nCheck whether it is vp_dev->is_avq before use.\n\n[test]\nTest with virsh Attach device\nBefore this patch, the following command would crash the guest system\n\nAfter applying the patch, everything seems to be working fine.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio-pci: Check if is_avq is NULL\n\n[bug]\nIn the virtio_pci_common.c function vp_del_vqs, vp_dev->is_avq is involved\nto determine whether it is admin virtqueue, but this function vp_dev->is_avq\n may be empty. For installations, virtio_pci_legacy does not assign a value\n to vp_dev->is_avq.\n\n[fix]\nCheck whether it is vp_dev->is_avq before use.\n\n[test]\nTest with virsh Attach device\nBefore this patch, the following command would crash the guest system\n\nAfter applying the patch, everything seems to be working fine.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: virtio-pci: compruebe si is_avq es NULL [error] En la función virtio_pci_common.c vp_del_vqs, vp_dev-&gt;is_avq participa para determinar si es admin virtqueue, pero esta función vp_dev -&gt;is_avq puede estar vacío. Para instalaciones, virtio_pci_legacy no asigna un valor a vp_dev-&gt;is_avq. [arreglo] Verifique si es vp_dev-&gt;is_avq antes de usarlo. [prueba] Prueba con virsh Adjuntar dispositivo Antes de este parche, el siguiente comando bloquearía el sistema invitado. Después de aplicar el parche, todo parece estar funcionando bien.","source":"nvd"}],"published":"2024-07-30T07:46:29.331Z","modified":"2026-06-17T07:48:54.240Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"fd27ef6b44bec26915c5b2b22c13856d9f0ba17a","fixed":"5e2024b0b9b3d5709e3f7e9b92951d7e29154106","status":"affected"},{"type":"git","introduced":"fd27ef6b44bec26915c5b2b22c13856d9f0ba17a","fixed":"c8fae27d141a32a1624d0d0d5419d94252824498","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.8","status":"unaffected"},{"type":"semver","introduced":"6.9.9","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"6.9.9"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/5e2024b0b9b3d5709e3f7e9b92951d7e29154106","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c8fae27d141a32a1624d0d0d5419d94252824498","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T16:16:15.915Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-42134","url":"https://www.cve.org/CVERecord?id=CVE-2024-42134","licence":"CVE Terms of Use","modified":"2026-05-11T20:27:38.128Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-42134","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42134","licence":"Public domain","modified":"2026-06-17T07:48:54.240Z"}],"updatedAt":"2026-11-25T22:58:43.411Z","epss":{"score":0.00194,"percentile":0.09494,"date":"2026-12-01T12:00:22.000Z"}}