diff options
author | Kumar Kartikeya Dwivedi <[email protected]> | 2021-12-14 07:18:00 +0530 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-12-14 15:28:15 +0100 |
commit | f7abc4c8df8c7930d0b9c56d9abee9a1fca635e9 (patch) | |
tree | 409ee29ece0bd82e9f67bdecf862d0afe5f1d1d1 /net/lapb/lapb_timer.c | |
parent | bd0687c18e635b63233dc87f38058cd728802ab4 (diff) |
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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions