summaryrefslogtreecommitdiffstats
path: root/net/ipv6/inet6_hashtables.c
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2008-03-27 16:08:03 -0700
committerDavid S. Miller <davem@davemloft.net>2008-03-27 16:08:03 -0700
commit920fc941a9617f95ccb283037fe6f8a38d95bb69 (patch)
tree1de9a439eec25d514f25254320ded076f5fd8144 /net/ipv6/inet6_hashtables.c
parent732c8bd590625e8bc0b88313b82930e336b2bec4 (diff)
downloadblackbird-op-linux-920fc941a9617f95ccb283037fe6f8a38d95bb69.tar.gz
blackbird-op-linux-920fc941a9617f95ccb283037fe6f8a38d95bb69.zip
[ESP]: Ensure IV is in linear part of the skb to avoid BUG() due to OOB access
ESP does not account for the IV size when calling pskb_may_pull() to ensure everything it accesses directly is within the linear part of a potential fragment. This results in a BUG() being triggered when the both the IPv4 and IPv6 ESP stack is fed with an skb where the first fragment ends between the end of the esp header and the end of the IV. This bug was found by Dirk Nehring <dnehring@gmx.net> . Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/inet6_hashtables.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud