summaryrefslogtreecommitdiff
path: root/include/linux/ceph/buffer.h
diff options
context:
space:
mode:
authorFrancesco Ruggeri <fruggeri@aristanetworks.com>2016-01-06 00:18:48 -0800
committerLuis Henriques <luis.henriques@canonical.com>2016-01-25 10:44:06 +0000
commit1490200871862cc4b7dba63c12fd645c82dfb376 (patch)
tree428c1858f982b2420933dd1df6095d46d549c842 /include/linux/ceph/buffer.h
parentfd610413a761a46476a0f207168aa0d9cc39d440 (diff)
net: possible use after free in dst_release
commit 07a5d38453599052aff0877b16bb9c1585f08609 upstream. dst_release should not access dst->flags after decrementing __refcnt to 0. The dst_entry may be in dst_busy_list and dst_gc_task may dst_destroy it before dst_release gets a chance to access dst->flags. Fixes: d69bbf88c8d0 ("net: fix a race in dst_release()") Fixes: 27b75c95f10d ("net: avoid RCU for NOCACHE dst") Signed-off-by: Francesco Ruggeri <fruggeri@arista.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> [ luis: backported to 3.16: adjusted context ] Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux/ceph/buffer.h')
0 files changed, 0 insertions, 0 deletions