[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190712.154047.1787144778692165503.davem@davemloft.net>
Date: Fri, 12 Jul 2019 15:40:47 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: lorenzo.bianconi@...hat.com
Cc: netdev@...r.kernel.org, dsahern@...il.com, marek@...udflare.com
Subject: Re: [PATCH net] net: neigh: fix multiple neigh timer scheduling
From: Lorenzo Bianconi <lorenzo.bianconi@...hat.com>
Date: Fri, 12 Jul 2019 19:22:51 +0200
> Neigh timer can be scheduled multiple times from userspace adding
> multiple neigh entries and forcing the neigh timer scheduling passing
> NTF_USE in the netlink requests.
> This will result in a refcount leak and in the following dump stack:
...
> Fix the issue unscheduling neigh_timer if selected entry is in 'IN_TIMER'
> receiving a netlink request with NTF_USE flag set
>
> Reported-by: Marek Majkowski <marek@...udflare.com>
> Fixes: 0c5c2d308906 ("neigh: Allow for user space users of the neighbour table")
> Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@...hat.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists