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 6F93B1FCC6F for ; Mon, 21 Oct 2024 20:14:11 +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=1729541651; cv=none; b=Uc/4D1XCWk7776jNaHEBcmCUYoIksdUEcM7hGYBlV9bijsvpd+GSLDUhZ5hb0PXCxlehMppVa5qRIopO+ESfsKm521ncHsZb+pFCzh3GMS2OleYsKK9CZTVVrkBKuPSbYX+rqtG+uO2ZOxZ3yth0GVCc+2F5/etmSBTuHeD9yfo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729541651; c=relaxed/simple; bh=uJ1gwPp8+oDq+FRDHk+xG+uCmDEO7VeJkhY9cPCMI7s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=M4OHX5arkA+EKugjjHZ5PNt7RO9WteJNu96tH/h1bepSC5Y6Xh9S16RHthnVMWUZsgZsq8IroSQcVX9BDAUk6nSPUKCXQwUdFWXokjJmc/1BLRlf5e1f1ukC9GZYQ88ZwSYcw4lIL82ZXHEUgmxDkVMFzrsXbVP2zs3ukHS4+30= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XeUR+IFb; 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="XeUR+IFb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E2C80C4CEC3; Mon, 21 Oct 2024 20:14:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729541651; bh=uJ1gwPp8+oDq+FRDHk+xG+uCmDEO7VeJkhY9cPCMI7s=; h=From:To:Cc:Subject:Date:Reply-to:From; b=XeUR+IFbyTjQrp139BPcHxbnlUe43UJ+FCMSocUntNYcTugNccmXnRpXZfAZuZrsw ehKRuSKHHamnWwXWStDwoFxvZ99YHBFU6jUVu/8i/KJizPKWmlt76M2B/cgGG4Dr5/ Hyat+XEmlqV6AXintnW8ZJpFoaBtkhoa2oNuKEp0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49027: iavf: Fix error handling in iavf_init_module() Date: Mon, 21 Oct 2024 22:06:59 +0200 Message-ID: <2024102155-CVE-2022-49027-3006@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=2280; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=uJ1gwPp8+oDq+FRDHk+xG+uCmDEO7VeJkhY9cPCMI7s=; b=owGbwMvMwCRo6H6F97bub03G02pJDOliW5TX6vBdMmxp6IopvrLuGYOV6q0fq99V/WTn/3Nzb t4M63XpHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRbd8Y5gpM2LFFagsv35/J j0RmPOG3nvtl0TKGBW2ygoHb0x58vrRM8sXy65Z/Z1kdlAUA 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: iavf: Fix error handling in iavf_init_module() The iavf_init_module() won't destroy workqueue when pci_register_driver() failed. Call destroy_workqueue() when pci_register_driver() failed 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-49027 to this issue. Affected and fixed versions =========================== Issue introduced in 4.6 with commit 2803b16c10ea and fixed in 5.10.158 with commit 971c55f0763b Issue introduced in 4.6 with commit 2803b16c10ea and fixed in 5.15.82 with commit 0d9f5bd54b91 Issue introduced in 4.6 with commit 2803b16c10ea and fixed in 6.0.12 with commit bd477b891a4f Issue introduced in 4.6 with commit 2803b16c10ea and fixed in 6.1 with commit 227d8d2f7f22 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-49027 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/iavf/iavf_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/971c55f0763b480e63ceb7a22beb19be2509e5ed https://git.kernel.org/stable/c/0d9f5bd54b913018031c5b964fc1f9a31f5f6cb5 https://git.kernel.org/stable/c/bd477b891a4fa084561234eed4afacb3001dd359 https://git.kernel.org/stable/c/227d8d2f7f2278b8468c5531b0cd0f2a905b4486