Re: [PATCH v3 1/2] dma-mapping: Add vmap checks to dma_map_single()

2019-10-11 Thread Robin Murphy
On 2019-10-11 6:02 am, Greg Kroah-Hartman wrote: On Thu, Oct 10, 2019 at 03:28:28PM -0700, Kees Cook wrote: As we've seen from USB and other areas[1], we need to always do runtime checks for DMA operating on memory regions that might be remapped. This adds vmap checks (similar to those already i

Re: [PATCH v3 1/2] dma-mapping: Add vmap checks to dma_map_single()

2019-10-10 Thread Greg Kroah-Hartman
On Thu, Oct 10, 2019 at 03:28:28PM -0700, Kees Cook wrote: > As we've seen from USB and other areas[1], we need to always do runtime > checks for DMA operating on memory regions that might be remapped. This > adds vmap checks (similar to those already in USB but missing in other > places) into dma_