Bug 1225524 (CVE-2022-48706)

Summary: VUL-0: CVE-2022-48706: kernel: vdpa: ifcvf: do proper cleanup if IFCVF init fails
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Joey Lee <jlee>
Status: NEW --- QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: camila.matos, jlee
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/407153/
Whiteboard: CVSSv3.1:SUSE:CVE-2022-48706:4.4:(AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-05-28 16:34:45 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