Commit 6e1acfa
committed
netfilter: nf_tables: validate registers coming from userspace.
Bail out in case userspace uses unsupported registers.
Fixes: 49499c3 ("netfilter: nf_tables: switch registers to 32 bit addressing")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>1 parent 0492d85 commit 6e1acfa
1 file changed
Lines changed: 17 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9275 | 9275 | | |
9276 | 9276 | | |
9277 | 9277 | | |
9278 | | - | |
| 9278 | + | |
9279 | 9279 | | |
9280 | 9280 | | |
9281 | 9281 | | |
9282 | 9282 | | |
9283 | 9283 | | |
9284 | 9284 | | |
9285 | | - | |
| 9285 | + | |
| 9286 | + | |
| 9287 | + | |
| 9288 | + | |
| 9289 | + | |
9286 | 9290 | | |
9287 | | - | |
| 9291 | + | |
9288 | 9292 | | |
| 9293 | + | |
| 9294 | + | |
9289 | 9295 | | |
9290 | 9296 | | |
9291 | 9297 | | |
| |||
9327 | 9333 | | |
9328 | 9334 | | |
9329 | 9335 | | |
9330 | | - | |
| 9336 | + | |
| 9337 | + | |
| 9338 | + | |
| 9339 | + | |
9331 | 9340 | | |
9332 | 9341 | | |
9333 | 9342 | | |
| |||
9382 | 9391 | | |
9383 | 9392 | | |
9384 | 9393 | | |
9385 | | - | |
| 9394 | + | |
| 9395 | + | |
| 9396 | + | |
| 9397 | + | |
9386 | 9398 | | |
9387 | 9399 | | |
9388 | 9400 | | |
| |||
0 commit comments