CVE-2024-53092 (GCVE-0-2024-53092)
Vulnerability from cvelistv5
Published
2024-11-21 18:17
Modified
2026-08-05 11:43
Summary
In the Linux kernel, the following vulnerability has been resolved: virtio_pci: Fix admin vq cleanup by using correct info pointer vp_modern_avq_cleanup() and vp_del_vqs() clean up admin vq resources by virtio_pci_vq_info pointer. The info pointer of admin vq is stored in vp_dev->admin_vq.info instead of vp_dev->vqs[]. Using the info pointer from vp_dev->vqs[] for admin vq causes a kernel NULL pointer dereference bug. In vp_modern_avq_cleanup() and vp_del_vqs(), get the info pointer from vp_dev->admin_vq.info for admin vq to clean up the resources. Also make info ptr as argument of vp_del_vq() to be symmetric with vp_setup_vq(). vp_reset calls vp_modern_avq_cleanup, and causes the Call Trace: ================================================================== BUG: kernel NULL pointer dereference, address:0000000000000000 ... CPU: 49 UID: 0 PID: 4439 Comm: modprobe Not tainted 6.11.0-rc5 #1 RIP: 0010:vp_reset+0x57/0x90 [virtio_pci] Call Trace: <TASK> ... ? vp_reset+0x57/0x90 [virtio_pci] ? vp_reset+0x38/0x90 [virtio_pci] virtio_reset_device+0x1d/0x30 remove_vq_common+0x1c/0x1a0 [virtio_net] virtnet_remove+0xa1/0xc0 [virtio_net] virtio_dev_remove+0x46/0xa0 ... virtio_pci_driver_exit+0x14/0x810 [virtio_pci] ==================================================================
Impacted products
Vendor Product Version
Linux Linux Version: 4c3b54af907e709609d3d8beca92d65e2f0cfd83
Version: 4c3b54af907e709609d3d8beca92d65e2f0cfd83
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 5.5,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2024-53092",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-10-01T20:11:27.448573Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-476",
                "description": "CWE-476 NULL Pointer Dereference",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-10-01T20:17:13.558Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/virtio/virtio_pci_common.c",
            "drivers/virtio/virtio_pci_common.h",
            "drivers/virtio/virtio_pci_modern.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "018d3d4ad4be7fbc95d8a2367642a32d21df55c7",
              "status": "affected",
              "version": "4c3b54af907e709609d3d8beca92d65e2f0cfd83",
              "versionType": "git"
            },
            {
              "lessThan": "97ee04feb682c906a1fa973ebe586fe91567d165",
              "status": "affected",
              "version": "4c3b54af907e709609d3d8beca92d65e2f0cfd83",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/virtio/virtio_pci_common.c",
            "drivers/virtio/virtio_pci_common.h",
            "drivers/virtio/virtio_pci_modern.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.11"
            },
            {
              "lessThan": "6.11",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.11.*",
              "status": "unaffected",
              "version": "6.11.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.12",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.11.9",
                  "versionStartIncluding": "6.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12",
                  "versionStartIncluding": "6.11",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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-\u003eadmin_vq.info instead of vp_dev-\u003evqs[].\nUsing the info pointer from vp_dev-\u003evqs[] 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-\u003eadmin_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 \u003cTASK\u003e\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=================================================================="
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8.4,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "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\u0027s MMIO common configuration; there is no network-reachable path.\nAC:L - The defect is deterministic with no race \u2014 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\u0027s own memory and security authority; no IOMMU, VM, or sandbox boundary is crossed.\nC:H - vp_dev-\u003evqs[] is read past its kcalloc\u0027d end by an unbounded, device-chosen 16-bit index, and the resulting pointer is dereferenced (info-\u003evq, info-\u003emsix_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(\u0026info-\u003enode) \u2014 which writes through two attacker-influenced pointers \u2014 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": {
        "dateUpdated": "2026-08-05T11:43:35.854Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/018d3d4ad4be7fbc95d8a2367642a32d21df55c7"
        },
        {
          "url": "https://git.kernel.org/stable/c/97ee04feb682c906a1fa973ebe586fe91567d165"
        }
      ],
      "title": "virtio_pci: Fix admin vq cleanup by using correct info pointer",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-53092",
    "datePublished": "2024-11-21T18:17:09.045Z",
    "dateReserved": "2024-11-19T17:17:24.981Z",
    "dateUpdated": "2026-08-05T11:43:35.854Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"cna\": {\"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-05-04T09:52:50.079Z\"}, \"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-\u003eadmin_vq.info instead of vp_dev-\u003evqs[].\\nUsing the info pointer from vp_dev-\u003evqs[] 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-\u003eadmin_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 \u003cTASK\u003e\\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\": [{\"product\": \"Linux\", \"vendor\": \"Linux\", \"defaultStatus\": \"unaffected\", \"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\"], \"versions\": [{\"version\": \"4c3b54af907e709609d3d8beca92d65e2f0cfd83\", \"lessThan\": \"018d3d4ad4be7fbc95d8a2367642a32d21df55c7\", \"status\": \"affected\", \"versionType\": \"git\"}, {\"version\": \"4c3b54af907e709609d3d8beca92d65e2f0cfd83\", \"lessThan\": \"97ee04feb682c906a1fa973ebe586fe91567d165\", \"status\": \"affected\", \"versionType\": \"git\"}]}, {\"product\": \"Linux\", \"vendor\": \"Linux\", \"defaultStatus\": \"affected\", \"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\"], \"versions\": [{\"version\": \"6.11\", \"status\": \"affected\"}, {\"version\": \"0\", \"lessThan\": \"6.11\", \"status\": \"unaffected\", \"versionType\": \"semver\"}, {\"version\": \"6.11.9\", \"lessThanOrEqual\": \"6.11.*\", \"status\": \"unaffected\", \"versionType\": \"semver\"}, {\"version\": \"6.12\", \"lessThanOrEqual\": \"*\", \"status\": \"unaffected\", \"versionType\": \"original_commit_for_fix\"}]}], \"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\"}]}]}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/018d3d4ad4be7fbc95d8a2367642a32d21df55c7\"}, {\"url\": \"https://git.kernel.org/stable/c/97ee04feb682c906a1fa973ebe586fe91567d165\"}], \"title\": \"virtio_pci: Fix admin vq cleanup by using correct info pointer\", \"x_generator\": {\"engine\": \"bippy-1.2.0\"}}, \"adp\": [{\"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\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-476\", \"description\": \"CWE-476 NULL Pointer Dereference\"}]}], \"providerMetadata\": {\"shortName\": \"CISA-ADP\", \"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"dateUpdated\": \"2025-10-01T15:32:17.990Z\"}, \"title\": \"CISA ADP Vulnrichment\"}]}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-53092\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"state\": \"PUBLISHED\", \"assignerShortName\": \"Linux\", \"dateReserved\": \"2024-11-19T17:17:24.981Z\", \"datePublished\": \"2024-11-21T18:17:09.045Z\", \"dateUpdated\": \"2025-05-04T09:52:50.079Z\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…