Commit ad25f6d
committed
netfilter: nft_set_pipapo: skip inactive elements during set walk
jira VULN-6807
cve CVE-2023-6817
commit-author Florian Westphal <fw@strlen.de>
commit 317eb96
upstream-diff Additional newline because this kernel has not removed
the nft_set_elem_expired call yet
Otherwise set elements can be deactivated twice which will cause a crash.
Reported-by: Xingyuan Mo <hdthky0@gmail.com>
Fixes: 3c4287f ("nf_tables: Add set type for arbitrary concatenation of ranges")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
(cherry picked from commit 317eb96)
Signed-off-by: Brett Mastbergen <bmastbergen@ciq.com>1 parent d9e144d commit ad25f6d
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1870 | 1870 | | |
1871 | 1871 | | |
1872 | 1872 | | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
1873 | 1877 | | |
1874 | 1878 | | |
1875 | 1879 | | |
| |||
0 commit comments