On Mon, Mar 25, 2024 at 11:33:31AM +0100, David Hildenbrand wrote: > ... I have similar patches lying around here (see bwlow). I added some > actual access permission checks. > > (I also realized, that if we get an anon folio in a COW mapping via follow_pte() > here, I suspect one might be able to do some nasty things. Just imagine if we > munmap(), free the anon folio, and then it gets used in other context ... At > least KVM/vfio handle that using references+MMU notifiers.) How about you just send out your series that seems to go further and I retract mine?