# CVE-2023-52795: vhost-vdpa: fix use after free in vhost_vdpa_probe()

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-05-21T15:31:09.623Z
- Modified: 2026-06-17T06:43:35.837Z
- Weaknesses: CWE-415, CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from ebe6a354fa7e0a7d5b581da31ad031b19d8693f9 before c0f8b8fb7df9d1a38652eb5aa817afccd3c56111; from ebe6a354fa7e0a7d5b581da31ad031b19d8693f9 before ae8ea4e200675a940c365b496ef8e3fb4123601c; from ebe6a354fa7e0a7d5b581da31ad031b19d8693f9 before bf04132cd64ccde4e9e9765d489c83fe83c09b7f; from ebe6a354fa7e0a7d5b581da31ad031b19d8693f9 before e07754e0a1ea2d63fb29574253d1fd7405607343; 6.0 (not affected: before 6.0; from 6.1.64 up to 6.1.*; from 6.5.13 up to 6.5.*; from 6.6.3 up to 6.6.*; from 6.7 up to *)
- linux linux_kernel: from 6.0 before 6.1.64; from 6.2 before 6.5.13; from 6.6 before 6.6.3; 6.7

## References

- <https://git.kernel.org/stable/c/c0f8b8fb7df9d1a38652eb5aa817afccd3c56111> (patch)
- <https://git.kernel.org/stable/c/ae8ea4e200675a940c365b496ef8e3fb4123601c> (patch)
- <https://git.kernel.org/stable/c/bf04132cd64ccde4e9e9765d489c83fe83c09b7f> (patch)
- <https://git.kernel.org/stable/c/e07754e0a1ea2d63fb29574253d1fd7405607343> (patch)

## Sources

- CVE List: [CVE-2023-52795](https://www.cve.org/CVERecord?id=CVE-2023-52795), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-52795](https://nvd.nist.gov/vuln/detail/CVE-2023-52795), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52795 · Whole record: https://cve.day/CVE-2023-52795.json · Rebuilt by cve.day 2026-11-25T22:58:34.023Z
