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 6D225146A79 for ; Sat, 17 Aug 2024 09:13:05 +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=1723885985; cv=none; b=ZJ+gw60zGCPCKl+RjsO0KgTirsxmeOkp4pqaYoZrSd4xejkX5uncQJfkESEypcpRe+rlKdXzRln9EFfnD5J7NTvZhUGGQMEtPgFik6HGlPjFl5H/OPsTPeiDQDh51DmfC0cjlBTbmYdQTGsqzxD0gRcl3gzB9lRifJ6Pmc5yuao= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723885985; c=relaxed/simple; bh=gbSuPPxLbIrq/pWeiyBEJjcU30imCVtna4rrsKgzPHw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=iMozp119YQZFdZEW7vlQVkrZfGJDTeGeSiHE5Qcf5j62jpX9HzmYzhzsFwIIgtMfr8wJvV+7hFJr3xeLKxckNwOtRqWY1TmLKp5yq0EQPhPvf4IVqTpE8p50bC6nH1ibdy7DD3O/OLxQ8rWO6A6+24IrT9sZmUDh3iM/7QbdZAQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QuSPLAtp; 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="QuSPLAtp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E6A05C116B1; Sat, 17 Aug 2024 09:13:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1723885985; bh=gbSuPPxLbIrq/pWeiyBEJjcU30imCVtna4rrsKgzPHw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=QuSPLAtpI+D1/p+jui5aZzFlHW5zRniQuuSJQfG+FCckqi8LFUKOoNbGBjHCZx/aO EVHF+rBRjGm32mdRj7BRhZHDEvywIwE5V6QOyjDgSQ48Kyf8MjX4scrf8FoHEQ8bH+ QrhHXhed5IYZ8C0eRHHoiUvw3qf0vir5q6+sXWD4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-42291: ice: Add a per-VF limit on number of FDIR filters Date: Sat, 17 Aug 2024 11:09:56 +0200 Message-ID: <2024081746-CVE-2024-42291-6f31@gregkh> X-Mailer: git-send-email 2.46.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=2391; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=gbSuPPxLbIrq/pWeiyBEJjcU30imCVtna4rrsKgzPHw=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkHMm4V3m0V/nyw4kzp72silsyXTuYHJKbaKK3Kb424F Gn9MMGsI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYi8ZRhntqOwAzT8/evC2ct 2ZYpl7ymzsQlmGG+L6/Q7KWmjrvtixxZvs/3NVj4f/53AA== 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: ice: Add a per-VF limit on number of FDIR filters While the iavf driver adds a s/w limit (128) on the number of FDIR filters that the VF can request, a malicious VF driver can request more than that and exhaust the resources for other VFs. Add a similar limit in ice. The Linux kernel CVE team has assigned CVE-2024-42291 to this issue. Affected and fixed versions =========================== Issue introduced in 5.13 with commit 1f7ea1cd6a37 and fixed in 6.1.103 with commit 8e02cd98a6e2 Issue introduced in 5.13 with commit 1f7ea1cd6a37 and fixed in 6.6.44 with commit d62389073a5b Issue introduced in 5.13 with commit 1f7ea1cd6a37 and fixed in 6.10.3 with commit 292081c4e7f5 Issue introduced in 5.13 with commit 1f7ea1cd6a37 and fixed in 6.11-rc1 with commit 6ebbe97a4881 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-42291 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/net/ethernet/intel/ice/ice_ethtool_fdir.c drivers/net/ethernet/intel/ice/ice_fdir.h drivers/net/ethernet/intel/ice/ice_virtchnl_fdir.c drivers/net/ethernet/intel/ice/ice_virtchnl_fdir.h 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/8e02cd98a6e24389d476e28436d41e620ed8e559 https://git.kernel.org/stable/c/d62389073a5b937413e2d1bc1da06ccff5103c0c https://git.kernel.org/stable/c/292081c4e7f575a79017d5cbe1a0ec042783976f https://git.kernel.org/stable/c/6ebbe97a488179f5dc85f2f1e0c89b486e99ee97