summaryrefslogtreecommitdiffstats
path: root/net/ipv6/addrlabel.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2022-10-26 09:52:36 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2022-11-01 12:19:46 +0100
commitd4bc8271db21ea9f1c86a1ca4d64999f184d4aae (patch)
tree7cdd7df055b2d65de78a0203aa68890f7d317418 /net/ipv6/addrlabel.c
parent363a5328f4b0517e59572118ccfb7c626d81dca9 (diff)
downloadlinux-stable-d4bc8271db21ea9f1c86a1ca4d64999f184d4aae.tar.gz
linux-stable-d4bc8271db21ea9f1c86a1ca4d64999f184d4aae.tar.bz2
linux-stable-d4bc8271db21ea9f1c86a1ca4d64999f184d4aae.zip
netfilter: nf_tables: netlink notifier might race to release objects
commit release path is invoked via call_rcu and it runs lockless to release the objects after rcu grace period. The netlink notifier handler might win race to remove objects that the transaction context is still referencing from the commit release path. Call rcu_barrier() to ensure pending rcu callbacks run to completion if the list of transactions to be destroyed is not empty. Fixes: 6001a930ce03 ("netfilter: nftables: introduce table ownership") Reported-by: syzbot+8f747f62763bc6c32916@syzkaller.appspotmail.com Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv6/addrlabel.c')
0 files changed, 0 insertions, 0 deletions