In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: Fix potential data-race in __nftexprtypeget() nftunregister_expr() can concurrent with __nftexprtypeget(), and there is not any protection when iterate over nftables_expressions list in __nftexprtypeget(). Therefore, there is potential data-race of nftablesexpressions list entry. Use listforeachentryrcu() to iterate over nftables_expressions list in __nftexprtypeget(), and use rcureadlock() in the caller nftexprtypeget() to protect the entire type query process.