Skip to contentSkip to conversation

CVE-2026-53001: netfilter: xtables: restrict several matches to inet family

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 24

lore
Share & tools
lore
#0 lore raw

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

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

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

netfilter: xtables: restrict several matches to inet family

This is a partial revert of:

commit ab4f21e6fb1c ("netfilter: xtables: use NFPROTO_UNSPEC in more extensions")

to allow ipv4 and ipv6 only.

- xt_mac
- xt_owner
- xt_physdev

These extensions are not used by ebtables in userspace.

Moreover, xt_realm is only for ipv4, since dst->tclassid is ipv4 specific.

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

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

	Issue introduced in 2.6.28 with commit ab4f21e6fb1c09b13c4c3cb8357babe8223471bd and fixed in 5.10.258 with commit 14203f9edf944b3fb63faadd62f38452421ecdfc
	Issue introduced in 2.6.28 with commit ab4f21e6fb1c09b13c4c3cb8357babe8223471bd and fixed in 5.15.209 with commit 7eaf9c740f33230cb224dc265f3c69f8531ff57b
	Issue introduced in 2.6.28 with commit ab4f21e6fb1c09b13c4c3cb8357babe8223471bd and fixed in 6.1.175 with commit 9a109751b297b0f2135495749ef5a18ba31ec7d4
	Issue introduced in 2.6.28 with commit ab4f21e6fb1c09b13c4c3cb8357babe8223471bd and fixed in 6.6.141 with commit cbeb259f31382de70a70a59ffd0e66f5e80d9818
	Issue introduced in 2.6.28 with commit ab4f21e6fb1c09b13c4c3cb8357babe8223471bd and fixed in 6.12.91 with commit 689a91ff18d6448d94c1ab7c076fecdb2b668bef
	Issue introduced in 2.6.28 with commit ab4f21e6fb1c09b13c4c3cb8357babe8223471bd and fixed in 6.18.33 with commit 76160e04440c9698b989dbd9492a7ec4f520c9ee
	Issue introduced in 2.6.28 with commit ab4f21e6fb1c09b13c4c3cb8357babe8223471bd and fixed in 7.0.10 with commit fa88161ef56e29bdaa05cc89dbc4ee221e94bfe9
	Issue introduced in 2.6.28 with commit ab4f21e6fb1c09b13c4c3cb8357babe8223471bd and fixed in 7.1 with commit b6fe26f86a1649f84e057f3f15605b08eda15497

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

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/xt_mac.c
net/netfilter/xt_owner.c
net/netfilter/xt_physdev.c
net/netfilter/xt_realm.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/14203f9edf944b3fb63faadd62f38452421ecdfc
	https://git.kernel.org/stable/c/7eaf9c740f33230cb224dc265f3c69f8531ff57b
	https://git.kernel.org/stable/c/9a109751b297b0f2135495749ef5a18ba31ec7d4
	https://git.kernel.org/stable/c/cbeb259f31382de70a70a59ffd0e66f5e80d9818
	https://git.kernel.org/stable/c/689a91ff18d6448d94c1ab7c076fecdb2b668bef
	https://git.kernel.org/stable/c/76160e04440c9698b989dbd9492a7ec4f520c9ee
	https://git.kernel.org/stable/c/fa88161ef56e29bdaa05cc89dbc4ee221e94bfe9
	https://git.kernel.org/stable/c/b6fe26f86a1649f84e057f3f15605b08eda15497