[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171101.212001.1105354934171345181.davem@davemloft.net>
Date: Wed, 01 Nov 2017 21:20:01 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: dsahern@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH net] ipv6: addrconf: increment ifp refcount before
ipv6_del_addr()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 30 Oct 2017 22:47:09 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> In the (unlikely) event fixup_permanent_addr() returns a failure,
> addrconf_permanent_addr() calls ipv6_del_addr() without the
> mandatory call to in6_ifa_hold(), leading to a refcount error,
> spotted by syzkaller :
...
> Fixes: f1705ec197e7 ("net: ipv6: Make address flushing on ifdown optional")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Cc: David Ahern <dsahern@...il.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists