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 14C432139D3 for ; Wed, 26 Feb 2025 02:00:39 +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=1740535239; cv=none; b=Qsl2QETDewNxnkazvIuG+KWKF6f8z+4mIsISc8l0H1Sx6tI02iEZ/OEe4tA2Vku0knT2wnzUieCbn3/JP5DrMUmqSdSRmCc/1LO30v8mNXTQQ2aYQjhxFZw6g0qeVRq2HTetg6PiLNi+DTKnsktwX85vyhJiu/0wC6sC49OLMj4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535239; c=relaxed/simple; bh=497VV2QL3dv2HoFuyghTO1m+cdH49V0RPcWHRCvLIME=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=k7Z5Wg5Jk0qUsSrb1h5FXUBp5vsZaIO6b5Vv8P10iQF9V3/H9bHG5A7RvQzy0H6MtzWV8xdAzIyDXxIBgMkD4Qg/6Llts+ztEGNmAJMkhZ7BXgdmG3mIYNXGbm4yxuKMSUHwdBJjbdEXGpmcDOMiaCv83p8EjmU2F5IH7PufcoA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FbPQH4Il; 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="FbPQH4Il" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DA4ADC4CEDD; Wed, 26 Feb 2025 02:00:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740535239; bh=497VV2QL3dv2HoFuyghTO1m+cdH49V0RPcWHRCvLIME=; h=From:To:Cc:Subject:Date:Reply-to:From; b=FbPQH4IlDX5nt894PqD0vJlMcxXldoYdOk7gnBfzkGD/ckbJxiLK11cxuxFlP9WT1 x6Oq52xCv62/NXK20YD7VKFen+Rk7pnOiLjt2PJsTz6zA/TbQAp76BfOXcHg1jN1hy xau5xzZkyoNGA2f5QCMQxZQVhM56lnlUkgQgvbLI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49293: netfilter: nf_tables: initialize registers in nft_do_chain() Date: Wed, 26 Feb 2025 02:58:18 +0100 Message-ID: <2025022634-CVE-2022-49293-15b7@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=3436; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=497VV2QL3dv2HoFuyghTO1m+cdH49V0RPcWHRCvLIME=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7SqKmanrEu/bZ77ZZ+eJ3R96+P+GmS3iC+lp29ptnp j0scV3SEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABMpcGRYsNL7urHuvS+rjbR6 z15T1GbPnzCrlmF+eR+zQEt+xouV6xeLbNgj+v1coWstAA== 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: initialize registers in nft_do_chain() Initialize registers to avoid stack leak into userspace. The Linux kernel CVE team has assigned CVE-2022-49293 to this issue. Affected and fixed versions =========================== Issue introduced in 3.13 with commit 96518518cc417bb0a8c80b9fb736202e28acdf96 and fixed in 4.9.309 with commit 4d28522acd1c4415c85f6b33463713a268f68965 Issue introduced in 3.13 with commit 96518518cc417bb0a8c80b9fb736202e28acdf96 and fixed in 4.14.274 with commit a3cc32863b175168283cb0a5fde08de6a1e27df9 Issue introduced in 3.13 with commit 96518518cc417bb0a8c80b9fb736202e28acdf96 and fixed in 4.19.237 with commit 88791b79a1eb2ba94e95d039243e28433583a67b Issue introduced in 3.13 with commit 96518518cc417bb0a8c80b9fb736202e28acdf96 and fixed in 5.4.188 with commit 06f0ff82c70241a766a811ae1acf07d6e2734dcb Issue introduced in 3.13 with commit 96518518cc417bb0a8c80b9fb736202e28acdf96 and fixed in 5.10.109 with commit 2c74374c2e88c7b7992bf808d9f9391f7452f9d9 Issue introduced in 3.13 with commit 96518518cc417bb0a8c80b9fb736202e28acdf96 and fixed in 5.15.32 with commit fafb904156fbb8f1dd34970cd5223e00b47c33be Issue introduced in 3.13 with commit 96518518cc417bb0a8c80b9fb736202e28acdf96 and fixed in 5.16.18 with commit 64f24c76dd0ce53d0fa3a0bfb9aeea507c769485 Issue introduced in 3.13 with commit 96518518cc417bb0a8c80b9fb736202e28acdf96 and fixed in 5.17.1 with commit dd03640529204ef4b8189fbdea08217d8d98271f Issue introduced in 3.13 with commit 96518518cc417bb0a8c80b9fb736202e28acdf96 and fixed in 5.18 with commit 4c905f6740a365464e91467aa50916555b28213d 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-49293 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_core.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/4d28522acd1c4415c85f6b33463713a268f68965 https://git.kernel.org/stable/c/a3cc32863b175168283cb0a5fde08de6a1e27df9 https://git.kernel.org/stable/c/88791b79a1eb2ba94e95d039243e28433583a67b https://git.kernel.org/stable/c/06f0ff82c70241a766a811ae1acf07d6e2734dcb https://git.kernel.org/stable/c/2c74374c2e88c7b7992bf808d9f9391f7452f9d9 https://git.kernel.org/stable/c/fafb904156fbb8f1dd34970cd5223e00b47c33be https://git.kernel.org/stable/c/64f24c76dd0ce53d0fa3a0bfb9aeea507c769485 https://git.kernel.org/stable/c/dd03640529204ef4b8189fbdea08217d8d98271f https://git.kernel.org/stable/c/4c905f6740a365464e91467aa50916555b28213d