What’s Vulnerable › Vulnerabilities
CVE-2023-52795: vhost-vdpa: fix use after free in vhost_vdpa_probe()
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-21 · updated 2026-06-17
- Weakness: CWE-415
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.
Affected products
- 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-rc1 — fixed in 6.1.64, 6.5.13, 6.6.3
How to fix
Upgrade to a fixed version: Linux kernel 6.1.64, 6.5.13, 6.6.3. Check the vendor advisory for mitigations.
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://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
Get alerted when CVE-2023-52795 or the next vulnerability affects your stack