{"id":"CVE-2024-42134","summary":"virtio-pci: Check if is_avq is NULL","details":"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-\u003eis_avq is involved\nto determine whether it is admin virtqueue, but this function vp_dev-\u003eis_avq\n may be empty. For installations, virtio_pci_legacy does not assign a value\n to vp_dev-\u003eis_avq.\n\n[fix]\nCheck whether it is vp_dev-\u003eis_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.","modified":"2026-04-02T12:17:49.911870Z","published":"2024-07-30T07:46:29.331Z","related":["SUSE-SU-2025:02853-1","SUSE-SU-2025:02997-1","SUSE-SU-2025:03011-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42134.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5e2024b0b9b3d5709e3f7e9b92951d7e29154106"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c8fae27d141a32a1624d0d0d5419d94252824498"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42134.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42134"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"fd27ef6b44bec26915c5b2b22c13856d9f0ba17a"},{"fixed":"5e2024b0b9b3d5709e3f7e9b92951d7e29154106"},{"fixed":"c8fae27d141a32a1624d0d0d5419d94252824498"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42134.json"}}],"schema_version":"1.7.5"}