Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 41259495034 for ; Fri, 25 Sep 2026 10:33:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332415; cv=none; b=tSQ0SJmQDmlZY0cuWn/KxcIF+CG3K2gfACdeRkFBSrMj423BeGroj6eQNKkBIZiTI+HuXQ/89XDMC/ZYrJ34rsHGBIGcCoJvWCpNz+R1n0OMVgjFYpXXUYDqir/wNjCoydkFWqiBe1OKXyLgXD1luSm2EzFEV+VIshqwG0BjXgo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332415; c=relaxed/simple; bh=kUU0mpvGDU0HJwKG4MX7PEboyASkYvaiSjP6fqwpfUg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rgdRNhZfNiG9+Y4Fi/ctxj1nWImUiWsrei1xOqH2aiPOcOaqIIYwfS+3W9gvl8MpvFgIvjh4JJBeI9rkcmRFxc7r6cskm5Hvw/OPAgT4sWxiARLWmAbBzmq7i09TkaihHjRizoVhUrC0VjBoUi0Q8ip7hM82Z79n/9/78lMoUlI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ApUfJ5gF; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ApUfJ5gF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9CC191F000FF; Fri, 25 Sep 2026 10:33:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332414; bh=p/UlzbepkOdd3060mGvKpHR+py+H6SzoIKnbajjsZN4=; h=From:To:Cc:Subject:Date:Reply-To; b=ApUfJ5gFaM5K9Hdu5qo47FsqOMce5MjF2H5mKixHh45hoqPrcYfFYp3Db9MhW1d9O vT7OL/7nznrFYcTxK1JbcY5EdIn/qEt1YmDDI4tCW5ybsmPEfa+fZuNSLHGuNYc94T xrQJEzW1vwRpQq6t1uW/5q2i8fyM/MEq9AGZm3gg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98028: eth: nfp: drop the replaced rule from the list when reprogramming fails Date: Fri, 25 Sep 2026 12:25:30 +0200 Message-ID: <2026092528-CVE-2026-98028-0f2f@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2938; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rHzGfk5dNSHx4ZhFbOdk1YuDduXEhyot09mvnMwBnhE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvFMYVlfk/zAXj5Znqs76l9DxoufbpAyh/DUvvyrMO HnryETtjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE9gQLk4BmMh2DYZ5doUNeg9kw9Ndtdsy p5jK71myfe91hvkeZef/zuN7duFz9+djv6cf+S29/EonAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: eth: nfp: drop the replaced rule from the list when reprogramming fails nfp_net_fs_add() replaces an existing rule by deleting it from the hardware, decrementing nn->fs.count and programming the new one. If nfp_net_fs_add_hw() fails the old entry stays on nn->fs.list - only the success path reaches list_replace() - so the list is one longer than nn->fs.count, and it advertises a rule whose hardware entry has already been torn down. nn->fs.count is what ETHTOOL_GRXCLSRLCNT reports, so userspace then sizes its buffer one entry short of what the GRXCLSRLALL walk wants to write. That used to overwrite one u32 past the allocation; since the walk is bounded it is a permanent -EMSGSIZE instead, as nothing ever resyncs the counter. The Linux kernel CVE team has assigned CVE-2026-98028 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit 9eb03bb1c035ff6e2c3a34046419446588253dda and fixed in 6.12.111 with commit 603b70093f729f52a37544b48679903cad834856 Issue introduced in 6.8 with commit 9eb03bb1c035ff6e2c3a34046419446588253dda and fixed in 6.18.53 with commit edaec279f59f801a05b751df475ed71a0a68c88a Issue introduced in 6.8 with commit 9eb03bb1c035ff6e2c3a34046419446588253dda and fixed in 7.2.7 with commit 552e528a7d85cbe088b2ae4f78194713975b46cf Issue introduced in 6.8 with commit 9eb03bb1c035ff6e2c3a34046419446588253dda and fixed in 7.3-rc3 with commit 108bb2142e3a12c9ad625ad662973127a113ddc6 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-2026-98028 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/netronome/nfp/nfp_net_ethtool.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/603b70093f729f52a37544b48679903cad834856 https://git.kernel.org/stable/c/edaec279f59f801a05b751df475ed71a0a68c88a https://git.kernel.org/stable/c/552e528a7d85cbe088b2ae4f78194713975b46cf https://git.kernel.org/stable/c/108bb2142e3a12c9ad625ad662973127a113ddc6