From: gfree.wind@vip.163.com
To: maheshb@google.com, davem@davemloft.net, netdev@vger.kernel.org
Cc: Gao Feng <gfree.wind@vip.163.com>
Subject: [PATCH net 0/2] ipvlan: Fix insufficient skb linear check
Date: Thu, 23 Nov 2017 11:47:10 +0800 [thread overview]
Message-ID: <cover.1511408046.git.gfree.wind@vip.163.com> (raw)
From: Gao Feng <gfree.wind@vip.163.com>
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(-)
--
1.9.1
next reply other threads:[~2017-11-23 3:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-23 3:47 gfree.wind [this message]
2017-11-23 3:47 ` [PATCH net 1/2] ipvlan: Fix insufficient skb linear check for arp gfree.wind
2017-11-23 3:47 ` [PATCH net 2/2] ipvlan: Fix insufficient skb linear check for ipv6 icmp gfree.wind
2017-11-23 18:37 ` [PATCH net 0/2] ipvlan: Fix insufficient skb linear check David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1511408046.git.gfree.wind@vip.163.com \
--to=gfree.wind@vip.163.com \
--cc=davem@davemloft.net \
--cc=maheshb@google.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).