Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: vdpa: fix use-after-free on vp_vdpa_remove When vp_vdpa driver is unbind, vp_vdpa is freed in vdpa_unregister_device and then vp_vdpa->mdev.pci_dev is dereferenced in vp_modern_remove, triggering use-after-free. Call Trace of unbinding driver free vp_vdpa : do_syscall_64 vfs_write kernfs_fop_write_iter device_release_driver_internal pci_device_remove vp_vdpa_remove vdpa_unregister_device kobject_release device_release kfree Call Trace of dereference vp_vdpa->mdev.pci_dev: vp_modern_remove pci_release_selected_regions pci_release_region pci_resource_len pci_resource_end (dev)->resource[(bar)].end
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.13, < 5.15.29 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/4b1743bc715a3691a63ac21b349079b07bf1b19ePatch
- https://git.kernel.org/stable/c/dc54ba9932aeaaa1a21fe214af1f446593a78274Patch
- https://git.kernel.org/stable/c/eb057b44dbe35ae14527830236a92f51de8f9184Patch
- https://git.kernel.org/stable/c/4b1743bc715a3691a63ac21b349079b07bf1b19ePatch
- https://git.kernel.org/stable/c/dc54ba9932aeaaa1a21fe214af1f446593a78274Patch
- https://git.kernel.org/stable/c/eb057b44dbe35ae14527830236a92f51de8f9184Patch
FAQ
What is CVE-2022-48861?
CVE-2022-48861 is a vulnerability with a CVSS score of 5.5 (MEDIUM). In the Linux kernel, the following vulnerability has been resolved: vdpa: fix use-after-free on vp_vdpa_remove When vp_vdpa driver is unbind, vp_vdpa is freed in vdpa_unregister_device and then vp_v...
How severe is CVE-2022-48861?
CVE-2022-48861 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-48861?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.