summaryrefslogtreecommitdiff
path: root/arch/arc/mm
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2019-02-26 07:04:50 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-25 18:22:23 +0200
commit30bd4585bf149c8b20ed9080e0e92704ef5052e6 (patch)
tree5efb272f70ab83c676e6f74cd9fd016617766874 /arch/arc/mm
parent79fad8fd2b7664883d3c3ba9aa88937a56d70940 (diff)
xfrm4: Fix uninitialized memory read in _decode_session4
[ Upstream commit 8742dc86d0c7a9628117a989c11f04a9b6b898f3 ] We currently don't reload pointers pointing into skb header after doing pskb_may_pull() in _decode_session4(). So in case pskb_may_pull() changed the pointers, we read from random memory. Fix this by putting all the needed infos on the stack, so that we don't need to access the header pointers after doing pskb_may_pull(). Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/arc/mm')
0 files changed, 0 insertions, 0 deletions