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

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.

Classification

CVE ID: CVE-2023-52795

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 5.08% (scored less or equal to compared to others)

EPSS Date: 2025-02-04 (when was this score calculated)

References

https://git.kernel.org/stable/c/c0f8b8fb7df9d1a38652eb5aa817afccd3c56111
https://git.kernel.org/stable/c/ae8ea4e200675a940c365b496ef8e3fb4123601c
https://git.kernel.org/stable/c/bf04132cd64ccde4e9e9765d489c83fe83c09b7f
https://git.kernel.org/stable/c/e07754e0a1ea2d63fb29574253d1fd7405607343

Timeline