aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorJann Horn <[email protected]>2023-08-25 15:32:41 +0200
committerDavid S. Miller <[email protected]>2023-08-28 10:15:56 +0100
commit977ad86c2a1bcaf58f01ab98df5cc145083c489c (patch)
tree9dc2b01ca19fed1db648ac231e9a67a1ef156dc6 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent72dd7e427e16fca901daaa399e4b0893c3bb85c0 (diff)
dccp: Fix out of bounds access in DCCP error handler
There was a previous attempt to fix an out-of-bounds access in the DCCP error handlers, but that fix assumed that the error handlers only want to access the first 8 bytes of the DCCP header. Actually, they also look at the DCCP sequence number, which is stored beyond 8 bytes, so an explicit pskb_may_pull() is required. Fixes: 6706a97fec96 ("dccp: fix out of bound access in dccp_v4_err()") Fixes: 1aa9d1a0e7ee ("ipv6: dccp: fix out of bound access in dccp_v6_err()") Cc: [email protected] Signed-off-by: Jann Horn <[email protected]> Reviewed-by: Kuniyuki Iwashima <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions