{"id":"CVE-2024-53092","state":"PUBLISHED","title":"virtio_pci: Fix admin vq cleanup by using correct info pointer","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio_pci: Fix admin vq cleanup by using correct info pointer\n\nvp_modern_avq_cleanup() and vp_del_vqs() clean up admin vq\nresources by virtio_pci_vq_info pointer. The info pointer of admin\nvq is stored in vp_dev->admin_vq.info instead of vp_dev->vqs[].\nUsing the info pointer from vp_dev->vqs[] for admin vq causes a\nkernel NULL pointer dereference bug.\nIn vp_modern_avq_cleanup() and vp_del_vqs(), get the info pointer\nfrom vp_dev->admin_vq.info for admin vq to clean up the resources.\nAlso make info ptr as argument of vp_del_vq() to be symmetric with\nvp_setup_vq().\n\nvp_reset calls vp_modern_avq_cleanup, and causes the Call Trace:\n==================================================================\nBUG: kernel NULL pointer dereference, address:0000000000000000\n...\nCPU: 49 UID: 0 PID: 4439 Comm: modprobe Not tainted 6.11.0-rc5 #1\nRIP: 0010:vp_reset+0x57/0x90 [virtio_pci]\nCall Trace:\n <TASK>\n...\n ? vp_reset+0x57/0x90 [virtio_pci]\n ? vp_reset+0x38/0x90 [virtio_pci]\n virtio_reset_device+0x1d/0x30\n remove_vq_common+0x1c/0x1a0 [virtio_net]\n virtnet_remove+0xa1/0xc0 [virtio_net]\n virtio_dev_remove+0x46/0xa0\n...\n virtio_pci_driver_exit+0x14/0x810 [virtio_pci]\n==================================================================","publishedAt":"2024-11-21T18:17:09.045Z","updatedAt":"2026-08-05T11:43:35.854Z","severity":{"score":8.4,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4c3b54af907e709609d3d8beca92d65e2f0cfd83","status":"affected","lessThan":"018d3d4ad4be7fbc95d8a2367642a32d21df55c7","versionType":"git"},{"version":"4c3b54af907e709609d3d8beca92d65e2f0cfd83","status":"affected","lessThan":"97ee04feb682c906a1fa973ebe586fe91567d165","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/virtio/virtio_pci_common.c","drivers/virtio/virtio_pci_common.h","drivers/virtio/virtio_pci_modern.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.11","versionType":"semver"},{"version":"6.11.9","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/virtio/virtio_pci_common.c","drivers/virtio/virtio_pci_common.h","drivers/virtio/virtio_pci_modern.c"]}],"references":["https://git.kernel.org/stable/c/018d3d4ad4be7fbc95d8a2367642a32d21df55c7","https://git.kernel.org/stable/c/97ee04feb682c906a1fa973ebe586fe91567d165"],"weaknesses":["CWE-476"],"ingestedAt":"2026-10-29T20:08:04.920Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/53xxx/CVE-2024-53092.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-53092","state":"PUBLISHED","datePublished":"2024-11-21T18:17:09.045Z","dateUpdated":"2026-08-05T11:43:35.854Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-11-19T17:17:24.981Z"},"containers":{"cna":{"title":"virtio_pci: Fix admin vq cleanup by using correct info pointer","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio_pci: Fix admin vq cleanup by using correct info pointer\n\nvp_modern_avq_cleanup() and vp_del_vqs() clean up admin vq\nresources by virtio_pci_vq_info pointer. The info pointer of admin\nvq is stored in vp_dev->admin_vq.info instead of vp_dev->vqs[].\nUsing the info pointer from vp_dev->vqs[] for admin vq causes a\nkernel NULL pointer dereference bug.\nIn vp_modern_avq_cleanup() and vp_del_vqs(), get the info pointer\nfrom vp_dev->admin_vq.info for admin vq to clean up the resources.\nAlso make info ptr as argument of vp_del_vq() to be symmetric with\nvp_setup_vq().\n\nvp_reset calls vp_modern_avq_cleanup, and causes the Call Trace:\n==================================================================\nBUG: kernel NULL pointer dereference, address:0000000000000000\n...\nCPU: 49 UID: 0 PID: 4439 Comm: modprobe Not tainted 6.11.0-rc5 #1\nRIP: 0010:vp_reset+0x57/0x90 [virtio_pci]\nCall Trace:\n <TASK>\n...\n ? vp_reset+0x57/0x90 [virtio_pci]\n ? vp_reset+0x38/0x90 [virtio_pci]\n virtio_reset_device+0x1d/0x30\n remove_vq_common+0x1c/0x1a0 [virtio_net]\n virtnet_remove+0xa1/0xc0 [virtio_net]\n virtio_dev_remove+0x46/0xa0\n...\n virtio_pci_driver_exit+0x14/0x810 [virtio_pci]\n=================================================================="}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4c3b54af907e709609d3d8beca92d65e2f0cfd83","status":"affected","lessThan":"018d3d4ad4be7fbc95d8a2367642a32d21df55c7","versionType":"git"},{"version":"4c3b54af907e709609d3d8beca92d65e2f0cfd83","status":"affected","lessThan":"97ee04feb682c906a1fa973ebe586fe91567d165","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/virtio/virtio_pci_common.c","drivers/virtio/virtio_pci_common.h","drivers/virtio/virtio_pci_modern.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.11","versionType":"semver"},{"version":"6.11.9","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/virtio/virtio_pci_common.c","drivers/virtio/virtio_pci_common.h","drivers/virtio/virtio_pci_modern.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/018d3d4ad4be7fbc95d8a2367642a32d21df55c7"},{"url":"https://git.kernel.org/stable/c/97ee04feb682c906a1fa973ebe586fe91567d165"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.4,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerable code is a PCI transport driver reached via local device lifecycle operations (probe, reset, unbind, module unload) and via values read from the virtio device's MMIO common configuration; there is no network-reachable path.\nAC:L - The defect is deterministic with no race — every reset or teardown of a virtio-pci device that negotiated VIRTIO_F_ADMIN_VQ indexes the wrong array, and a device supplying an arbitrary admin_queue_index controls the out-of-bounds offset exactly.\nPR:N - The out-of-bounds index originates from the device-supplied admin_queue_index MMIO field, and the faulty cleanup runs on the probe error paths (vp_find_one_vq_msix request_irq failure, vp_find_vqs_msix error_find, virtnet_probe free_vqs), so an untrusted virtio device triggers it during automatic driver binding with no guest/host credentials.\nUI:N - Device probe, hotplug, and reset happen automatically via the driver core; no victim action is needed.\nS:U - The out-of-bounds access and its consequences are confined to the kernel's own memory and security authority; no IOMMU, VM, or sandbox boundary is crossed.\nC:H - vp_dev->vqs[] is read past its kcalloc'd end by an unbounded, device-chosen 16-bit index, and the resulting pointer is dereferenced (info->vq, info->msix_vector) and handed to virtqueue_detach_unused_buf(), exposing adjacent and far-out-of-bounds kernel heap contents.\nI:H - The wild info pointer obtained from the out-of-bounds read is passed to list_del(&info->node) — which writes through two attacker-influenced pointers — and then to del_vq() and kfree(), yielding write and arbitrary-free primitives suitable for heap corruption and control-flow hijacking.\nA:H - The commit documents a reproducible kernel NULL pointer dereference oops in vp_reset()/vp_modern_avq_cleanup() on ordinary driver removal, and the corrupted list_del/kfree paths panic the kernel as well."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T11:43:35.854Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.11.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.12"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"id":"CVE-2024-53092","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2025-10-01T20:11:27.448573Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-476","lang":"en","type":"CWE","description":"CWE-476 NULL Pointer Dereference"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-01T20:17:13.558Z"}}]}}}