Re: [PATCH v2 09/13] mm/migrate_device: fix use-after-free of the anon rmap

From: Chris Down

Date: Sat Nov 14 2026 - 14:58:47 EST


Hi Lorenzo,

Thanks! I've tested this with test_hmm evicting its device memory while
the pages are being unmapped, and with this applied KASAN is quiet
again.

Reviewed-by: Chris Down <chris@xxxxxxxxxxxxxx>
Tested-by: Chris Down <chris@xxxxxxxxxxxxxx>

Chris