aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2018-12-03 22:46:04 -0800
committerDaniel Borkmann <[email protected]>2018-12-04 17:22:02 +0100
commitc3494801cd1785e2c25f1a5735fa19ddcf9665da (patch)
treef3bedbb2deb12948d7765aaac8f4a2e8000fdd73 /scripts/gdb/linux/utils.py
parent025dceb0fab31c912c41b8f32577432231d83e6b (diff)
bpf: check pending signals while verifying programs
Malicious user space may try to force the verifier to use as much cpu time and memory as possible. Hence check for pending signals while verifying the program. Note that suspend of sys_bpf(PROG_LOAD) syscall will lead to EAGAIN, since the kernel has to release the resources used for program verification. Reported-by: Anatoly Trosinenko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Daniel Borkmann <[email protected]> Acked-by: Edward Cree <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions