Re: [PATCH 2/2] DSPBRIDGE: introduce VMA checking for cache operation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "ext Ramirez Luna, Omar" <omar.ramirez@xxxxxx>
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.DOYU@xxxxxxxxx]
> >Sent: Wednesday, July 22, 2009 3:23 AM
> >To: linux-omap@xxxxxxxxxxxxxxx
> >Cc: Menon, Nishanth; ameya.palande@xxxxxxxxx; 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.DOYU@xxxxxxxxx>
> >---
> > 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux