CVE-2022-48861

MEDIUM EPSS 10.1%
Published Jul 16, 20241y ago · Modified Jun 17, 20261w ago
5.5 CVSS 3.1
Medium
Find Similar
Published Jul 16, 2024 1y ago
Last Modified Jun 17, 2026 1w ago

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 Details

Base Score
5.5
Exploitability
1.8
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
10.1% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-416 Use After Free Memory Safety

Affected Products 2

VendorProductVersionRange
linuxlinux_kernel*≥5.13  –  <5.15.29
linuxlinux_kernel*≥5.16  –  <5.16.15

References 3

  • git.kernel.org https://git.kernel.org/stable/c/4b1743bc715a3691a63ac21b349079b07bf1b19e
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/dc54ba9932aeaaa1a21fe214af1f446593a78274
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/eb057b44dbe35ae14527830236a92f51de8f9184
    Patch

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/4b1743bc715a3691a63ac21b349079b07bf1b19e
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/dc54ba9932aeaaa1a21fe214af1f446593a78274
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/eb057b44dbe35ae14527830236a92f51de8f9184
    Patch