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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <162586440379.29766.5538397287024449704.git-patchwork-notify@kernel.org>
Date:   Fri, 09 Jul 2021 21:00:03 +0000
From:   patchwork-bot+netdevbpf@...nel.org
To:     Taehee Yoo <ap420073@...il.com>
Cc:     davem@...emloft.net, kuba@...nel.org, dsahern@...nel.org,
        netdev@...r.kernel.org, tgraf@...g.ch, roopa@...ulusnetworks.com,
        jbenc@...hat.com
Subject: Re: [PATCH net] net: validate lwtstate->data before returning from
 skb_tunnel_info()

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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ