aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorMathias Krause <[email protected]>2015-09-11 09:57:20 +0200
committerSteffen Klassert <[email protected]>2015-09-14 10:53:05 +0200
commit04a6b8bfee06e309be7e9ae4527cdab19c081761 (patch)
tree82e72d3ed231222243487b575887c2b974025a6d /scripts/gdb/linux/lists.py
parent93efac3f2e03321129de67a3c0ba53048bb53e31 (diff)
xfrm6: Fix ICMPv6 and MH header checks in _decode_session6
Ensure there's enough data left prior calling pskb_may_pull(). If skb->data was already advanced, we'll call pskb_may_pull() with a negative value converted to unsigned int -- leading to a huge positive value. That won't matter in practice as pskb_may_pull() will likely fail in this case, but it leads to underflow reports on kernels handling such kind of over-/underflows, e.g. a PaX enabled kernel instrumented with the size_overflow plugin. Reported-by: satmd <[email protected]> Reported-and-tested-by: Marcin Jurkowski <[email protected]> Signed-off-by: Mathias Krause <[email protected]> Cc: PaX Team <[email protected]> Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions