netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 net 0/5] ip: Fix warning in pskb_may_pull_reason() for tunnel devices.
@ 2024-04-15 22:20 Kuniyuki Iwashima
  2024-04-15 22:20 ` [PATCH v1 net 1/5] sit: Pull header after checking skb->protocol in sit_tunnel_xmit() Kuniyuki Iwashima
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Kuniyuki Iwashima @ 2024-04-15 22:20 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	David Ahern
  Cc: Steffen Klassert, Herbert Xu, Willem de Bruijn, Kuniyuki Iwashima,
	Kuniyuki Iwashima, netdev

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(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-04-18 17:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-15 22:20 [PATCH v1 net 0/5] ip: Fix warning in pskb_may_pull_reason() for tunnel devices Kuniyuki Iwashima
2024-04-15 22:20 ` [PATCH v1 net 1/5] sit: Pull header after checking skb->protocol in sit_tunnel_xmit() Kuniyuki Iwashima
2024-04-18  2:04   ` Jakub Kicinski
2024-04-18  3:31     ` Kuniyuki Iwashima
2024-04-18  6:56       ` Eric Dumazet
2024-04-18  7:00         ` Eric Dumazet
2024-04-18  8:57           ` Paolo Abeni
2024-04-18 17:02             ` Kuniyuki Iwashima
2024-04-15 22:20 ` [PATCH v1 net 2/5] vti: Pull header after checking skb->protocol in vti_tunnel_xmit() Kuniyuki Iwashima
2024-04-15 22:20 ` [PATCH v1 net 3/5] ip6_vti: Pull header after checking skb->protocol in vti6_tnl_xmit() Kuniyuki Iwashima
2024-04-15 22:20 ` [PATCH v1 net 4/5] ipip: Pull header after checking skb->protocol in ipip_tunnel_xmit() Kuniyuki Iwashima
2024-04-15 22:20 ` [PATCH v1 net 5/5] ip6_tunnel: Pull header after checking skb->protocol in ip6_tnl_start_xmit() Kuniyuki Iwashima

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).