diff options
author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2021-12-14 04:48:00 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-12-14 17:28:15 +0300 |
commit | f7abc4c8df8c7930d0b9c56d9abee9a1fca635e9 (patch) | |
tree | 409ee29ece0bd82e9f67bdecf862d0afe5f1d1d1 /lib/crc-t10dif.c | |
parent | bd0687c18e635b63233dc87f38058cd728802ab4 (diff) | |
download | linux-f7abc4c8df8c7930d0b9c56d9abee9a1fca635e9.tar.xz |
selftests/bpf: Fix OOB write in test_verifier
The commit referenced below added fixup_map_timer support (to create a
BPF map containing timers), but failed to increase the size of the
map_fds array, leading to out of bounds write. Fix this by changing
MAX_NR_MAPS to 22.
Fixes: e60e6962c503 ("selftests/bpf: Add tests for restricted helpers")
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20211214014800.78762-1-memxor@gmail.com
Diffstat (limited to 'lib/crc-t10dif.c')
0 files changed, 0 insertions, 0 deletions