CVE-2023-52795Published May 21, 2024 · May 21Updated Oct 28
vhost-vdpa: fix use after free in vhost_vdpa_probe()
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
In vhost_vdpa_probe(), put_device() frees an object before a subsequent ida_simple_remove() call uses it, causing a use-after-free and double free. The input does not describe what an attacker could do or specify access, authentication, or user-interaction conditions.
Anyone running the Linux kernel should check whether their version is affected; affected versions are not specified.