Skip to content

ipvlan: Fix insufficient skb linear check

[email protected] netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ipvlan: Fix insufficient skb linear check for arpdrivers/net/ipvlan/ipvlan_core.c+8 -80 replies
2/2ipvlan: Fix insufficient skb linear check for ipv6 icmpdrivers/net/ipvlan/ipvlan_core.c+19 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/2] ipvlan: Fix insufficient skb linear check

From: Gao Feng <[email protected]>

The current ipvlan codes use pskb_may_pull to get the skb linear header in func ipvlan_get_L3_hdr, but the size isn't enough for arp and ipv6 icmp. So it may access the unexpected momory in ipvlan_addr_lookup.

Gao Feng (2):
ipvlan: Fix insufficient skb linear check for arp
ipvlan: Fix insufficient skb linear check for ipv6 icmp

 drivers/net/ipvlan/ipvlan_core.c | 36 +++++++++++++++++++++++++++---------
 1 file changed, 27 insertions(+), 9 deletions(-)
Signature · 1 line
1.9.1