CVE-2026-68321: net: txgbe: fix FDIR filter leak on remove

Greg Kroah-Hartman <[email protected]>
Newsgroups org.kernel.vger.linux-cve-announce
Message-ID <2026081033-CVE-2026-68321-ca9c@gregkh>
From: Greg Kroah-Hartman <[email protected]>

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

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

net: txgbe: fix FDIR filter leak on remove

Perfect FDIR filters can be added while the interface is down and are
kept on the software list for later restore. unregister_netdev() only
calls ndo_stop when the device is up, so txgbe_fdir_filter_exit() in
txgbe_close() is skipped in that case and the filters are leaked on
driver remove. Free the filter list from txgbe_remove() as well.

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


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

	Issue introduced in 6.11 with commit 4bdb441105dcea40ac6e01756314c0fdf5173ce1 and fixed in 6.12.101 with commit 5c2f04258be2645cdd8f87553990948e7054e7fb
	Issue introduced in 6.11 with commit 4bdb441105dcea40ac6e01756314c0fdf5173ce1 and fixed in 6.18.42 with commit 2d34421bfa261f7e83bea2f2f75fa75e0c3037d1
	Issue introduced in 6.11 with commit 4bdb441105dcea40ac6e01756314c0fdf5173ce1 and fixed in 7.1.6 with commit 4946dea2386333e5d93bfb36df803fefb5a8c635
	Issue introduced in 6.11 with commit 4bdb441105dcea40ac6e01756314c0fdf5173ce1 and fixed in 7.2-rc5 with commit ecaa37826340520664a4e5522f803ff48fc3f564

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-68321
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/wangxun/txgbe/txgbe_main.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/5c2f04258be2645cdd8f87553990948e7054e7fb
	https://git.kernel.org/stable/c/2d34421bfa261f7e83bea2f2f75fa75e0c3037d1
	https://git.kernel.org/stable/c/4946dea2386333e5d93bfb36df803fefb5a8c635
	https://git.kernel.org/stable/c/ecaa37826340520664a4e5522f803ff48fc3f564
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.