[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170323.212849.796880770292613157.davem@davemloft.net>
Date: Thu, 23 Mar 2017 21:28:49 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: edumazet@...gle.com, dvyukov@...gle.com, xiyou.wangcong@...il.com,
herbert@...dor.apana.org.au, ast@...nel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
syzkaller@...glegroups.com
Subject: Re: [PATCH net] net: neigh: guard against NULL solicit() method
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 23 Mar 2017 12:39:21 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> Dmitry posted a nice reproducer of a bug triggering in neigh_probe()
> when dereferencing a NULL neigh->ops->solicit method.
>
> This can happen for arp_direct_ops/ndisc_direct_ops and similar,
> which can be used for NUD_NOARP neighbours (created when dev->header_ops
> is NULL). Admin can then force changing nud_state to some other state
> that would fire neigh timer.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: Dmitry Vyukov <dvyukov@...gle.com>
Applied and queued up for -stable, thanks Eric.
Powered by blists - more mailing lists