You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
netfilter: nf_tables: fix GC transaction races with netns and netlink event exit path
jira VUlN-597
subsystem-sync netfilter:nf_tables 4.18.0-511
commit-author Pablo Neira Ayuso <[email protected]>
commit 6a33d8b
upstream-diff Due to previous code syncronizations much of this code was
already present. However, as the folks at netfilter are wont to do,
they mixed in space removing formatting changes with a patch that had
nothing to do with fixing formatting. :(
Branch 8_10 used as the source of truth.
Netlink event path is missing a synchronization point with GC
transactions. Add GC sequence number update to netns release path and
netlink event path, any GC transaction losing race will be discarded.
Fixes: 5f68718 ("netfilter: nf_tables: GC transaction API to avoid race with control plane")
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Signed-off-by: Florian Westphal <[email protected]>
(cherry picked from commit 6a33d8b)
Signed-off-by: Greg Rose <[email protected]>
0 commit comments