aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorThadeu Lima de Souza Cascardo <[email protected]>2021-04-27 10:12:12 -0300
committerDaniel Borkmann <[email protected]>2021-05-11 13:30:45 +0200
commit4b81ccebaeee885ab1aa1438133f2991e3a2b6ea (patch)
treed6a39026c5a8218d08d1038b967088eaf597d088 /scripts/gdb/linux/timerlist.py
parent049c4e13714ecbca567b4d5f6d563f05d431c80e (diff)
bpf, ringbuf: Deny reserve of buffers larger than ringbuf
A BPF program might try to reserve a buffer larger than the ringbuf size. If the consumer pointer is way ahead of the producer, that would be successfully reserved, allowing the BPF program to read or write out of the ringbuf allocated area. Reported-by: Ryota Shiga (Flatt Security) Fixes: 457f44363a88 ("bpf: Implement BPF ring buffer and verifier support for it") Signed-off-by: Thadeu Lima de Souza Cascardo <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Acked-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions