Skip to contentSkip to conversation

CVE-2026-72416: netfilter: nft_compat: ebtables emulation must reject non-bridge targets

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 15

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: nft_compat: ebtables emulation must reject non-bridge targets

xtables targets return netfilter verdicts: NF_ACCEPT, NF_DROP, and so on. ebtables targets return incompatible verdicts: EBT_ACCEPT,
EBT_DROP, ... We cannot allow fallback to NFPROTO_UNSPEC.

ebtables doesn't permit this since
11ff7288beb2 ("netfilter: ebtables: reject non-bridge targets") but that commit missed the nft_compat layer.

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

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

	Issue introduced in 3.13 with commit 0ca743a5599199152a31a7146b83213c786c2eb2 and fixed in 6.6.145 with commit efc17b9240d821c424bc5191a5c6e9384a06293e
	Issue introduced in 3.13 with commit 0ca743a5599199152a31a7146b83213c786c2eb2 and fixed in 6.12.97 with commit b3f7a84540a0d014ec42343ff5909657c1bd1994
	Issue introduced in 3.13 with commit 0ca743a5599199152a31a7146b83213c786c2eb2 and fixed in 6.18.40 with commit 33e1875d6b5b552a2e5652b40074c604199354ee
	Issue introduced in 3.13 with commit 0ca743a5599199152a31a7146b83213c786c2eb2 and fixed in 7.1.5 with commit c129b0185e707dce405968e21afccd5728b2ce63
	Issue introduced in 3.13 with commit 0ca743a5599199152a31a7146b83213c786c2eb2 and fixed in 7.2-rc1 with commit 9dbba7e694ec045f21ede2f892fb42b81b4e1692

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

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/nft_compat.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/efc17b9240d821c424bc5191a5c6e9384a06293e
	https://git.kernel.org/stable/c/b3f7a84540a0d014ec42343ff5909657c1bd1994
	https://git.kernel.org/stable/c/33e1875d6b5b552a2e5652b40074c604199354ee
	https://git.kernel.org/stable/c/c129b0185e707dce405968e21afccd5728b2ce63
	https://git.kernel.org/stable/c/9dbba7e694ec045f21ede2f892fb42b81b4e1692