Skip to content
Heist/ feed
Back to feed
UnratedFix available

vhost-vdpa: fix use after free in vhost_vdpa_probe()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: vhost-vdpa: fix use after free in vhost_vdpa_probe() The put_device() calls vhost_vdpa_release_dev() which calls ida_simple_remove() and frees "v". So this call to ida_simple_remove() is a use after free and a double free.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.64, 6.5.13, 6.6.3
CVEs
CVE-2023-52795
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 14:18 UTC · Revision 1

Source evidence

vhost-vdpa: fix use after free in vhost_vdpa_probe()

core-osv · Original source

Published 21 May 2024, 15:31 UTC

In the Linux kernel, the following vulnerability has been resolved: vhost-vdpa: fix use after free in vhost_vdpa_probe() The put_device() calls vhost_vdpa_release_dev() which calls ida_simple_remove() and frees "v". So this call to ida_simple_remove() is a use after free and a double free.

osv:CVE-2023-52795

Kernel

Fixed versions: 6.1.64, 6.5.13, 6.6.3

Complete source record
{
  "id": "82d9630b0608d9f1d7d4067f0fda4696be8d865e55a1e387ca298e2894e61f82",
  "url": "https://osv.dev/vulnerability/CVE-2023-52795",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "vhost-vdpa: fix use after free in vhost_vdpa_probe()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: vhost-vdpa: fix use after free in vhost_vdpa_probe() The put_device() calls vhost_vdpa_release_dev() which calls ida_simple_remove() and frees \"v\". So this call to ida_simple_remove() is a use after free and a double free.",
    "evidence": "osv:CVE-2023-52795",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.64",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.5.13",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2023-52795",
      "aliases": [
        "CVE-2023-52795"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "ebe6a354fa7e0a7d5b581da31ad031b19d8693f9"
                },
                {
                  "fixed": "c0f8b8fb7df9d1a38652eb5aa817afccd3c56111"
                },
                {
                  "fixed": "ae8ea4e200675a940c365b496ef8e3fb4123601c"
                },
                {
                  "fixed": "bf04132cd64ccde4e9e9765d489c83fe83c09b7f"
                },
                {
                  "fixed": "e07754e0a1ea2d63fb29574253d1fd7405607343"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52795.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.0.0"
                },
                {
                  "fixed": "6.1.64"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.5.13"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.6.0"
                },
                {
                  "fixed": "6.6.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52795.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:51.289129555Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/ae8ea4e200675a940c365b496ef8e3fb4123601c",
        "https://git.kernel.org/stable/c/bf04132cd64ccde4e9e9765d489c83fe83c09b7f",
        "https://git.kernel.org/stable/c/c0f8b8fb7df9d1a38652eb5aa817afccd3c56111",
        "https://git.kernel.org/stable/c/e07754e0a1ea2d63fb29574253d1fd7405607343",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52795.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-52795",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52795.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-52795",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 519596,
  "published_at": "2024-05-21T15:31:09.623+00:00"
}