Commit 1b3a51c
committed
netfilter: nf_tables: remove catchall element in GC sync path
cve CVE-2023-6111
commit-author Pablo Neira Ayuso <[email protected]>
commit 93995bf
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 <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
(cherry picked from commit 93995bf)
Signed-off-by: Marcin Wcisło <[email protected]>1 parent a35dbfa commit 1b3a51c
1 file changed
+21
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6223 | 6223 | | |
6224 | 6224 | | |
6225 | 6225 | | |
| 6226 | + | |
| 6227 | + | |
| 6228 | + | |
| 6229 | + | |
| 6230 | + | |
| 6231 | + | |
6226 | 6232 | | |
6227 | 6233 | | |
6228 | 6234 | | |
| |||
6231 | 6237 | | |
6232 | 6238 | | |
6233 | 6239 | | |
6234 | | - | |
6235 | | - | |
| 6240 | + | |
6236 | 6241 | | |
6237 | 6242 | | |
6238 | 6243 | | |
| |||
9295 | 9300 | | |
9296 | 9301 | | |
9297 | 9302 | | |
9298 | | - | |
| 9303 | + | |
9299 | 9304 | | |
| 9305 | + | |
9300 | 9306 | | |
9301 | 9307 | | |
9302 | | - | |
| 9308 | + | |
9303 | 9309 | | |
9304 | 9310 | | |
9305 | 9311 | | |
| |||
9317 | 9323 | | |
9318 | 9324 | | |
9319 | 9325 | | |
9320 | | - | |
| 9326 | + | |
| 9327 | + | |
| 9328 | + | |
| 9329 | + | |
| 9330 | + | |
| 9331 | + | |
| 9332 | + | |
| 9333 | + | |
| 9334 | + | |
| 9335 | + | |
| 9336 | + | |
9321 | 9337 | | |
9322 | 9338 | | |
9323 | 9339 | | |
| |||
0 commit comments