Skip to content

Commit e367197

Browse files
author
Paolo Abeni
committed
Merge tag 'nf-24-07-04' of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf
Pablo Neira Ayuso says: ==================== Netfilter fixes for net The following batch contains a oneliner patch to inconditionally flush workqueue containing stale objects to be released, syzbot managed to trigger UaF. Patch from Florian Westphal. netfilter pull request 24-07-04 * tag 'nf-24-07-04' of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf: netfilter: nf_tables: unconditionally flush pending work before notifier ==================== Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
2 parents 61cf1c7 + 9f6958b commit e367197

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

net/netfilter/nf_tables_api.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11483,8 +11483,7 @@ static int nft_rcv_nl_event(struct notifier_block *this, unsigned long event,
1148311483

1148411484
gc_seq = nft_gc_seq_begin(nft_net);
1148511485

11486-
if (!list_empty(&nf_tables_destroy_list))
11487-
nf_tables_trans_destroy_flush_work();
11486+
nf_tables_trans_destroy_flush_work();
1148811487
again:
1148911488
list_for_each_entry(table, &nft_net->tables, list) {
1149011489
if (nft_table_has_owner(table) &&

0 commit comments

Comments
 (0)