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: <61ca9aa7a9c9b1fa0e8973b2826e0115@mail.gmail.com>
Date:	Fri, 3 Apr 2015 18:32:18 -0700
From:	Alexei Potashnik <alexei@...estorage.com>
To:	Eric Dumazet <eric.dumazet@...il.com>
Cc:	Joern Engel <joern@...estorage.com>,
	"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org
Subject: RE: neigh use-after-free

Thanks. Will try.

> -----Original Message-----
> From: Eric Dumazet [mailto:eric.dumazet@...il.com]
>
>
> Please try following patch :
>
> diff --git a/net/core/neighbour.c b/net/core/neighbour.c index
> 3de6542560288b3896ab243879a7b4a9b098ca0d..3a2928332b31bfd421ca409ba
> 9bc4e82f82b3552 100644
> --- a/net/core/neighbour.c
> +++ b/net/core/neighbour.c
> @@ -957,7 +957,8 @@ int __neigh_event_send(struct neighbour *neigh,
> struct sk_buff *skb)
>  	rc = 0;
>  	if (neigh->nud_state & (NUD_CONNECTED | NUD_DELAY |
> NUD_PROBE))
>  		goto out_unlock_bh;
> -
> +	if (neigh->dead)
> +		goto out_unlock_bh;
>  	if (!(neigh->nud_state & (NUD_STALE | NUD_INCOMPLETE))) {
>  		if (NEIGH_VAR(neigh->parms, MCAST_PROBES) +
>  		    NEIGH_VAR(neigh->parms, APP_PROBES)) {
>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ