Commit fd5ce20
committed
netfilter: nf_tables: remove catchall element in GC sync path
subsystem-update netfilter: centos-stream-9 cfd9694
cve CVE-2023-6111
commit-author Pablo Neira Ayuso <pablo@netfilter.org>
commit 93995bf
upstream-diff Used the cleanly applying 9.4 backport
54e39cc
The expired catchall element is not deactivated and removed from GC sync
path. This path holds mutex so just call nft_setelem_data_deactivate()
and nft_setelem_catchall_remove() before queueing the GC work.
Fixes: 4a9e12e ("netfilter: nft_set_pipapo: call nft_trans_gc_queue_sync() in catchall GC")
Reported-by: lonial con <kongln9170@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
(cherry picked from commit 93995bf)
Signed-off-by: Marcin Wcisło <marcin.wcislo@conclusive.pl>1 parent 667c97b commit fd5ce20
1 file changed
+21
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6168 | 6168 | | |
6169 | 6169 | | |
6170 | 6170 | | |
| 6171 | + | |
| 6172 | + | |
| 6173 | + | |
| 6174 | + | |
| 6175 | + | |
| 6176 | + | |
6171 | 6177 | | |
6172 | 6178 | | |
6173 | 6179 | | |
| |||
6176 | 6182 | | |
6177 | 6183 | | |
6178 | 6184 | | |
6179 | | - | |
6180 | | - | |
| 6185 | + | |
6181 | 6186 | | |
6182 | 6187 | | |
6183 | 6188 | | |
| |||
9163 | 9168 | | |
9164 | 9169 | | |
9165 | 9170 | | |
9166 | | - | |
| 9171 | + | |
9167 | 9172 | | |
| 9173 | + | |
9168 | 9174 | | |
9169 | 9175 | | |
9170 | | - | |
| 9176 | + | |
9171 | 9177 | | |
9172 | 9178 | | |
9173 | 9179 | | |
| |||
9185 | 9191 | | |
9186 | 9192 | | |
9187 | 9193 | | |
9188 | | - | |
| 9194 | + | |
| 9195 | + | |
| 9196 | + | |
| 9197 | + | |
| 9198 | + | |
| 9199 | + | |
| 9200 | + | |
| 9201 | + | |
| 9202 | + | |
| 9203 | + | |
| 9204 | + | |
9189 | 9205 | | |
9190 | 9206 | | |
9191 | 9207 | | |
| |||
0 commit comments