CVE-2022-48706·Kernel vulnerability
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.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.1.13
- Published
- 2024-05-21
Affected versions
Until: 6.1.13
Fixed in: 6.1.13
How to fix this CVE
Update your Linux kernel to version 6.1.13 or later to patch a memory leak vulnerability in the IFCVF vDPA device driver. This vulnerability occurs when IFCVF initialization fails, causing the management device structure to remain unfreed in memory. Apply the kernel update through your distribution's package manager and reboot your system to ensure the patch is active.
sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version by running: uname -r
- Step 2: Verify if your system has vDPA IFCVF drivers loaded by executing: lsmod | grep ifcvf
- Step 3: Check kernel logs for memory allocation failures during IFCVF initialization: dmesg | grep -i 'ifcvf\|vdpa'
- Step 4: After applying the patch, confirm the kernel version matches 6.1.13 or later by running: uname -r again
FAQ
What is CVE-2022-48706?
CVE-2022-48706 is a memory leak vulnerability in the Linux kernel's IFCVF vDPA (virtual datapath acceleration) driver that fails to properly clean up memory when device initialization encounters an error. This can lead to gradual memory exhaustion over time if initialization failures occur repeatedly.
Is CVE-2022-48706 being actively exploited?
No, CVE-2022-48706 is not listed in the CISA Known Exploited Vulnerabilities catalog and has no publicly available exploits. However, it should still be patched as a preventative measure to avoid potential memory exhaustion attacks.
What versions of Kernel are affected by CVE-2022-48706?
All Linux kernel versions prior to 6.1.13 that include the IFCVF vDPA driver are affected. The vulnerability was resolved in kernel version 6.1.13.
How do I check if my server is vulnerable to CVE-2022-48706?
Run 'uname -r' to check your kernel version. If it is earlier than 6.1.13 and 'lsmod | grep ifcvf' shows the driver is loaded, your system is vulnerable. Additionally, check if your distribution's kernel package is based on upstream kernel 6.1.x series.
Does Defensia detect CVE-2022-48706?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2022-48706 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2022-48706. Free for 1 server.
Get started free