Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: possible use after free in dst_release
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: d69bbf8 ("net: fix a race in dst_release()") Fixes: 27b75c9 ("net: avoid RCU for NOCACHE dst") Signed-off-by: Francesco Ruggeri <[email protected]> Acked-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information