CVE-2026-43454: netfilter: nf_tables: Fix for duplicate device in netdev hooks
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nf_tables: Fix for duplicate device in netdev hooks
When handling NETDEV_REGISTER notification, duplicate device registration must be avoided since the device may have been added by nft_netdev_hook_alloc() already when creating the hook.
The Linux kernel CVE team has assigned CVE-2026-43454 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.16 with commit a331b78a552551d0e404e58e6390b1c828d6af8f and fixed in 6.18.19 with commit 6d2a95c6890577cc3eab2b20018e16850d7fb094 Issue introduced in 6.16 with commit a331b78a552551d0e404e58e6390b1c828d6af8f and fixed in 6.19.9 with commit 2041cdb078041611510fc189410bc70b29f688fb Issue introduced in 6.16 with commit a331b78a552551d0e404e58e6390b1c828d6af8f and fixed in 7.0 with commit b7cdc5a97d02c943f4bdde4d5767ad0c13cad92b
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-43454
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/nf_tables_api.c
net/netfilter/nft_chain_filter.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/6d2a95c6890577cc3eab2b20018e16850d7fb094 https://git.kernel.org/stable/c/2041cdb078041611510fc189410bc70b29f688fb https://git.kernel.org/stable/c/b7cdc5a97d02c943f4bdde4d5767ad0c13cad92b