What’s Vulnerable › Vulnerabilities
CVE-2022-48706: vdpa: ifcvf: Do proper cleanup if IFCVF init fails
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-21 · updated 2026-06-17
- Weakness: CWE-401
Description
In the Linux kernel, the following vulnerability has been resolved: vdpa: ifcvf: Do proper cleanup if IFCVF init fails ifcvf_mgmt_dev leaks memory if it is not freed before returning. Call is made to correct return statement so memory does not leak. ifcvf_init_hw does not take care of this so it is needed to do it here.
Affected products
- Linux kernel: before 6.1.13; 6.2-rc1, 6.2-rc2, 6.2-rc3, 6.2-rc4, 6.2-rc5, 6.2-rc6 — fixed in 6.1.13
How to fix
Upgrade to a fixed version: Linux kernel 6.1.13. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/5d2cc32c1c10bd889125d2adc16a6bc3338dcd3e
- https://git.kernel.org/stable/c/6b04456e248761cf68f562f2fd7c04e591fcac94
- https://git.kernel.org/stable/c/5d2cc32c1c10bd889125d2adc16a6bc3338dcd3e
- https://git.kernel.org/stable/c/6b04456e248761cf68f562f2fd7c04e591fcac94
Get alerted when CVE-2022-48706 or the next vulnerability affects your stack