lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 21 Jul 2019 13:33:32 -0700 (PDT) From: David Miller <davem@...emloft.net> To: p.kosyh@...il.com Cc: dsa@...ulusnetworks.com, shrijeet@...il.com, netdev@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH v2] vrf: make sure skb->data contains ip header to make routing From: Peter Kosyh <p.kosyh@...il.com> Date: Fri, 19 Jul 2019 11:11:47 +0300 > vrf_process_v4_outbound() and vrf_process_v6_outbound() do routing > using ip/ipv6 addresses, but don't make sure the header is available > in skb->data[] (skb_headlen() is less then header size). > > Case: > > 1) igb driver from intel. > 2) Packet size is greater then 255. > 3) MPLS forwards to VRF device. > > So, patch adds pskb_may_pull() calls in vrf_process_v4/v6_outbound() > functions. > > Signed-off-by: Peter Kosyh <p.kosyh@...il.com> Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists