https://github.com/torvalds/linux
Revision 07a5d38453599052aff0877b16bb9c1585f08609 authored by Francesco Ruggeri on 06 January 2016, 08:18:48 UTC, committed by David S. Miller on 06 January 2016, 20:00:27 UTC
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>
1 parent 73c20a8
History
Tip revision: 07a5d38453599052aff0877b16bb9c1585f08609 authored by Francesco Ruggeri on 06 January 2016, 08:18:48 UTC
net: possible use after free in dst_release
Tip revision: 07a5d38
File Mode Size
Makefile -rw-r--r-- 101 bytes
decode_rs.c -rw-r--r-- 6.8 KB
encode_rs.c -rw-r--r-- 1.3 KB
reed_solomon.c -rw-r--r-- 11.7 KB

back to top