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 BD36521A0A for ; Tue, 2 Apr 2024 06:43:46 +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=1712040226; cv=none; b=gV2hoaGqxjvJcSekL968OZaq0mu1mCH9Olu0wGzIyA+2KL8Crysow5Xo2QmwK2K5DYihkUWV/iDzMXAezlRuvHHyBpAwUAQMEf9lanlHp+iBDjmnPpoT0o1rfg/1WAwCmHdzoqvbrEh1FLwwlyHYdyx7qkoCbhHY3BdKndITOIU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712040226; c=relaxed/simple; bh=Fn75ei5mh31nntAE4EtbnjUvGFra/wl6K8qkBD3Jlgk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Wsrgnu7YdeG8r+Q758jy0dwfvfCPGRJFVJWEBWQISMj3FK/dQ2YUFHE3niLFyW38616fZl1Mt9TE7wR8z8BP0A/5aQqn5ZZrYTLQ6DwrdsEXQHDJDcVD1zqx/azdP2bqD1d0EEiJmPS6WJtLDdlN5ESkuYdA7Gq9KBvhX2h1KHM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SodeKE83; 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="SodeKE83" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6570EC433C7; Tue, 2 Apr 2024 06:43:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712040225; bh=Fn75ei5mh31nntAE4EtbnjUvGFra/wl6K8qkBD3Jlgk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=SodeKE83ThNfG5t3mdxpu1xmHD+M+K3Hsq0Eezxwg/xu4O4/kvMc0TR7vBX9/iWin XYsfRpAm621qHvnF3aTdIx+RYZvZClrYg/D6X9+9/bf1VrtDxXDBuGDY/cuhh2itLv Okhazx5+zhIZz+hJfm0TS7jYQeccnsPJtFYR56+E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26668: netfilter: nft_limit: reject configurations that cause integer overflow Date: Tue, 2 Apr 2024 08:43:36 +0200 Message-ID: <2024040235-CVE-2024-26668-636e@gregkh> X-Mailer: git-send-email 2.44.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=2379; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Fn75ei5mh31nntAE4EtbnjUvGFra/wl6K8qkBD3Jlgk=; b=owGbwMvMwCRo6H6F97bub03G02pJDGncK8VPZukcXtLE7Lq4Y8KNR7Xpu/ZYP+J68aewzeH36 V2CJVr6HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRDmeGeVoMt5StBSpZ9uZM fR2+uOu/RUlIB8N8d7MPFm5/9/6pnua/uiTU5ZT74+8HAQ== 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: nft_limit: reject configurations that cause integer overflow Reject bogus configs where internal token counter wraps around. This only occurs with very very large requests, such as 17gbyte/s. Its better to reject this rather than having incorrect ratelimit. The Linux kernel CVE team has assigned CVE-2024-26668 to this issue. Affected and fixed versions =========================== Issue introduced in 4.3 with commit d2168e849ebf and fixed in 5.15.149 with commit 79d4efd75e7d Issue introduced in 4.3 with commit d2168e849ebf and fixed in 6.1.76 with commit bc6e242bb74e Issue introduced in 4.3 with commit d2168e849ebf and fixed in 6.6.15 with commit 9882495d02ec Issue introduced in 4.3 with commit d2168e849ebf and fixed in 6.7.3 with commit 00c2c29aa36d Issue introduced in 4.3 with commit d2168e849ebf and fixed in 6.8 with commit c9d9eb9c53d3 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-2024-26668 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/nft_limit.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/79d4efd75e7dbecd855a3b8a63e65f7265f466e1 https://git.kernel.org/stable/c/bc6e242bb74e2ae616bfd2b250682b738e781c9b https://git.kernel.org/stable/c/9882495d02ecc490604f747437a40626dc9160d0 https://git.kernel.org/stable/c/00c2c29aa36d1d1827c51a3720e9f893a22c7c6a https://git.kernel.org/stable/c/c9d9eb9c53d37cdebbad56b91e40baf42d5a97aa