Home
last modified time | relevance | path

Searched hist:"53 a5b4f2ea858482a427878bca988a7fa9b2ebdc" (Results 1 – 2 of 2) sorted by relevance

/linux/net/ipv4/
H A Dxfrm4_input.cdiff 53a5b4f2ea858482a427878bca988a7fa9b2ebdc Fri Oct 20 10:05:55 CEST 2023 Steffen Klassert <steffen.klassert@secunet.com> xfrm Fix use after free in __xfrm6_udp_encap_rcv.

A recent patch changed xfrm6_udp_encap_rcv to not
free the skb itself anymore but fogot the case
where xfrm4_udp_encap_rcv is called subsequently.

Fix this by moving the call to xfrm4_udp_encap_rcv
from __xfrm6_udp_encap_rcv to xfrm6_udp_encap_rcv.

Fixes: 221ddb723d90 ("xfrm: Support GRO for IPv6 ESP in UDP encapsulation")
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
/linux/net/ipv6/
H A Dxfrm6_input.cdiff 53a5b4f2ea858482a427878bca988a7fa9b2ebdc Fri Oct 20 10:05:55 CEST 2023 Steffen Klassert <steffen.klassert@secunet.com> xfrm Fix use after free in __xfrm6_udp_encap_rcv.

A recent patch changed xfrm6_udp_encap_rcv to not
free the skb itself anymore but fogot the case
where xfrm4_udp_encap_rcv is called subsequently.

Fix this by moving the call to xfrm4_udp_encap_rcv
from __xfrm6_udp_encap_rcv to xfrm6_udp_encap_rcv.

Fixes: 221ddb723d90 ("xfrm: Support GRO for IPv6 ESP in UDP encapsulation")
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>