Bugzilla – Bug 1225524
VUL-0: CVE-2022-48706: kernel: vdpa: ifcvf: do proper cleanup if IFCVF init fails
Last modified: 2024-06-05 13:33:32 UTC
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. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-48706 https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2022/CVE-2022-48706.mbox https://git.kernel.org/stable/c/5d2cc32c1c10bd889125d2adc16a6bc3338dcd3e https://git.kernel.org/stable/c/6b04456e248761cf68f562f2fd7c04e591fcac94 https://www.cve.org/CVERecord?id=CVE-2022-48706 https://bugzilla.redhat.com/show_bug.cgi?id=2282602