From: "ext Ramirez Luna, Omar" <omar.rami...@ti.com>
Subject: RE: [PATCH 2/2] DSPBRIDGE: introduce VMA checking for cache operation
Date: Tue, 4 Aug 2009 23:59:37 +0200

> Hi Doyu-san,
> 
> >From: Hiroshi DOYU [mailto:hiroshi.d...@nokia.com]
> >Sent: Wednesday, July 22, 2009 3:23 AM
> >To: linux-omap@vger.kernel.org
> >Cc: Menon, Nishanth; ameya.pala...@nokia.com; Ramirez Luna, Omar; Guzman 
> >Lugo, Fernando; Kanigeri,
> >Hari; Hiroshi DOYU
> >Subject: [PATCH 2/2] DSPBRIDGE: introduce VMA checking for cache operation
> >
> >Check if the given area blongs to process virtul memory address space.
> >
> >Signed-off-by: Hiroshi DOYU <hiroshi.d...@nokia.com>
> >---
> > drivers/dsp/bridge/rmgr/proc.c |   32 ++++++++++++++++++++++++++++++++
> > 1 files changed, 32 insertions(+), 0 deletions(-)
> >
> 
> Is this patch solving any specific issue?

Without this patch, there's quite serious risk that usreland
applications can cause kernel crash on purpose.

For exmaple, if you set NULL for "pMpuAddr", it always hits kernel
oops at v7_dma_*().

It's same to any other address which doesn't belong to the process
VMAs.

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to