Skip to content
Snippets Groups Projects
Commit 645f0d97 authored by hyeonsu9.lee's avatar hyeonsu9.lee Committed by Hyeonsu Lee
Browse files

sprat: gpu : Add security patch (CVE-2016-2468)


An elevation of privilege vulnerability in the Qualcomm video driver & GPU driver could enable a local malicious application
to execute arbitrary code within the context of the kernel.

This issue is rated as Critical severity due to the possibility of a local permanent device compromise,
which may require reflashing the operating system to repair the device.

Change-Id: I76e7e1522b50ac8f5d4f1bce72103ea7fe22d347
Signed-off-by: default avatarhyeonsu9.lee <hyeonsu9.lee@samsung.com>
parent 32f905b3
No related merge requests found
...@@ -576,6 +576,10 @@ _kgsl_sharedmem_page_alloc(struct kgsl_memdesc *memdesc, ...@@ -576,6 +576,10 @@ _kgsl_sharedmem_page_alloc(struct kgsl_memdesc *memdesc,
unsigned int align; unsigned int align;
int step = ((VMALLOC_END - VMALLOC_START)/8) >> PAGE_SHIFT; int step = ((VMALLOC_END - VMALLOC_START)/8) >> PAGE_SHIFT;
size = PAGE_ALIGN(size);
if (size == 0 || size > UINT_MAX)
return -EINVAL;
align = (memdesc->flags & KGSL_MEMALIGN_MASK) >> KGSL_MEMALIGN_SHIFT; align = (memdesc->flags & KGSL_MEMALIGN_MASK) >> KGSL_MEMALIGN_SHIFT;
page_size = get_page_size(size, align); page_size = get_page_size(size, align);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment