CVE-2022-48861
vdpa: fix use-after-free on vp_vdpa_remove
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 64b9f64f80a6f4b7ea51bf0510119cb15e801dc6, < 4b1743bc715a3691a63ac21b349079b07bf1b19e; >= 64b9f64f80a6f4b7ea51bf0510119cb15e801dc6, < dc54ba9932aeaaa1a21fe214af1f446593a78274; >= 64b9f64f80a6f4b7ea51bf0510119cb15e801dc6, < eb057b44dbe35ae14527830236a92f51de8f9184
- Anyone running Linux 5.13
Vulnerability facts
- Affected
- Linux >= 64b9f64f80a6f4b7ea51bf0510119cb15e801dc6, < 4b1743bc715a3691a63ac21b349079b07bf1b19e; >= 64b9f64f80a6f4b7ea51bf0510119cb15e801dc6, < dc54ba9932aeaaa1a21fe214af1f446593a78274; >= 64b9f64f80a6f4b7ea51bf0510119cb15e801dc6, < eb057b44dbe35ae14527830236a92f51de8f9184; Linux 5.13
- Fixed in
- Linux 4b1743bc715a3691a63ac21b349079b07bf1b19e
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- CWE
- CWE-416
- Modified
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
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 64b9f64f80a6f4b7ea51bf0510119cb15e801dc6, < 4b1743bc715a3691a63ac21b349079b07bf1b19e; >= 64b9f64f80a6f4b7ea51bf0510119cb15e801dc6, < dc54ba9932aeaaa1a21fe214af1f446593a78274; >= 64b9f64f80a6f4b7ea51bf0510119cb15e801dc6, < eb057b44dbe35ae14527830236a92f51de8f9184 | — | cvelist |
| Linux | 5.13 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-48861. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-48861.md Affected: Linux >= 64b9f64f80a6f4b7ea51bf0510119cb15e801dc6, < 4b1743bc715a3691a63ac21b349079b07bf1b19e; >= 64b9f64f80a6f4b7ea51bf0510119cb15e801dc6, < dc54ba9932aeaaa1a21fe214af1f446593a78274; >= 64b9f64f80a6f4b7ea51bf0510119cb15e801dc6, < eb057b44dbe35ae14527830236a92f51de8f9184; Linux 5.13 Fixed in: Linux 4b1743bc715a3691a63ac21b349079b07bf1b19e Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2022-48861 being exploited?
There is no confirmed exploitation: CVE-2022-48861 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-48861?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-48861?
Linux >= 64b9f64f80a6f4b7ea51bf0510119cb15e801dc6, < 4b1743bc715a3691a63ac21b349079b07bf1b19e; >= 64b9f64f80a6f4b7ea51bf0510119cb15e801dc6, < dc54ba9932aeaaa1a21fe214af1f446593a78274; >= 64b9f64f80a6f4b7ea51bf0510119cb15e801dc6, < eb057b44dbe35ae14527830236a92f51de8f9184; Linux 5.13.
Is there a fix for CVE-2022-48861?
Yes. Fixed in Linux 4b1743bc715a3691a63ac21b349079b07bf1b19e. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-48861?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.