Skip to contentSkip to conversation

CVE-2026-97981: net: ethernet: cortina: Count dropped frames as NAPI work

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 25

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

net: ethernet: cortina: Count dropped frames as NAPI work

The RX loop only consumes budget when it successfully delivers a frame. Error paths keep consuming descriptors without reducing the budget, so a stream of bad frames can process the entire receive ring in one poll.

Move the budget accounting to a common end-of-frame path. This counts each completed frame as NAPI work whether it was delivered or dropped, matching the behavior of the vendor driver.

The Linux kernel CVE team has assigned CVE-2026-97981 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 4.16 with commit 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 and fixed in 6.12.111 with commit 58140f1cebb776d174dc6ff41c15401654a5b1ea
	Issue introduced in 4.16 with commit 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 and fixed in 6.18.53 with commit cceb6cd7f0e5ed2944a9ca22443d7b9da82f60ab
	Issue introduced in 4.16 with commit 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 and fixed in 7.2.7 with commit 5754e0c0758805096ecfeaf4c1b146ad51ed246f
	Issue introduced in 4.16 with commit 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 and fixed in 7.3-rc3 with commit b856c552f556bc0341c1dbe0bf88e630fd1dc4b7

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-97981

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/cortina/gemini.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/58140f1cebb776d174dc6ff41c15401654a5b1ea
	https://git.kernel.org/stable/c/cceb6cd7f0e5ed2944a9ca22443d7b9da82f60ab
	https://git.kernel.org/stable/c/5754e0c0758805096ecfeaf4c1b146ad51ed246f
	https://git.kernel.org/stable/c/b856c552f556bc0341c1dbe0bf88e630fd1dc4b7