17 lines
338 B
Markdown
17 lines
338 B
Markdown
# Netfilter tables API heap buffer overflow
|
|
|
|
PoC of the exploitation of a heap buffer overflow in the linux kernel.
|
|
Available for Linux 5.18-rc3
|
|
The concerned function is `nft_add_set_elem` in `net/netfilter/nf_tables_api.c`
|
|
|
|
## Build
|
|
|
|
```sh
|
|
make
|
|
```
|
|
|
|
If you want a verbose version of this PoC, you can build it with
|
|
```sh
|
|
make debug
|
|
```
|