All of lore.kernel.org
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Taehee Yoo <ap420073@gmail.com>
Cc: davem@davemloft.net, kuba@kernel.org, dsahern@kernel.org,
	netdev@vger.kernel.org, tgraf@suug.ch, roopa@cumulusnetworks.com,
	jbenc@redhat.com
Subject: Re: [PATCH net] net: validate lwtstate->data before returning from skb_tunnel_info()
Date: Fri, 09 Jul 2021 21:00:03 +0000	[thread overview]
Message-ID: <162586440379.29766.5538397287024449704.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20210709173518.24696-1-ap420073@gmail.com>

Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Fri,  9 Jul 2021 17:35:18 +0000 you wrote:
> skb_tunnel_info() returns pointer of lwtstate->data as ip_tunnel_info
> type without validation. lwtstate->data can have various types such as
> mpls_iptunnel_encap, etc and these are not compatible.
> So skb_tunnel_info() should validate before returning that pointer.
> 
> Splat looks like:
> BUG: KASAN: slab-out-of-bounds in vxlan_get_route+0x418/0x4b0 [vxlan]
> Read of size 2 at addr ffff888106ec2698 by task ping/811
> 
> [...]

Here is the summary with links:
  - [net] net: validate lwtstate->data before returning from skb_tunnel_info()
    https://git.kernel.org/netdev/net/c/67a9c9431740

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



      reply	other threads:[~2021-07-09 21:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-09 17:35 [PATCH net] net: validate lwtstate->data before returning from skb_tunnel_info() Taehee Yoo
2021-07-09 21:00 ` patchwork-bot+netdevbpf [this message]

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=162586440379.29766.5538397287024449704.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=ap420073@gmail.com \
    --cc=davem@davemloft.net \
    --cc=dsahern@kernel.org \
    --cc=jbenc@redhat.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=roopa@cumulusnetworks.com \
    --cc=tgraf@suug.ch \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.