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 0341B2153E8 for ; Wed, 26 Feb 2025 02:13:22 +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=1740536003; cv=none; b=ujdYdNZl1xDKpfBz/Ukbv6V4rvD4mv53cGgDuxOjGYIx1F08BIK92YLtBg6yn/JWx7F6zs5vuDavBXobpX4jcCqSMpqfPQGhrr1g225NxBYSckWsXP4ApOr32HGUyHWlH1QslGCf/wH0grCZHGHT5wsy2GqGzwwMEzc7wef2ozA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536003; c=relaxed/simple; bh=1nEX3XEE4A3+xgpyPwYTg3mIroQxhS4XiN4Du3zhxRg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=E/7IrvZJZzbgoMuW5Ps6hT3zEvXtHhKxhFqAZtA+Q18VggyvhRPlxLZJ0lK/Sp+5LP2/Nmt59EIyXkAaWjt3GPZSeQxXEyQhbn+nmspryPrKTQP2UbgKmcs+Xa8+9RMGuTdW4rPA0JE0AWdme4Ym6x7x8ZaezBQDA6lj2Ngul4s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=grMOe6kA; 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="grMOe6kA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CD05DC4CEDD; Wed, 26 Feb 2025 02:13:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536002; bh=1nEX3XEE4A3+xgpyPwYTg3mIroQxhS4XiN4Du3zhxRg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=grMOe6kAjjk4CWyz07NMe40H71qhiN13lhQ/SGdNarpsaICPuuAAw84dDtOSma9yL iG2jk3W1mOSqVy/nh7TvpQ0fKlbsXHr/TdkPO7mvnWrF8BL5pKipWQnDfuQ13WY2UX AO4PX817rVHxXMAyDhLdg8FKEu83tF+ynXi9RUv0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49358: netfilter: nf_tables: memleak flow rule from commit path Date: Wed, 26 Feb 2025 03:10:32 +0100 Message-ID: <2025022643-CVE-2022-49358-6cfd@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=2819; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1nEX3XEE4A3+xgpyPwYTg3mIroQxhS4XiN4Du3zhxRg=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7yl8YBL3+Olf33x+Ouwxu4aXZBmIPr4id3+B69OuM2 XMvSl3c0xHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATeXSWYcFim82FM0JeLVZc evjehpzjnyqs5i5lWLCN9xfP9HX+Rm8aF7+89FDTNOjmq9cA 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: netfilter: nf_tables: memleak flow rule from commit path Abort path release flow rule object, however, commit path does not. Update code to destroy these objects before releasing the transaction. The Linux kernel CVE team has assigned CVE-2022-49358 to this issue. Affected and fixed versions =========================== Issue introduced in 5.3 with commit c9626a2cbdb20e26587b3fad99960520a023432b and fixed in 5.4.198 with commit 5b8d63489c3b701eb2a76f848ec94d8cbc9373b9 Issue introduced in 5.3 with commit c9626a2cbdb20e26587b3fad99960520a023432b and fixed in 5.10.122 with commit 330c0c6cd2150a2d7f47af16aa590078b0d2f736 Issue introduced in 5.3 with commit c9626a2cbdb20e26587b3fad99960520a023432b and fixed in 5.15.47 with commit e33d9bd563e71f6c6528b96008d65524a459c4dc Issue introduced in 5.3 with commit c9626a2cbdb20e26587b3fad99960520a023432b and fixed in 5.17.15 with commit 80de9ea1f5b808a6601e91111fae601df2b26369 Issue introduced in 5.3 with commit c9626a2cbdb20e26587b3fad99960520a023432b and fixed in 5.18.4 with commit ab9f34a30c23f656e76f4c5b83125a4e7b53c86e Issue introduced in 5.3 with commit c9626a2cbdb20e26587b3fad99960520a023432b and fixed in 5.19 with commit 9dd732e0bdf538b1b76dc7c157e2b5e560ff30d3 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-49358 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/netfilter/nf_tables_api.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/5b8d63489c3b701eb2a76f848ec94d8cbc9373b9 https://git.kernel.org/stable/c/330c0c6cd2150a2d7f47af16aa590078b0d2f736 https://git.kernel.org/stable/c/e33d9bd563e71f6c6528b96008d65524a459c4dc https://git.kernel.org/stable/c/80de9ea1f5b808a6601e91111fae601df2b26369 https://git.kernel.org/stable/c/ab9f34a30c23f656e76f4c5b83125a4e7b53c86e https://git.kernel.org/stable/c/9dd732e0bdf538b1b76dc7c157e2b5e560ff30d3