Messages in this thread | | | Date | Fri, 18 Nov 2016 02:19:45 +0300 | From | "Kirill A. Shutemov" <> | Subject | Re: [PATCH 1/9] mm: khugepaged: close use-after-free race during shmem collapsing |
| |
On Thu, Nov 17, 2016 at 02:11:30PM -0500, Johannes Weiner wrote: > When a radix tree iteration drops the tree lock, another thread might > swoop in and free the node holding the current slot. The iteration > needs to do another tree lookup from the current index to continue. > > [kirill.shutemov@linux.intel.com: re-lookup for replacement] > Fixes: f3f0e1d2150b ("khugepaged: add support of collapse for tmpfs/shmem pages") > Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
-- Kirill A. Shutemov
| |