diff options
author | Eric Dumazet <edumazet@google.com> | 2017-03-23 22:39:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-24 07:28:13 +0300 |
commit | 48481c8fa16410ffa45939b13b6c53c2ca609e5f (patch) | |
tree | f5cfccdad2c1fec0ac88053fd1e8299c0b7dc44b /.gitignore | |
parent | f35ec35e5e726e7137deaee0dec24f8cbf07a48f (diff) | |
download | linux-48481c8fa16410ffa45939b13b6c53c2ca609e5f.tar.xz |
net: neigh: guard against NULL solicit() method
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@google.com>
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions