Commit 789fbe0
committed
netfilter: nf_tables: bail out on mismatching dynset and set expressions
jira VULN-683
cve CVE-2023-6622
commit-author Pablo Neira Ayuso <[email protected]>
commit 3701cd3
If dynset expressions provided by userspace is larger than the declared
set expressions, then bail out.
Fixes: 48b0ae0 ("netfilter: nftables: netlink support for several set element expressions")
Reported-by: Xingyuan Mo <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
(cherry picked from commit 3701cd3)
Signed-off-by: Greg Rose <[email protected]>1 parent 4b1bb03 commit 789fbe0
1 file changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
281 | 286 | | |
282 | 287 | | |
283 | 288 | | |
| |||
0 commit comments