]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
[POWERPC] spufs: avoid accessing kernel memory through mmapped /mem node
authorMasato Noguchi <Masato.Noguchi@jp.sony.com>
Tue, 13 Feb 2007 20:54:30 +0000 (21:54 +0100)
committerArnd Bergmann <arnd@klappe.arndb.de>
Tue, 13 Feb 2007 20:55:43 +0000 (21:55 +0100)
commit128b8546a83a9e37448bc126e1045dc1db291165
tree01281bb501601f643f50210314bcc31f44f5dcf7
parent2eb1b12049844a8ebc670e0e4fc908bc3f8933d3
[POWERPC] spufs: avoid accessing kernel memory through mmapped /mem node

I found an exploit in current kernel.
Currently, there is no range check about mmapping "/mem" node in
spufs. Thus, an application can access privilege memory region.

In case this kernel already worked on a public server, I send this
information only here.
If there are such servers in somewhere, please replace it, ASAP.

Signed-off-by: Masato Noguchi <Masato.Noguchi@jp.sony.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
arch/powerpc/platforms/cell/spufs/file.c