aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-03-23 15:39:21 -0400
committerDavid S. Miller <davem@davemloft.net>2017-03-24 00:28:13 -0400
commit48481c8fa16410ffa45939b13b6c53c2ca609e5f (patch)
treef5cfccdad2c1fec0ac88053fd1e8299c0b7dc44b /mm/page_alloc.c
parentf35ec35e5e726e7137deaee0dec24f8cbf07a48f (diff)
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 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions