Hi Jay, On Tue, Oct 13, 2015 at 04:52:43AM -0500, Jay Cornwall wrote: > handle_mm_fault indirectly triggers a BUG in do_numa_page when given > a VMA without read/write/execute access. Check this condition in do_fault. > > do_fault -> handle_mm_fault -> handle_pte_fault -> do_numa_page > > mm/memory.c > 3147 static int do_numa_page(struct mm_struct *mm, struct vm_area_st... > .... > 3159 /* A PROT_NONE fault should not end up here */ > 3160 BUG_ON(!(vma->vm_flags & (VM_READ | VM_EXEC | VM_WRITE)));
Thanks for the fix! Next time please Cc me directly on patches for AMD IOMMU code, so I see your patches earlier. Also this looks relevant for stable, can you find out which stable kernels need this fix too? Thanks, Joerg _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu