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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8ef2c46d-1521-7ed9-2687-814c8e40e926@cogentembedded.com>
Date:   Mon, 1 Oct 2018 14:29:36 +0300
From:   Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To:     Steffen Klassert <steffen.klassert@...unet.com>,
        David Miller <davem@...emloft.net>
Cc:     Herbert Xu <herbert@...dor.apana.org.au>, netdev@...r.kernel.org
Subject: Re: [PATCH 5/6] xfrm: Fix NULL pointer dereference when skb_dst_force
 clears the dst_entry.

On 10/01/2018 11:58 AM, Steffen Klassert wrote:

> Since commit 222d7dbd258d ("net: prevent dst uses after free")
> skb_dst_force() might clear the dst_entry attached to the skb.
> The xfrm code don't expect this to happen, so we crash with

   Doesn't.

> a NULL pointer dereference in this case. Fix it by checking
> skb_dst(skb) for NULL after skb_dst_force() and drop the packet
> in cast the dst_entry was cleared.

   In case?

> Fixes: 222d7dbd258d ("net: prevent dst uses after free")
> Reported-by: Tobias Hommel <netdev-list@...oetigt.de>
> Reported-by: Kristian Evensen <kristian.evensen@...il.com>
> Reported-by: Wolfgang Walter <linux@...m.de>
> Signed-off-by: Steffen Klassert <steffen.klassert@...unet.com>
[...]

MBR, Sergei

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ