Commit 3a5abd2
committed
netfilter: nft_set_pipapo: skip inactive elements during set walk
jira VULN-4132
cve CVE-2023-6817
commit-author Florian Westphal <[email protected]>
commit 317eb96
upstream-diff The change itself is the same as upstream, but there was
a minor conflict in code surrounding the change because
this kernel hasn't moved set element objects into the
transaction yet.
Otherwise set elements can be deactivated twice which will cause a crash.
Reported-by: Xingyuan Mo <[email protected]>
Fixes: 3c4287f ("nf_tables: Add set type for arbitrary concatenation of ranges")
Signed-off-by: Florian Westphal <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
(cherry picked from commit 317eb96)
Signed-off-by: Brett Mastbergen <[email protected]>1 parent 64795c6 commit 3a5abd2
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1874 | 1874 | | |
1875 | 1875 | | |
1876 | 1876 | | |
| 1877 | + | |
| 1878 | + | |
| 1879 | + | |
1877 | 1880 | | |
1878 | 1881 | | |
1879 | 1882 | | |
| |||
0 commit comments