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 C7AEB212B32 for ; Wed, 26 Feb 2025 02:12:50 +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=1740535970; cv=none; b=D8ndrAswY2mfLz0XlsLsXxBROO1tTzgIjl62wBUxZNzrKDxZzDKlnHyDLOR8gW+QHDZVEiN9xVR3908T0m9bztAzh1JdLf91Pq5/8Aiu4ONvN+6Q0n9QppY9sgejQVVx6f7YogWTHVJ+vAxXv0F7lt2oifNL7XdKhpMFv7+LQWo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535970; c=relaxed/simple; bh=u9W2rVS3CpZf1FZSZm0RB9yBDwRA414dUJunka3wUag=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CvV0uec5IAEUCw+AUE4PCNS1IxUgq2oPmQlfxzP/wIq9zG4GbFKXo7h0by8tZY7rPxElKaNGVe0+OOKQIgODuRLFm+Vviyi64D+4Hl2GEkjAYnIOhekeGQGyY4xzbtO6YoniXGrTm0PgDRvLUi+JyA7FvhHXdJ9hzpz2vGxftSo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MDlmXcJp; 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="MDlmXcJp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 390C2C4CEDD; Wed, 26 Feb 2025 02:12:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740535970; bh=u9W2rVS3CpZf1FZSZm0RB9yBDwRA414dUJunka3wUag=; h=From:To:Cc:Subject:Date:Reply-to:From; b=MDlmXcJpQEm9quk6CWMdWMNr59sr56QqRjB0w/DiKh0o4QjVk4y6YNaKEA9vT32X9 WJgP6XDFsM9yyzB6hsYhN5FXvVnHCJ+UKsPFUZugmy3v2M+gt3xr4s6K7pRfnc35Zj XWgSurndL72MkjJXBRtRTeRWffIdd4UaiGwPTVg0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49314: tty: Fix a possible resource leak in icom_probe Date: Wed, 26 Feb 2025 03:09:48 +0100 Message-ID: <2025022636-CVE-2022-49314-beeb@gregkh> X-Mailer: git-send-email 2.48.1 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=2757; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=u9W2rVS3CpZf1FZSZm0RB9yBDwRA414dUJunka3wUag=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7yh/83XEqojMnr6AylVm4Jzs4Qb/6bcEujjdThX55L Q67pf+7I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbSIckwh2vb330sS/Yf3Pzl WJjlvIqAA+6VnAzzo1KiT2p2C+YfErpzPcuuvD980oK1AA== 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: tty: Fix a possible resource leak in icom_probe When pci_read_config_dword failed, call pci_release_regions() and pci_disable_device() to recycle the resource previously allocated. The Linux kernel CVE team has assigned CVE-2022-49314 to this issue. Affected and fixed versions =========================== Fixed in 4.9.318 with commit f4c836d90da1ece88905d62ce2ce39a962f25d1a Fixed in 4.14.283 with commit d703d912a985c1c5b50dd38c3181fc3540fa77cb Fixed in 4.19.247 with commit a2df0b4d080cc770b4da7bff487048c803dfd07e Fixed in 5.4.198 with commit 8c014373f178a4f13a08e045ef63bdb23f62e892 Fixed in 5.10.122 with commit cb7147afd328c07edeeee287710d8d96ac0459f5 Fixed in 5.15.47 with commit 5f9b2e4ca88cab1a96b86ecd45544e488ca43faf Fixed in 5.17.15 with commit 23e155b51d403c0ccedc60c0d6c3c452afed07fe Fixed in 5.18.4 with commit 9a8305f357a8d03698fc7bc855ff9c6865d5486b Fixed in 5.19 with commit ee157a79e7c82b01ae4c25de0ac75899801f322c 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-49314 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/tty/serial/icom.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/f4c836d90da1ece88905d62ce2ce39a962f25d1a https://git.kernel.org/stable/c/d703d912a985c1c5b50dd38c3181fc3540fa77cb https://git.kernel.org/stable/c/a2df0b4d080cc770b4da7bff487048c803dfd07e https://git.kernel.org/stable/c/8c014373f178a4f13a08e045ef63bdb23f62e892 https://git.kernel.org/stable/c/cb7147afd328c07edeeee287710d8d96ac0459f5 https://git.kernel.org/stable/c/5f9b2e4ca88cab1a96b86ecd45544e488ca43faf https://git.kernel.org/stable/c/23e155b51d403c0ccedc60c0d6c3c452afed07fe https://git.kernel.org/stable/c/9a8305f357a8d03698fc7bc855ff9c6865d5486b https://git.kernel.org/stable/c/ee157a79e7c82b01ae4c25de0ac75899801f322c