Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7F4E71FCC6F for ; Mon, 21 Oct 2024 20:14:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729541654; cv=none; b=B6FbUP3Wbz8KkLcm3w1OJLDeaQFOcmbFSsEkE2lURJ6QugUOoHTz0iTrahXkTthQrA0tQRXWliuj9f6F66dJP9RLfaRS5LAjquZXJPvwm6qMEhIQxwZuy7a3MMeNJVXlVvQynng18/ZdEVPEjhZQ8G/FGtOMefYAGyWoCIVffC0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729541654; c=relaxed/simple; bh=wXW85xnnImKhC4HrlfdIUj8r9HKG1ud0QcffedDN1GI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=K0Q8WUF8k5LhTFnygnb699qy64e4E8PoP40jbRIIktteW6/+HR8C5RZbWvp6hmOMU5GyU1poylxH+PMoh60BiDTIc+O6sUhf25vKuRmmVRhiarrbPUTvSjRVW/FjO3p/V2rvl9hpdf8IP1XAVygVKR1TfG30k/cbZRhE+eercM8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mwy3HVDH; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="mwy3HVDH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2F9AC4CEC3; Mon, 21 Oct 2024 20:14:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729541654; bh=wXW85xnnImKhC4HrlfdIUj8r9HKG1ud0QcffedDN1GI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=mwy3HVDHroOYzsqtJsOP5trzF/EvX84J5MKjcLcFVDgvDx1NFj8En4j9HTb75KyXh JMGr6RATniJp/gD0Gz7lEac88CUplEg6aXQSHuaX4bQg3f/qVuTXlCAkmFxbsjQQ/4 HO+G92SsdehNb9rXV6X6BedbfTV3Ksi9msj9jUkY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49028: ixgbevf: Fix resource leak in ixgbevf_init_module() Date: Mon, 21 Oct 2024 22:07:00 +0200 Message-ID: <2024102155-CVE-2022-49028-78e7@gregkh> X-Mailer: git-send-email 2.47.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2315; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wXW85xnnImKhC4HrlfdIUj8r9HKG1ud0QcffedDN1GI=; b=owGbwMvMwCRo6H6F97bub03G02pJDOliW5SNVRqmrDLZl1qxKjGqS1y765bD0YN5i5/vXWcz/ e3SEze0O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi2/8xLOip82iRvZBt1NrS VHt4z90lgT2HshkWTM7R/dpjLbxqu80X7/+XnF81hlxVBQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: ixgbevf: Fix resource leak in ixgbevf_init_module() ixgbevf_init_module() won't destroy the workqueue created by create_singlethread_workqueue() when pci_register_driver() failed. Add destroy_workqueue() in fail path to prevent the resource leak. Similar to the handling of u132_hcd_init in commit f276e002793c ("usb: u132-hcd: fix resource leak") The Linux kernel CVE team has assigned CVE-2022-49028 to this issue. Affected and fixed versions =========================== Issue introduced in 4.5 with commit 40a13e2493c9 and fixed in 5.10.158 with commit f166c62cad79 Issue introduced in 4.5 with commit 40a13e2493c9 and fixed in 5.15.82 with commit 7109e9410992 Issue introduced in 4.5 with commit 40a13e2493c9 and fixed in 6.0.12 with commit c99671d4699d Issue introduced in 4.5 with commit 40a13e2493c9 and fixed in 6.1 with commit 8cfa238a48f3 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2022-49028 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/f166c62cad798c53300b4b327e44300c73ec492d https://git.kernel.org/stable/c/7109e941099244cc876a4b3cb7a3ec79f104374a https://git.kernel.org/stable/c/c99671d4699dcf90d6939923c8fe8a8918e140b2 https://git.kernel.org/stable/c/8cfa238a48f34038464b99d0b4825238c2687181