title: netfilter: nft_set_pipapo: release elements in clone only from destroy path
description: In the Linux kernel, the following vulnerability has been resolved:
netfilter: nft_set_pipapo: release elements in clone only from destroy path
Clone already always provides a current view of the lookup table, use it
to destroy the set, otherwise it is possible to destroy elements twice.
This fix requires:
212ed75dc5fb ("netfilter: nf_tables: integrate pipapo into commit protocol")
which came after:
9827a0e6e23b ("netfilter: nft_set_pipapo: release elements in clone from abort path").
affected:
{
product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 4a6430b99f67, lessThan: b36b83297ff4, status: affected, versionType: git
version: 5ccecafc728b, lessThan: 362508506bf5, status: affected, versionType: git
version: 9827a0e6e23b, lessThan: 5ad233dc731a, status: affected, versionType: git
version: 9827a0e6e23b, lessThan: ff9005077141, status: affected, versionType: git
version: 9827a0e6e23b, lessThan: 821e28d5b506, status: affected, versionType: git
version: 9827a0e6e23b, lessThan: 9384b4d85c46, status: affected, versionType: git
version: 9827a0e6e23b, lessThan: b0e256f3dd2b, status: affected, versionType: git
}
{
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 5.19, status: affected
version: 0, lessThan: 5.19, status: unaffected, versionType: custom
version: 5.10.214, lessThanOrEqual: 5.10.*, status: unaffected, versionType: custom
version: 5.15.153, lessThanOrEqual: 5.15.*, status: unaffected, versionType: custom
version: 6.1.83, lessThanOrEqual: 6.1.*, status: unaffected, versionType: custom
version: 6.6.23, lessThanOrEqual: 6.6.*, status: unaffected, versionType: custom
version: 6.7.11, lessThanOrEqual: 6.7.*, status: unaffected, versionType: custom
version: 6.8.2, lessThanOrEqual: 6.8.*, status: unaffected, versionType: custom
version: 6.9-rc1, lessThanOrEqual: *, status: unaffected, versionType: original_commit_for_fix
}
