summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorJann Horn <jannh@google.com>2023-08-25 15:32:41 +0200
committerDavid S. Miller <davem@davemloft.net>2023-08-28 10:15:56 +0100
commit977ad86c2a1bcaf58f01ab98df5cc145083c489c (patch)
tree9dc2b01ca19fed1db648ac231e9a67a1ef156dc6 /samples
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: stable@vger.kernel.org Signed-off-by: Jann Horn <jannh@google.com> Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions