aboutsummaryrefslogtreecommitdiff
path: root/kernel/debug
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-11-02 19:00:40 -0700
committerMister Oyster <oysterized@gmail.com>2017-04-11 10:58:45 +0200
commitdf7692a7d469c51f3b93b1487ae02debfbb6937d (patch)
tree1eb2ae2daa2b7ebd13a49f9859bad4d0be6b6eaf /kernel/debug
parent6a8d42c362294d756639d58deaaf9b8201b91dd2 (diff)
dccp: fix out of bound access in dccp_v4_err()
commit 6706a97fec963d6cb3f7fc2978ec1427b4651214 upstream. dccp_v4_err() does not use pskb_may_pull() and might access garbage. We only need 4 bytes at the beginning of the DCCP header, like TCP, so the 8 bytes pulled in icmp_socket_deliver() are more than enough. This patch might allow to process more ICMP messages, as some routers are still limiting the size of reflected bytes to 28 (RFC 792), instead of extended lengths (RFC 1812 4.3.2.3) Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'kernel/debug')
0 files changed, 0 insertions, 0 deletions