From mboxrd@z Thu Jan 1 00:00:00 1970 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 ED6BD1FDD for ; Tue, 21 May 2024 15:25:20 +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=1716305121; cv=none; b=i+3kHjX27+KBw7yAqB/CdJW7FbugPhGK9Ty0kILX3ciZhtzuZ9J9BDLpY7SsK2k1qC14bCybaVObh3njIqF6/LYkU7dMQu01rnqHMWNp7NQbJftTk5FaeAGoGuLJ3r5qlE1VkZPf53QkaytFcD544EUddn/y3xljrXtCTv76Qzk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716305121; c=relaxed/simple; bh=cc0fjWRFFphBQwHhQaUNjILnIxWVeltqv7KU0G6LDtY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nnit3/rGDKxpg7gj0jJn5wt6Nxfg3Cbp+pEM0uANiQttWjKWaob5FYxuKv5fxkuQd+IfnKxTumSFipdyMR28qh6Vgp7Lzif9L+EbHqfXK/Wv6knuMvkcLd3bU3G50w7d5/JXqGUaDVGff5OHnkrsRE2GTfPL8V2DPdY19PCn6uc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=OTlNbP8F; 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="OTlNbP8F" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 77306C32786; Tue, 21 May 2024 15:25:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716305120; bh=cc0fjWRFFphBQwHhQaUNjILnIxWVeltqv7KU0G6LDtY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=OTlNbP8FH+DbQvV8WgZTXZYoj1QJItn9Q1Cx5FtzyOXBYPMw7EWPOAex1SRqg5fe7 tlNoQCzKKq3PNibSBq5rzKD+ZYpm2UCXbnDBmr+qqVkc9qVZxQqruMqhPQsFsWvtSL gLTIdSFdKdQBGLXbH3lhsMxz7Xo8V8o5DmnqyoWY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52702: net: openvswitch: fix possible memory leak in ovs_meter_cmd_set() Date: Tue, 21 May 2024 17:23:00 +0200 Message-ID: <2024052156-CVE-2023-52702-ebca@gregkh> X-Mailer: git-send-email 2.45.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=2112; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=cc0fjWRFFphBQwHhQaUNjILnIxWVeltqv7KU0G6LDtY=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk+ewK+B5sX9B+MktIxmbqYp00rgO1Jddr3L/OEH4ovf 1iUFHewI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACby8h7DfG+GAwuXznwUv3iv 3i/P6ynRE+bu8GKYZ6PnM3nxD0PltmuTFdj3Lfqj/zjuMgA= 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: net: openvswitch: fix possible memory leak in ovs_meter_cmd_set() old_meter needs to be free after it is detached regardless of whether the new meter is successfully attached. The Linux kernel CVE team has assigned CVE-2023-52702 to this issue. Affected and fixed versions =========================== Issue introduced in 5.8 with commit c7c4c44c9a95 and fixed in 5.10.169 with commit c0f65ee0a332 Issue introduced in 5.8 with commit c7c4c44c9a95 and fixed in 5.15.95 with commit 1563e998a938 Issue introduced in 5.8 with commit c7c4c44c9a95 and fixed in 6.1.13 with commit e336a9e08618 Issue introduced in 5.8 with commit c7c4c44c9a95 and fixed in 6.2 with commit 2fa28f5c6fcb 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-2023-52702 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: net/openvswitch/meter.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/c0f65ee0a3329eb4b94beaef0268633696e2d0c6 https://git.kernel.org/stable/c/1563e998a938f095548054ef09e277b562b79536 https://git.kernel.org/stable/c/e336a9e08618203a456fb5367f1387b14554f55e https://git.kernel.org/stable/c/2fa28f5c6fcbfc794340684f36d2581b4f2d20b5