summaryrefslogtreecommitdiff
path: root/drivers/ata/ahci_mvebu.c
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2017-11-02 08:10:17 +0100
committerSteffen Klassert <steffen.klassert@secunet.com>2017-11-03 13:02:41 +0100
commitc9f3f813d462c72dbe412cee6a5cbacf13c4ad5e (patch)
tree5cf9469a3b411befeb91cfd3f34170b92e2a8356 /drivers/ata/ahci_mvebu.c
parentcf37966751747727629fe51fd4a1d4edd8457c60 (diff)
xfrm: Fix stack-out-of-bounds read in xfrm_state_find.
When we do tunnel or beet mode, we pass saddr and daddr from the template to xfrm_state_find(), this is ok. On transport mode, we pass the addresses from the flowi, assuming that the IP addresses (and address family) don't change during transformation. This assumption is wrong in the IPv4 mapped IPv6 case, packet is IPv4 and template is IPv6. Fix this by using the addresses from the template unconditionally. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'drivers/ata/ahci_mvebu.c')
0 files changed, 0 insertions, 0 deletions