mbox series

[v1,net,0/5] ip: Fix warning in pskb_may_pull_reason() for tunnel devices.

Message ID 20240415222041.18537-1-kuniyu@amazon.com (mailing list archive)
Headers show
Series ip: Fix warning in pskb_may_pull_reason() for tunnel devices. | expand

Message

Kuniyuki Iwashima April 15, 2024, 10:20 p.m. UTC
syzkaller reported warnings in pskb_may_pull_reason(), which was
triggered by a VLAN packet sent over tunnel devices.

This series fixes the warning for sit, vti, vti6, ipip, and ip6tnl.


Kuniyuki Iwashima (5):
  sit: Pull header after checking skb->protocol in sit_tunnel_xmit().
  vti: Pull header after checking skb->protocol in vti_tunnel_xmit().
  ip6_vti: Pull header after checking skb->protocol in vti6_tnl_xmit().
  ipip: Pull header after checking skb->protocol in ipip_tunnel_xmit().
  ip6_tunnel: Pull header after checking skb->protocol in
    ip6_tnl_start_xmit().

 net/ipv4/ip_vti.c     | 9 ++++++---
 net/ipv4/ipip.c       | 6 +++---
 net/ipv6/ip6_tunnel.c | 9 ++++++---
 net/ipv6/ip6_vti.c    | 9 ++++++---
 net/ipv6/sit.c        | 9 ++++++---
 5 files changed, 27 insertions(+), 15 deletions(-)