Skip to content

netfilter: updates for net

Florian Westphal netdev netfilter-devel 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3netfilter: bpf: defer hook memory release until rcu readers are donenet/netfilter/nf_bpf_link.c+1 -10 repliesApplied
2/3netfilter: nf_tables: release flowtable after rcu grace period on errornet/netfilter/nf_tables_api.c+1 -00 repliesApplied
3/3nfnetlink_osf: validate individual option lengths in fingerprintsnet/netfilter/nfnetlink_osf.c+13 -00 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/3] netfilter: updates for net

Hi,

The following patchset contains Netfilter fixes for *net*:

1) Fix UaF when netfilter bpf link goes away while nfnetlink dumps current hook list, we have to wait until rcu readers are gone.

2) Fix UaF when flowtable fails to register all devices, similar bug as 1). From Pablo Neira Ayuso.

3) nfnetlink_osf fails to properly validate option length fields. From Weiming Shi.

Please, pull these changes from:
The following changes since commit 7c46bd845d89ad4772573cfe0f2a56b93db75cc7:

Merge tag 'wireless-2026-03-18' of https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless (2026-03-18 19:25:41 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git tags/nf-26-03-19

for you to fetch changes up to dbdfaae9609629a9569362e3b8f33d0a20fd783c:

nfnetlink_osf: validate individual option lengths in fingerprints (2026-03-19 10:27:07 +0100)

----------------------------------------------------------------
netfilter pull request nf-26-03-19

----------------------------------------------------------------
Florian Westphal (1):
netfilter: bpf: defer hook memory release until rcu readers are done

Pablo Neira Ayuso (1):
netfilter: nf_tables: release flowtable after rcu grace period on error

Weiming Shi (1):
nfnetlink_osf: validate individual option lengths in fingerprints

 net/netfilter/nf_bpf_link.c   |  2 +-
 net/netfilter/nf_tables_api.c |  1 +
 net/netfilter/nfnetlink_osf.c | 13 +++++++++++++
 3 files changed, 15 insertions(+), 1 deletion(-)
Signature · 1 line
2.52.0